Tuesday, 15 March 2011

Visual Studio local workspace + Enable Nuget Package Restore (disableSourceControlIntegration) -



Visual Studio local workspace + Enable Nuget Package Restore (disableSourceControlIntegration) -

i happy disablesourcecontrolintegration = true (and /packages/ not checked-in tfs) in server workspace.

now decided seek local workspace , boom - finds thousands of 'detected changes' in /packages/, should ignored because of disablesourcecontrolintegration = true in nuget.config

anyone got local workspace , bundle restore working together? believe adding .tfignore bad option. btw, i'm using vs13.

in solution directory root, create folder called .nuget , add together nuget.config next contents.

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

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

you might need close/reopen visual studio , have revert pending changes in tfs source command \packages folder (if have pending additions).

visual-studio visual-studio-2012 tfs nuget nuget-package-restore

No comments:

Post a Comment