1

Closed

nuget pack: Specifying SolutionDir in properties gives Exception: An item with the same key has already been added

description

It seems to me it should be possible to override arbitrary msbuild parameters via the nuget pack command.

Specifically, by some weird reason in a TeamCity build SolutionDir is set up incorrectly. An attempt to override this leads to the Exception, which seems to me happens when you use the Add(key, value) on a .NET Dictionary instead of doing dict[key] = value
Closed Feb 22, 2013 at 7:36 PM by RanjiniM
No repro provided

comments

JeffHandley wrote Mar 16, 2012 at 6:44 PM

Any chance you can provide more info or repro steps to arrive here?

Possibly related: nuget.codeplex.com/workitem/1939