User1109545656 posted
Hi,
When I attempt to deploy a dynamic data web application using a "web deployment" project, only about half of the folders inside the "DynamicData" folder get copied properly. Here are the steps to reproduce.
Prerequisites:
-
In VS2008, go to File, New Project, Dynamic Data Web Application
-
Right click on WebApplication1 and select "Add Web Deployment Project..."
-
Accept the defaults and click OK.
-
Right clik the web deployment project and select properties...
-
Uncheck the box that says "allow this precompiled site to be updateable"
-
Click OK.
-
Right click "WebApplication1.csproj_deploy" and select "Build".
-
Look in the output folder (WebApplication1.csproj_deploy\Debug\DynamicData). You'll notice the field templates folder is missing.
If I switch on "allow updatable" then it seems to work... but I'd prefer to have that switched off.
Another interesting point, I've looked at the properties of all the DynamicData files and they say "Content" rather than "Compiled"... is this correct? If i try switching them to "Compiled", then i get some strange errors:
Keyword, identifier, or string expected after verbatim specifier: @
A namespace does not directly contain members such as fields or methods
Any thoughts or suggestions are most appreciated.