web.config and web.config.transform in a csproj

Aug 11, 2011 at 11:01 AM

Im having problems with creating packages from a project (csproj) that has a web.config AND a web.config.transform. Im trying to exlude the "web.config" when packing (-e web.config), but somehow "nuget.exe" converts my "web.config" to "web.config.transform" and does not let me add my custom "web.config.transform" (gives me 'Cannot add part for the specified URI because it is already in the package.' error message)

 

I have created a workitem: http://nuget.codeplex.com/workitem/1310 but maybe I'm the only one with this problem?