Is there a way to get the Package Restore feature to work when the .sln doesn't exist?

Topics: General
Jan 20, 2015 at 5:56 PM
Edited Jan 20, 2015 at 5:57 PM
I'm creating a large number of C# tutorials and we plan to zip each the individual project without a solution file .sln for distribution; just the project directory and with it's .csproj file. Package restore doesn't work in this scenario. When you open the project file, visual studio auto-creates a solution for you but package restore doesn't kick in. If you save the auto-generated solution, close and then re-open it then package restore finally kicks in.

Is there a way to get Package Restore to download the packages without a solution file?