1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" ..\packages\NUnit3TestAdapter.3.16.1\build\net35\NUnit3TestAdapter.props" Condition =" Exists('..\packages\NUnit3TestAdapter.3.16.1\build\net35\NUnit3TestAdapter.props')" />
4
- <Import Project =" ..\packages\NUnit.3.12.0\build\NUnit.props" Condition =" Exists('..\packages\NUnit.3.12.0\build\NUnit.props')" />
5
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
6
3
<PropertyGroup >
7
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
8
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
9
- <ProjectGuid >{9EB2525F-48E7-4057-98E5-7FE325ECCD32}</ProjectGuid >
10
- <OutputType >Library</OutputType >
11
- <AppDesignerFolder >Properties</AppDesignerFolder >
12
- <RootNamespace >AgileObjects.ReadableExpressions.UnitTests.Net35</RootNamespace >
4
+ <TargetFramework >net35</TargetFramework >
5
+ <LangVersion >8.0</LangVersion >
13
6
<AssemblyName >AgileObjects.ReadableExpressions.UnitTests.Net35</AssemblyName >
14
- <TargetFrameworkVersion >v3.5</TargetFrameworkVersion >
15
- <FileAlignment >512</FileAlignment >
16
- <NuGetPackageImportStamp >
17
- </NuGetPackageImportStamp >
18
- </PropertyGroup >
19
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
20
- <DebugSymbols >true</DebugSymbols >
7
+ <RootNamespace >AgileObjects.ReadableExpressions.UnitTests</RootNamespace >
8
+ <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
9
+ <WarningsAsErrors ></WarningsAsErrors >
10
+ <NoWarn >0649;1701;1702</NoWarn >
21
11
<DebugType >full</DebugType >
22
- <Optimize >false</Optimize >
23
- <OutputPath >bin\Debug\</OutputPath >
24
- <DefineConstants >TRACE;DEBUG;NET35</DefineConstants >
25
- <ErrorReport >prompt</ErrorReport >
26
- <WarningLevel >4</WarningLevel >
12
+ <IsPackable >false</IsPackable >
13
+ <ProjectGuid >{9EB2525F-48E7-4057-98E5-7FE325ECCD32}</ProjectGuid >
27
14
</PropertyGroup >
28
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
29
- <DebugType >pdbonly</DebugType >
30
- <Optimize >true</Optimize >
31
- <OutputPath >bin\Release\</OutputPath >
32
- <DefineConstants >TRACE;NET35</DefineConstants >
33
- <ErrorReport >prompt</ErrorReport >
34
- <WarningLevel >4</WarningLevel >
15
+
16
+ <PropertyGroup >
17
+ <FrameworkPathOverride >$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride >
35
18
</PropertyGroup >
19
+
20
+ <PropertyGroup >
21
+ <DefineConstants >$(DefineConstants);TRACE</DefineConstants >
22
+ </PropertyGroup >
23
+
24
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
25
+ <DefineConstants >$(DefineConstants);DEBUG</DefineConstants >
26
+ </PropertyGroup >
27
+
28
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|AnyCPU'" >
29
+ <DefineConstants >$(DefineConstants);RELEASE</DefineConstants >
30
+ </PropertyGroup >
31
+
36
32
<ItemGroup >
37
- <Reference Include =" AgileObjects.NetStandardPolyfills, Version=1.4.0.0, Culture=neutral, PublicKeyToken=06131ac1c008ad4e, processorArchitecture=MSIL" >
38
- <HintPath >..\packages\AgileObjects.NetStandardPolyfills.1.4.0\lib\net35\AgileObjects.NetStandardPolyfills.dll</HintPath >
39
- </Reference >
40
- <Reference Include =" Microsoft.Dynamic, Version=1.1.2.22, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL" >
41
- <HintPath >..\packages\DynamicLanguageRuntime.1.1.2\lib\Net35\Microsoft.Dynamic.dll</HintPath >
42
- </Reference >
43
- <Reference Include =" Microsoft.Scripting, Version=1.1.2.22, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL" >
44
- <HintPath >..\packages\DynamicLanguageRuntime.1.1.2\lib\Net35\Microsoft.Scripting.dll</HintPath >
45
- </Reference >
46
- <Reference Include =" Microsoft.Scripting.AspNet, Version=1.1.1.21, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL" >
47
- <HintPath >..\packages\DynamicLanguageRuntime.1.1.2\lib\Net35\Microsoft.Scripting.AspNet.dll</HintPath >
48
- </Reference >
49
- <Reference Include =" Microsoft.Scripting.Core, Version=1.1.2.22, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL" >
50
- <HintPath >..\packages\DynamicLanguageRuntime.1.1.2\lib\Net35\Microsoft.Scripting.Core.dll</HintPath >
51
- </Reference >
52
- <Reference Include =" Microsoft.Scripting.Metadata, Version=1.1.2.22, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL" >
53
- <HintPath >..\packages\DynamicLanguageRuntime.1.1.2\lib\Net35\Microsoft.Scripting.Metadata.dll</HintPath >
54
- </Reference >
55
- <Reference Include =" nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL" >
56
- <HintPath >..\packages\NUnit.3.12.0\lib\net35\nunit.framework.dll</HintPath >
57
- </Reference >
58
- <Reference Include =" System" />
59
- <Reference Include =" System.Core" />
60
- <Reference Include =" System.Xml.Linq" />
61
- <Reference Include =" System.Data.DataSetExtensions" />
62
- <Reference Include =" System.Data" />
63
- <Reference Include =" System.Xml" />
64
- </ItemGroup >
65
- <ItemGroup >
66
- <Compile Include =" ..\CommonAssemblyInfo.cs" >
67
- <Link >Properties\CommonAssemblyInfo.cs</Link >
68
- </Compile >
69
- </ItemGroup >
70
- <ItemGroup >
71
- <Compile Include =" ..\ReadableExpressions.UnitTests\**\*.cs" Exclude =" ..\ReadableExpressions.UnitTests\obj\**\*.cs;..\ReadableExpressions.UnitTests\WhenUsingPartialTrust.cs;..\ReadableExpressions.UnitTests\WhenFormattingCodeAsHtml.cs;" >
33
+ <Compile Include =" ..\ReadableExpressions.UnitTests\**\*.cs" Exclude =" ..\ReadableExpressions.UnitTests\obj\**\*.cs;" >
72
34
<Link >%(RecursiveDir)%(Filename)%(Extension)</Link >
73
35
</Compile >
74
36
</ItemGroup >
37
+
75
38
<ItemGroup >
76
- <None Include =" packages.config" />
39
+ <Reference Include =" System" />
40
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.9.0" />
41
+ <PackageReference Include =" NUnit" Version =" 3.12.0" />
42
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.16.1" >
43
+ <PrivateAssets >all</PrivateAssets >
44
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
45
+ </PackageReference >
77
46
</ItemGroup >
47
+
78
48
<ItemGroup >
79
- <ProjectReference Include =" ..\ReadableExpressions\ReadableExpressions.csproj" >
80
- <Project >{147ddcce-cdd3-4dd0-8ba3-d3f2f239e161}</Project >
81
- <Name >ReadableExpressions</Name >
82
- </ProjectReference >
49
+ <ProjectReference Include =" ..\ReadableExpressions\ReadableExpressions.csproj" />
83
50
</ItemGroup >
84
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
85
- <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
86
- <PropertyGroup >
87
- <ErrorText >This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText >
88
- </PropertyGroup >
89
- <Error Condition =" !Exists('..\packages\NUnit.3.12.0\build\NUnit.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.12.0\build\NUnit.props'))" />
90
- <Error Condition =" !Exists('..\packages\NUnit3TestAdapter.3.16.1\build\net35\NUnit3TestAdapter.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\packages\NUnit3TestAdapter.3.16.1\build\net35\NUnit3TestAdapter.props'))" />
91
- </Target >
92
- </Project >
51
+
52
+ </Project >
0 commit comments