davidebbo / WebActivator

Apache License 2.0
242 stars 49 forks source link

Docs stating wrong about Content/App_Start folder #23

Closed brgrz closed 10 years ago

brgrz commented 10 years ago

If we save appstartfile.pp under Content/App_Start it will end up inside the Content/App_Start in the consuming project. If we add it to App_Start (at root within the package project) then it will end up in the App_Start folder in the consuming project.

So step 2 and the following paragraphs are unclear or wrong in the Readme file here at GitHub.

davidebbo commented 10 years ago

I guess it depends of what you have in your <files> section in the nuspec. The doc assumes the default where you don't have a <files> section (I think).

brgrz commented 10 years ago

I don't have a files section in nuspec. Would like to get to the bottom of this because at the moment I don't know what is correct behaviour - I just see it is not as stated in the docs.

davidebbo commented 10 years ago

It sounds like you're having a NuGet issue that's unrelated to WebActivator, so closing here. The expected NuGet behavior is that things that are in the Content folder within the nupkg will end up getting added as Content when the package is installed in VS. See here for the NuGet docs.