Hi
We are using Visual Studio 2017 (ver 15.4.4) and asp.net core 2.0 website. Now we are trying to publish the site on folder.
When i keep EnableDefaultContentItems as true in project file it copies only wwwroot and rotative not other folders.
To copy other folders also i made EnableDefaultContentItems as false and added below lines in project file,
<ItemGroup>
<Content Include="Images\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="fonts\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="StaticContent\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="Content\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="ErrorHandler\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="lucene_index\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="Views\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="wwwroot\**" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>
Then it copies all folders to publish folder but not coping Views folder so how to solve this issue.
Thanks,
Ashvini Awaskar