We seem to be having an issue when running our deployment project in that, when it compiles, it seems to miss our master pages from the output.
Is there any way to 'force' the project to include .master files, either through editing the .wdproj file, or via another method?
Also, I've been reading up on the MSBuildTasks community project, and have followed some of the sample documentation but this doesn't appear to work. The project won't exclude files that I select, and doesn't seem to do compression either. Has anyone else tried this extension that can provide feedback/guidance?
Many thanks in advance
Update:
I have fixed this by creating an Itemgroup and doing a copy.
<ItemGroup>
<MasterFiles Include="$(SolutionDir)\MVC\Views\Shared\Templates\**\*.master" />
</ItemGroup>
<Target Name="AfterBuild">
<Copy SourceFiles="@(MasterFiles)" DestinationFiles="$(OutputPath)\Views\Shared\Templates\%(RecursiveDir)%(Filename)%(Extension)" />
</Target>