|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>netcoreapp3.1</TargetFrameworks> |
| 4 | + <TargetFrameworks>netcoreapp3.1;net6</TargetFrameworks> |
5 | 5 | <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">$(TargetFrameworks);net452;net46;net461;net472</TargetFrameworks> |
6 | 6 | <ProjectGuid>6BA232A6-8C4D-4C7D-BD75-1844FE9774AF</ProjectGuid> |
7 | 7 | <RootNamespace>HandlebarsDotNet.Test</RootNamespace> |
8 | 8 | <IsPackable>false</IsPackable> |
9 | 9 | <SignAssembly>false</SignAssembly> |
10 | 10 | <GenerateDocumentationFile>false</GenerateDocumentationFile> |
11 | 11 | <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
12 | | - </PropertyGroup> |
13 | | - |
14 | | - <PropertyGroup> |
15 | 12 | <NoWarn>0618;1701</NoWarn> |
16 | 13 | </PropertyGroup> |
17 | 14 |
|
18 | | - <PropertyGroup Condition="'$(TargetFramework)'=='net472'"> |
19 | | - <DefineConstants>$(DefineConstants);netFramework</DefineConstants> |
20 | | - </PropertyGroup> |
21 | | - <PropertyGroup Condition="'$(TargetFramework)'=='net461'"> |
22 | | - <DefineConstants>$(DefineConstants);netFramework</DefineConstants> |
23 | | - </PropertyGroup> |
24 | | - <PropertyGroup Condition="'$(TargetFramework)'=='net46'"> |
25 | | - <DefineConstants>$(DefineConstants);netFramework</DefineConstants> |
26 | | - </PropertyGroup> |
27 | | - <PropertyGroup Condition="'$(TargetFramework)'=='net452'"> |
28 | | - <DefineConstants>$(DefineConstants);netFramework</DefineConstants> |
29 | | - </PropertyGroup> |
30 | | - |
31 | | - <PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp2.1'"> |
32 | | - <DefineConstants>$(DefineConstants);netcoreapp;netstandard</DefineConstants> |
33 | | - </PropertyGroup> |
34 | | - |
35 | | - <PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'"> |
36 | | - <DefineConstants>$(DefineConstants);netcoreapp;netstandard</DefineConstants> |
37 | | - </PropertyGroup> |
38 | | - |
39 | 15 | <ItemGroup> |
40 | 16 | <ProjectReference Include="..\Handlebars\Handlebars.csproj" /> |
41 | 17 | </ItemGroup> |
|
52 | 28 | <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" /> |
53 | 29 | <PackageReference Include="System.Collections.Immutable" Version="5.0.0" /> |
54 | 30 | </ItemGroup> |
55 | | - |
| 31 | + |
56 | 32 |
|
57 | 33 | <ItemGroup Condition="'$(TargetFramework)'=='net46' or '$(TargetFramework)'=='net461' or '$(TargetFramework)'=='net472' or '$(TargetFramework)'=='net452'"> |
58 | 34 | <PackageReference Include="CsQuery" Version="1.3.4" /> |
59 | 35 | <PackageReference Include="Microsoft.AspNet.WebPages" Version="3.2.3" /> |
60 | 36 | <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> |
61 | 37 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" /> |
62 | 38 | </ItemGroup> |
63 | | - |
64 | 39 |
|
65 | | - <ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' or '$(TargetFramework)'=='netcoreapp2.1'"> |
| 40 | + |
| 41 | + <ItemGroup Condition="'$(TargetFramework)'!='net46' and '$(TargetFramework)'!='net461' and '$(TargetFramework)'!='net472' and '$(TargetFramework)'!='net452'"> |
66 | 42 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" /> |
67 | 43 | <PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" /> |
68 | 44 | <PackageReference Include="CsQuery.NetStandard" Version="1.3.6.1" /> |
69 | 45 | </ItemGroup> |
70 | | - |
| 46 | + |
71 | 47 | <ItemGroup> |
72 | 48 | <Content Include="ViewEngine\**\*.hbs" CopyToOutputDirectory="PreserveNewest" /> |
73 | 49 | </ItemGroup> |
74 | | - |
| 50 | + |
75 | 51 | <ItemGroup> |
76 | 52 | <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> |
77 | 53 | </ItemGroup> |
|
0 commit comments