I was happy with disableSourceControlIntegration = true (and /packages/ not checked-in to TFS) in server workspace.
Now I decided to try local workspace and boom - it finds thousands of 'Detected Changes' in /packages/, which should be ignored because of disableSourceControlIntegration = true in my NuGet.Config
Anyone got local workspace and package restore working together?
I believe that adding .tfignore is a really bad option.
Btw, I'm using VS13.
In your solution directory root, create a folder called .nuget
and add a nuget.config
with 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 might also need to close/reopen Visual Studio and have to revert pending changes in TFS Source Control for your \packages
folder (if you have pending additions).