1
- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2
- < Project ToolsVersion = " 14.0 " DefaultTargets = " Build " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " >
1
+ <Project Sdk = " Microsoft.NET.Sdk " >
2
+
3
3
<PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ProjectGuid >{8DD3694E-9532-4659-AA9F-BB01CBB9341B}</ProjectGuid >
7
- <OutputType >Library</OutputType >
8
- <AppDesignerFolder >Properties</AppDesignerFolder >
9
- <RootNamespace >ZstdNet.Tests</RootNamespace >
10
- <AssemblyName >ZstdNet.Tests</AssemblyName >
11
- <TargetFrameworkVersion >v4.5</TargetFrameworkVersion >
12
- <FileAlignment >512</FileAlignment >
13
- <ProjectTypeGuids >{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids >
14
- <VisualStudioVersion Condition =" '$(VisualStudioVersion)' == ''" >10.0</VisualStudioVersion >
15
- <VSToolsPath Condition =" '$(VSToolsPath)' == ''" >$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath >
16
- <ReferencePath >$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath >
17
- <IsCodedUITest >False</IsCodedUITest >
18
- <TestProjectType >UnitTest</TestProjectType >
19
- <TargetFrameworkProfile />
4
+ <TargetFramework >net461</TargetFramework >
5
+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
20
6
</PropertyGroup >
21
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x86'" >
22
- <DebugSymbols >true</DebugSymbols >
23
- <OutputPath >bin\x86\Debug\</OutputPath >
24
- <DefineConstants >DEBUG;TRACE</DefineConstants >
25
- <DebugType >full</DebugType >
26
- <PlatformTarget >x86</PlatformTarget >
27
- <ErrorReport >prompt</ErrorReport >
28
- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
29
- </PropertyGroup >
30
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86'" >
31
- <OutputPath >bin\x86\Release\</OutputPath >
32
- <DefineConstants >TRACE</DefineConstants >
33
- <Optimize >true</Optimize >
34
- <DebugType >pdbonly</DebugType >
35
- <PlatformTarget >x86</PlatformTarget >
36
- <ErrorReport >prompt</ErrorReport >
37
- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
38
- </PropertyGroup >
39
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x64'" >
40
- <DebugSymbols >true</DebugSymbols >
41
- <OutputPath >bin\x64\Debug\</OutputPath >
42
- <DefineConstants >TRACE;DEBUG</DefineConstants >
43
- <DebugType >full</DebugType >
44
- <PlatformTarget >x64</PlatformTarget >
45
- <ErrorReport >prompt</ErrorReport >
46
- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
47
- </PropertyGroup >
48
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x64'" >
49
- <OutputPath >bin\x64\Release\</OutputPath >
50
- <DefineConstants >TRACE</DefineConstants >
51
- <Optimize >true</Optimize >
52
- <DebugType >pdbonly</DebugType >
53
- <PlatformTarget >x64</PlatformTarget >
54
- <ErrorReport >prompt</ErrorReport >
55
- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
56
- </PropertyGroup >
57
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" >
58
- <DebugSymbols >true</DebugSymbols >
59
- <OutputPath >bin\Debug\</OutputPath >
60
- <DefineConstants >DEBUG;TRACE</DefineConstants >
61
- <DebugType >full</DebugType >
62
- <PlatformTarget >AnyCPU</PlatformTarget >
63
- <ErrorReport >prompt</ErrorReport >
64
- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
65
- </PropertyGroup >
66
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU'" >
67
- <OutputPath >bin\Release\</OutputPath >
68
- <DefineConstants >TRACE</DefineConstants >
69
- <Optimize >true</Optimize >
70
- <DebugType >pdbonly</DebugType >
71
- <PlatformTarget >AnyCPU</PlatformTarget >
72
- <ErrorReport >prompt</ErrorReport >
73
- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
74
- </PropertyGroup >
75
- <ItemGroup >
76
- <Reference Include =" nunit.framework, Version=3.4.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL" >
77
- <HintPath >..\packages\NUnit.3.4.1\lib\net45\nunit.framework.dll</HintPath >
78
- <Private >True</Private >
79
- </Reference >
80
- <Reference Include =" System" />
81
- </ItemGroup >
82
- <Choose >
83
- <When Condition =" ('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'" >
84
- <ItemGroup >
85
- <Reference Include =" Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
86
- </ItemGroup >
87
- </When >
88
- <Otherwise />
89
- </Choose >
90
- <ItemGroup >
91
- <Compile Include =" Binding_Tests.cs" />
92
- <Compile Include =" Properties\AssemblyInfo.cs" />
93
- </ItemGroup >
7
+
94
8
<ItemGroup >
95
- <None Include =" packages.config" />
9
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.5.0" />
10
+ <PackageReference Include =" NUnit" Version =" 3.9.0" />
11
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.9.0" />
96
12
</ItemGroup >
13
+
97
14
<ItemGroup >
98
- <ProjectReference Include =" ..\ZstdNet\ZstdNet.csproj" >
99
- <Project >{8adbeb19-a508-471d-87a0-7443ee086e9b}</Project >
100
- <Name >ZstdNet</Name >
101
- </ProjectReference >
15
+ <ProjectReference Include =" ..\ZstdNet\ZstdNet.csproj" />
102
16
</ItemGroup >
103
- <Choose >
104
- <When Condition =" '$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'" >
105
- <ItemGroup >
106
- <Reference Include =" Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
107
- <Private >False</Private >
108
- </Reference >
109
- <Reference Include =" Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
110
- <Private >False</Private >
111
- </Reference >
112
- <Reference Include =" Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
113
- <Private >False</Private >
114
- </Reference >
115
- <Reference Include =" Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
116
- <Private >False</Private >
117
- </Reference >
118
- </ItemGroup >
119
- </When >
120
- </Choose >
121
- <Import Project =" $(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition =" Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
122
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
123
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
124
- Other similar extension points exist, see Microsoft.Common.targets.
125
- <Target Name="BeforeBuild">
126
- </Target>
127
- <Target Name="AfterBuild">
128
- </Target>
129
- -->
130
- </Project >
17
+
18
+ </Project >
0 commit comments