Reputation: 1
I was working on a Project that consists of an ASP.NET Web service API (Framework 4.7) and a Library project. In order to generate the Help pages for my Web service, I applied the method in the following post's top rated answer : https://stackoverflow.com/a/21895258/14273666 It worked great during development.
When I published my project though, after creating my IIS site and application pool, My App_Data folder was not published along with the web service project. This can easily be fixed by moving the adding the App_Data folder to my project's IIS site folder, but requires manual action to be taken. How could I configure my project for this folder to be published with such a folder ?
Upvotes: 0
Views: 370
Reputation: 2605
2- Edit the profile xml not to exclude App_Data
from publish like this:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
....
<ExcludeApp_Data>False</ExcludeApp_Data>
...
</PropertyGroup>
</Project>
Upvotes: 1