Is it possible to have nuspec and csproj in different directories?

Topics: General
Apr 30, 2013 at 12:11 AM
It appears there's no way to have the nuspec and csproj files in different directories when using Nuget.exe pack. Am I missing something?

Thanks,
Clint
Apr 30, 2013 at 3:19 PM
You can enter the full path to your csproject file in the pack command.
nuget.exe pack c:\myproject.csproj
Apr 30, 2013 at 8:46 PM
Edited Apr 30, 2013 at 8:46 PM
I tried specifying the full path to the csproj file, thinking nuget might pick up the nuspec file in the current directory but it doesn't appear to.
May 9, 2013 at 5:26 PM
sorry I misunderstood your question. I don't think it's possible today. Please feel free to create a feature request for this.
May 10, 2013 at 3:00 AM
It is possible. It happened to me a week ago accidentally. Nuget was picking up a nuspec in the repositories folder. So yes, it's possible. How? I have no idea.