Re-establish TFS source control bindings

You say you’ve tried undoing the binding, but have you tried rebinding back to source control? In Visual Studio: Open a solution with the problem Choose the solution in Solution Explorer Pick File->Source Control->Change Source Control Visual Studio 2013/2015: File->Source Control->Advanced->Change Source Control Unbind any projects that are bound but not working correctly. Bind all … Read more

Visual Studio: can I copy a project’s properties to use in another project?

Try using Property Sheets. These can create a single properties file that can be inherited by multiple projects. Use “View > Other Windows > Property Manager” to bring up the Property Manager. It will show your projects and configurations. Right click a configuration, and select “Add New Project Property Sheet…”. You can name it, and … Read more

How can I get TFS2010 to run MSDEPLOY for me through MSBUILD?

IIS7 + related answer …. Ok – here’s what I ended up doing. More or less, following the post by Simon Weaver in this thread/question. But when it comes to the MSBuild settings .. most people here are using following setting: /p:MSDeployPublishMethod=RemoteAgent which is NOT RIGHT for IIS7. Using this setting means TFS tries to … Read more

Installation of Visual Studio 2010 (any edition) installs only 2 files in the C++ headers directory

The solution to this problem is as follows. It is based on the solution given in http://connect.microsoft.com/VisualStudio/feedback/details/774158/re-installed-visual-studio-2010-and-c-standard-headers-are-missing Uninstall Visual Studio 2010. Uninstall Visual Studio 2010 SP1 (despite the warning it gives). Open Registry Editor (regedit). Search for keys named PaddedVersion Remove any parent keys VisualStudio\10.0\VC\Libraries, or similar (note the version number 10.0, which corresponds to … Read more

How can I use PowerShell with the Visual Studio Command Prompt?

Stealing liberally from blog post Replace Visual Studio Command Prompt with PowerShell, I was able to get this to work. I added the following to my profile.ps1 file and all is well with the world. pushd ‘c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC’ cmd /c “vcvarsall.bat&set” | foreach { if ($_ -match “=”) { $v = … Read more