Adding new file in content Folder does not work

Topics: General
Dec 11, 2012 at 9:06 AM
Edited Dec 11, 2012 at 10:13 AM


 I created a package with a folder(say Pages) inside content folder having some aspx/aspx.cs files, which are actually part  of another Project and when I am updating the file everything works ok i.e. when I install/update the package it is also updating.

But I have a requirement i.e. if I am adding a new aspx page say "Search.aspx" inside the same folder(i.e. Pages) from Visual Studio, which I already added in the content folder should also be added in the content Folder, which is not happning.

So, is there any way to update new added Files automatically in the content folder.

 Finally, I would like to mention that I want to do in NuGet Explorer.







Dec 15, 2012 at 2:24 AM

If you update your package, you need to increment its version and then update the package in NuGet.