How to change the Created By field on a Work Item in TFS?
Is there a way to change the Created By field on a work item in TFS? Maybe by altering the database?
I want to be able to create a bug/feature/PBI, then change it to be created by the member of staff who reported it to me.
This way, I can track who is submitted change requests, and they would also then receive bug update notifications.
See also questions close to this topic
What are the advantages of hosting your API(s) and IdentityServer4 host separately (C#, .NET CORE)?
Perhaps the question I am about to ask is very obvious and simple, but as a beginner in IdentityServer4 and more or less in oAuth2, OpenID and API's in general, I find it quite hard to understand.
Our company's goal is to move to a more secure application building way (Visual Studio 2017, C#, .NET Core 2) using Authentication and Authorization. After some days of research I ended up with using IdentityServer4 (also because the documentation is really great).
After following the IdentityServer Documentation (https://media.readthedocs.org/pdf/identityserver4/release/identityserver4.pdf) up till chapter 7, I have one remaining.
I am trying to build a MVC application (web) with an API backend for retrieving / inserting the data so that I can later use the API for other applications, like a SPA / Xamarin application. For the IdentityServer host I went for IdentityServer with asp.net identity. I got it running and it all works great, however the following question remains:
What are the disadvantages of hosting my API, in which I want to handle Database operations, together with the IdentityServer host? It doesn't seem logical to me to have so many different projects while (so far as I can tell) these 2 (the API and IdentityServer host) can be joined together perfectly fine.
In (almost) all the examples found of IdentityServer4 the IdentityServer host and API's are separate projects, what are the advantages of hosting the two as separate projects.
How to disable shortening in c++ (4564.522E-541)
may someone asked this, but I didn't find it.. what to do if I need to see full number but in c++ I get this result for ex.: 1.546e-16
Is it possible to run CodeCoverage from Microsoft, with GTest, on a Release compilation?
I have a UnityTest.exe built on Release version, which uses GTest as UnityTest Framework. And I run the following command line:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe" collect /output:codeCoverage.coverage UnityTests.exe --gtest_output=xml:gtestresults.xml
When I run this command the prompt simply stops, it doesn't give any messages. I left it running many hours but nothing happens, I can only force it to end execution (Ctrl+C). But if it's built as a Debug version, the coverage runs as it should.
So, my doubts are:
- Should the coverage work on a Release version?
- If yes, why is it not working in above case?
tfs merge is missing new code
In my default collection, I have a team project. In that team project, I have 2 branches : PROD and DEV. Lately, I've been working on DEV mainly. So since the number of changesets are common between PROD and DEV, I have the current issue :
One of the file has a changeset number in PROD (2470) is lower than the one in DEV (2539) (from what I can see in the merge tool)
When I did a merge from PROD to DEV, the first time, TFS did not see that the file needed to be merged.
I had a lot of compilation errors. So I had to modify the file in DEV, do a check-in and then, during the merge, TFS saw it and asked me in the resolve conflicts tab to deal with the file.
in the merge tool, all the new code in DEV are overwritten by the code in PROD. I don't understand ! For example, the file in DEV has some new using directives. But the merge tool removed them because it's picking the PROD file. So most of the new code is hidden by the lower changeset.
What's going on ? I am afraid to merge or using TFS now !
Did you have a similar problem ? What can I do ?
How do I limit what versions of Visual Studio are allowed to connect to TFS / TFVC?
We have seen issues in the past when developers use an old version of Visual Studio for checking files in and out of TFVC. ("Old" in this case being several releases older than the TFS on the server.)
We would like to configure something on our TFS server that would prohibit connections by old versions of Visual Studio. Is this possible?
Is it possible for me to access a specific MSBuild argument from within a XAML build template?
first time posting so apologies in advance.
I'm fairly new to builds and have been challenged with the task of migrating some old 2010 builds in preparation for a move to TFS 2015 at the company I work for.
I have been mostly successful, but have had to resort to Powershell to perform some tasks, as the solutions that are being built are so old. While this was easy enough to accomplish; I've hit a snag. We have several branches in our source control, and the builds I'm moving ideally need to able to run against any of them. Currently I'm having to create duplicate builds running duplicate Powershell scripts for each branch, because I'm having to explicitly define the folder structure in the Powershell script for each branch.
So what I'm trying to do is use an MSBuild Argument with the name of the branch in it so I can pass that as an argument in the build template to the Powershell script, meaning I can use one build for any of the branches. My only problem is I can't seem to work out how to access an individual build argument property and pass it to the script.
So, for example, if my build arguments are "p:/Branch=Development /p:Configuration=Release /p:/DeployOnBuild=true", is there any way in the XAML workflow I can access the value in the "Branch" parameter?
Apologies if I've waffled; If I can clear anything up then please let me know.
Thanks in advance.
Visual Studio Installer is not installing node.js
In Visual Studio Installer, I selected the Node.js development option. It runs successfully. But, if I try to run cmd node -v. It tells me node does not exist.
I tried a few other things including uninstalling and reinstalling the Node.js development option in VS Installer. Plus installing the latest version of node from the website.
However, when I try to run the pre-packed Angular solution that comes with VS 2017 I have issues. The solution will not even start.
I think the key is getting the Node.js development option installed correctly since I am able to run the pre-packed Angular solution on another PC and the Hot Module Replacement works fine.
Please let me know if anyone has any ideas on how to resolve.
How to put a picture anywhere I want in C++ application (not Window)?
I don't want to put picture as background. I want to put for example if cin value is 10 than show picture example.jpg: Output I want(for example):
This is a cat: /*picture of cat goes here*/
Visual studio Unknown build error, 'An item with the same key has already been added.'
I'm working on Visual Studio 2017 using C#/WPF and i have a project where i deleted my App.xaml file by accident. I searched for solutions and somebody told me to copy the files of the project, to delete the project and create a new one with the same name and paste the files of the old one, so i did this, and now, everytime i make a change on my code i got an Unknown build error, 'An item with the same key has already been added.' when i build the code once, and then when i build again it works all fine. It only happens once when i make changes to the code or when i open the project.
Tfs Extension for a specific project
Im pretty new in TFS and need to create a hub extension. The thing is I can't find a way to specify a collection project for the extension so it will exist only when this project is selected on the TFS and not for all projects. Maybe there is a way to specify this in the extension-manifest.json file?
How to Copy a Config From TFS to Staging Site using MS Build 2017
I want to copy my Config File Directly from TFS to Another Server where my site is hosted. How can i do it using TFS Build 2017. Which Task i need to add for this and what arguments i need to specify if any.
TFS 2017 Build only copy changed files
Have a small ASP.Net Web Application that is setup to build and release via TFS 2017 (Update 2) Continuous Integration and Deployment. It all seems to work well, I check in a code change and the change appears on our test server as expected.
However, when I review the build/release logs it's deploying all the files in my web application project as if they're new files. This includes images and the like that haven't changed.
How can I, a) restrict it to only deploy changed files, or b) only deploy the necessary web application files?
Below are the Build and Release Definitions in TFS, along with the Build and Release logs.
2018-03-13T21:46:56.8010920Z ##[section]Starting: Build 2018-03-13T21:46:56.8167174Z Current agent version: '2.117.2' 2018-03-13T21:46:57.5354799Z ##[section]Starting: Initialize Job ...
2018-03-13T07:49:31.8449259Z ##[section]Starting: Release 2018-03-13T07:49:31.8605444Z Current agent version: '2.117.2' 2018-03-13T07:49:32.6262832Z ##[section]Starting: Initialize Job ...