- Rightclick the deployment project and click "Open project file".
- Insert the following code (example):
<ItemGroup>
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\Test\**\*.*"/>
<ExcludeFromBuild
Include="$(SourceWebPhysicalPath)\Images\**\*.*"/>
</ItemGroup>
Done! Now it wont copy all those directories to your release folder, in the long run it will save you a lifetime of waiting.
Inga kommentarer:
Skicka en kommentar