forked from dotnet/sdk
/
Microsoft.NET.Sdk.Razor.Tests.csproj
62 lines (53 loc) · 2.33 KB
/
Microsoft.NET.Sdk.Razor.Tests.csproj
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<EnableDefaultItems>false</EnableDefaultItems>
<OutDirName>Tests\$(MSBuildProjectName)</OutDirName>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<PackageId>testSdkRazor</PackageId>
</PropertyGroup>
<ItemGroup>
<Compile Include="**\*.cs" Exclude="$(GlobalExclude)" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>AspNetTestTfm</_Parameter1>
<_Parameter2>$(SdkTargetFramework)</_Parameter2>
</AssemblyAttribute>
<!-- We use these to templatize the output from our build/publish tests to ensure the right set of
files gets published in all circumstances.
-->
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>NetCoreAppRuntimePackageVersion</_Parameter1>
<_Parameter2>$(MicrosoftNETCoreAppRuntimePackageVersion)</_Parameter2>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>DefaultTestBaselinePackageVersion</_Parameter1>
<_Parameter2>5.0</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
<PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkPackageVersion)" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCorePackageVersion)" />
<PackageReference Include="Moq" Version="$(MoqPackageVersion)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\src\RazorSdk\Tasks\Microsoft.NET.Sdk.Razor.Tasks.csproj" />
<ProjectReference Include="..\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="TestFiles\Generated\*.rz.scp.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestFiles\Generated\*.bundle.scp.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<EmbeddedResource Include="StaticWebAssetsBaselines\**">
</EmbeddedResource>
</ItemGroup>
</Project>