Visual Studio Local Workspace + Enable Nuget Package Recovery (disableSourceControlIntegration)

I was pleased with disableSourceControlIntegration = true (and / packages / not checked-in to TFS) in the server workspace.

Now I decided to try the local workspace and boom - it detects thousands of “detected changes” in / packages / that should be ignored due to disableSourceControlIntegration = true in my NuGet.Config

Has anyone got local workspace and package recovery together? I think adding .tfignore is a very bad option. By the way, I am using VS13.

+3
source share
1 answer

In your root solutions directory, create a folder with the name .nugetand add nuget.configwith the following contents.

<configuration>
  <solution>
    <add key="disableSourceControlIntegration" value="true" />
  </solution>
</configuration>

Additional configuration settings can be found here: https://docs.nuget.org/docs/reference/nuget-config-settings

You may also need to close / reopen Visual Studio and revert the pending changes to TFS Source Control for your folder \packages(if you have pending additions).

+5
source

All Articles