Jan 22 at 5:19 PM
Edited Jan 23 at 12:06 AM
|
The documentation
states "Files in the content folder are copied to the root of your application when the package is installed", but I do not get that result on any package I try installing from the command line. For example, I installed Modernizr.2.5.3
successfully, but the payload did not get copied to "the root" of my application. Here is the command line I used:
c:\build\MySolution\.nuget\nuget install Modernizr -SolutionDirectory "C:\build\MySolution\MyProject" -OutputDirectory "C:\build\MySolution\runtime-packages"
This resulted in the payload being installed into the following location:
c:\build\MySolution\MyProject\runtime-packages\Modernizr.2.5.3\Content\Scripts\modernizr-2.5.3.js
But, according to the documentation, the path I expected to see was this:
C:\build\MySolution\MyProject\MyProject\Scripts\modernizr-2.5.3.js
Notice how the "Content" subfolder doesn't appear in the "expected" path?
What went wrong? I made a more detailed version of this
question on SO.
Does the "content" folder not work correctly when a "packageID" is used for install? Does it not work correctly when used from the command line?
|