visual studio - How to keep VS2015 NuGet from adding packages to TFS -
vs2013 had bug nuget add packages pending changes, if told not .tfignore
. there workaround, doesn't work vs2015/nuget3, , nuget old tricks. there "nu" workaround? :-)
microsoft connect item: nuget adds packages tfs despite .tfignore
it looks fixed in version 3.2 rc of nuget visual studio 2015 extension - updating version worked me, @ least.
a discussion issue can found here recommended update nuget 3.1 3.2 rc.
update
version 3.2 of extension has been released (found here) includes fix.
clarification
to working need 2 things:
- a
nuget.config
file containingdisablesourcecontrolintegration
setting - a version of nuget visual studio 2015 extension respects
disablesourcecontrolintegration
setting (versions 3.2 onward should work)
as indicated in docs:
nuget first loads nuget.config default location, loads file named nuget.config starting root of current drive , ending in current directory.
this means can specify <solution><add key="disablesourcecontrolintegration" value="true" /></solution>
in default config file user profile (found @ %appdata%\nuget\nuget.config
) or in nuget config file in solution directory, e.g., \mysolution\.nuget\nuget.config
.
Comments
Post a Comment