tagged [tfs]
How to set default encoding of source file to UTF-8 in VS.NET 2005
How to set default encoding of source file to UTF-8 in VS.NET 2005 I use Chinese in my comments and configs. And after I auto merge and check in source files, they become messy codes. I guess the reas...
How to set test category for all tests in the class
How to set test category for all tests in the class I am using [MSTest](https://en.wikipedia.org/wiki/MSTest), and I want to set the same test category for all methods in test class at once, without s...
- Modified
- 19 Nov at 15:34
TFS error: item has pending changes but does not exist locally
TFS error: item has pending changes but does not exist locally The following TFS error occurs using Visual Studio 2013 to interface to TFS (TFS apparently also carries the version of Visual Studio wit...
- Modified
- 10 Feb at 19:43
Programmatically get a diff between two versions of a file in TFS
Programmatically get a diff between two versions of a file in TFS I'm trying to write a code which, given a path to an item in the TFS repository and two revisions, would compute a difference between ...
Git in Visual Studio - add existing project?
Git in Visual Studio - add existing project? I'm trying to put an existing project under Git source control, but I'm unclear on several things. I have set up a 'Team Foundation Service' Git account on...
- Modified
- 14 Jun at 20:25
visual studio 2010 conditional references
visual studio 2010 conditional references We have multiple products here that shared some common libraries. These libraries are part of a separate solution (so they can be built by TFS independently),...
- Modified
- 3 Sep at 17:45
.tfignore is not ignoring files
.tfignore is not ignoring files I have a .tfIgnore file like below whihc is already checked-in I would expect that everyfile which is match with `.autogen.cs` be ignored. But the problem is when files...
- Modified
- 1 Mar at 16:43
Tfs online and Install .pfx
Tfs online and Install .pfx ``` Unable to build the assembly: C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ amd64 \ Microsoft.Common.CurrentVersion.targets (2696): Cannot import the following key ...
- Modified
- 13 Mar at 14:36
Microsoft.CSharp.Core.targets missing
Microsoft.CSharp.Core.targets missing I am building a webservice project on a TFS2017 Update 3 with build tools 2017. I get the following error > C:\Program Files (x86)\Microsoft Visual Studio\2017\E...
- Modified
- 18 Sep at 14:34
Retrieving work items and their linked work items in a single query using the TFS APIs
Retrieving work items and their linked work items in a single query using the TFS APIs Does anyone know if it is possible to retrieve a list of work items and their in one trip from TFS using their TF...
Relative path on unit test project c#
Relative path on unit test project c# I have a solution which has a console application and unit test. The Validator is located at the console application project, while my
- Modified
- 5 Jul at 03:4
Trying to get who wrote the code by looking at a given file name and its line number on a project by using TFS
Trying to get who wrote the code by looking at a given file name and its line number on a project by using TFS I am trying to write an small application that will use TFS API . I will have a method an...
- Modified
- 19 Jul at 08:55
C# 6.0 TFS Builds
C# 6.0 TFS Builds I'm trialing the new features of C# 6.0 within Visual Studio 2015 CTP and my project is failing to build in TFS 2013 and [Visual Studio Online](http://www.visualstudio.com/en-us/prod...
- Modified
- 2 Feb at 23:45
Unresolved reference to symbol 'Property:NETFRAMEWORK45' in section 'Product:*'
Unresolved reference to symbol 'Property:NETFRAMEWORK45' in section 'Product:*' I am getting an error when building an app in TFS 2010. Unresolved reference to symbol 'Property:NETFRAMEWORK45' in sect...
SGEN: An attempt was made to load an assembly with an incorrect format
SGEN: An attempt was made to load an assembly with an incorrect format I have a project that can build fine on my local machine, however, when I get TFS to build it, I receive the following error - SG...
TFS and referenced DLLs
TFS and referenced DLLs We are using TFS and VS 2010. I have been working on a project that is using TFS as source control. I have quite a few dlls that I have downloaded (such as log4net) and referen...
- Modified
- 11 Jul at 15:5
How to ignore files/directories in TFS for avoiding them to go to central source repository?
How to ignore files/directories in TFS for avoiding them to go to central source repository? Is it possible to set up files/folders to ignore on a per-project basis in TFS source control? For example,...
- Modified
- 21 Jul at 23:20
Running TFS Build with C# 6.0 features
Running TFS Build with C# 6.0 features I just recently began using the `nameof()` operator of C# 6.0 in my projects. Now (upon check-in, duh...) I (or better: the build agent) refused to build the pro...
- Modified
- 27 Jul at 10:23
Unable to read data from the transport connection - TFS Issue
Unable to read data from the transport connection - TFS Issue I am having an issue regarding Team Foundation Server where i am getting the error 'Unable to read data from the transport connection: An ...
- Modified
- 10 Jul at 11:11
Every time I open my VS solution I get “Projects have recently been added to this solution. Do you want to get them from source control?”
Every time I open my VS solution I get “Projects have recently been added to this solution. Do you want to get them from source control?” I don't know exactly how, but on a certain moment we ruined ou...
- Modified
- 12 Feb at 07:43
Add an EXE file to a project, so that it will be copied to the Bin/Debug folder just like a DLL?
Add an EXE file to a project, so that it will be copied to the Bin/Debug folder just like a DLL? I need my C# project to launch another EXE program during execution. This executable needs to be placed...
- Modified
- 10 Sep at 20:43
Using VSTest to run unit test cases instead of MSTest
Using VSTest to run unit test cases instead of MSTest I have an x64 platform C# solution(VS2012) on a TFS2010 server. I have attached a unit test project (also x64) to this solution and created a buil...
- Modified
- 1 Jul at 12:7
How do I create and use a symbol server?
How do I create and use a symbol server? I created a powershell script that gets all the pdb files from the drop location after the build is set to release and copies them to a folder that is shared o...
- Modified
- 6 Apr at 11:56
Error CS1056: Unexpected character '$' running the msbuild on a tfs continuous integration process
Error CS1056: Unexpected character '$' running the msbuild on a tfs continuous integration process I have a project that the framework is targeting `.NET Framework 4.6.1`, as part of the continuous in...
- Modified
- 23 Mar at 21:12