forked from bbyars/RestMvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRestMvc.proj
34 lines (29 loc) · 1.32 KB
/
RestMvc.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectName>RestMvc</ProjectName>
<CMDirectory>Dependencies\CM.NET</CMDirectory>
<WebProjectName>RestMvc.Example</WebProjectName>
</PropertyGroup>
<PropertyGroup>
<PackageTargets>CopyPackageFiles</PackageTargets>
<PreFunctionalTestTargets>PrepareFunctionalTests</PreFunctionalTestTargets>
</PropertyGroup>
<Import Project="$(CMDirectory)\Default.targets" />
<Import Project="$(CMDirectory)\DotNet.targets" />
<Import Project="$(CMDirectory)\Packagers\Zip.targets" />
<Import Project="NCover.targets" />
<Target Name="CopyPackageFiles">
<ItemGroup>
<RestMvcFiles Include="RestMvc/bin/$(Configuration)/*.dll" />
<RestMvcFiles Include="RestMvc/bin/$(Configuration)/RestMvc.xml" />
</ItemGroup>
<Copy SourceFiles="@(RestMvcFiles)" DestinationFolder="$(PackageDirectory)" />
</Target>
<UsingTask TaskName="Microsoft.Sdc.Tasks.Web.WebSite.CreateVirtualDirectory" AssemblyFile="$(CMDirectory)\Microsoft.Sdc.Tasks.dll" />
<Target Name="PrepareFunctionalTests">
<WebSite.CreateVirtualDirectory
VirtualDirectoryName="RestMvc"
Path="$(MSBuildProjectDirectory)\RestMvc.Example"
AppCreate="True" />
</Target>
</Project>