1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 12.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
3
2
<PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ProjectGuid >{7D33DD62-7D6F-4B3E-B369-8D58EE057914}</ProjectGuid >
7
- <OutputType >Library</OutputType >
8
- <AppDesignerFolder >Properties</AppDesignerFolder >
9
- <RootNamespace >NameParserTest</RootNamespace >
10
- <AssemblyName >NameParserTest</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 >
3
+ <TargetFramework >netcoreapp2.1</TargetFramework >
19
4
</PropertyGroup >
20
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
21
- <DebugSymbols >true</DebugSymbols >
22
- <DebugType >full</DebugType >
23
- <Optimize >false</Optimize >
24
- <OutputPath >bin\Debug\</OutputPath >
25
- <DefineConstants >DEBUG;TRACE</DefineConstants >
26
- <ErrorReport >prompt</ErrorReport >
27
- <WarningLevel >4</WarningLevel >
28
- </PropertyGroup >
29
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
30
- <DebugType >pdbonly</DebugType >
31
- <Optimize >true</Optimize >
32
- <OutputPath >bin\Release\</OutputPath >
33
- <DefineConstants >TRACE</DefineConstants >
34
- <ErrorReport >prompt</ErrorReport >
35
- <WarningLevel >4</WarningLevel >
36
- </PropertyGroup >
37
- <ItemGroup >
38
- <Reference Include =" System" />
39
- </ItemGroup >
40
- <Choose >
41
- <When Condition =" ('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'" >
42
- <ItemGroup >
43
- <Reference Include =" Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
44
- </ItemGroup >
45
- </When >
46
- <Otherwise >
47
- <ItemGroup >
48
- <Reference Include =" Microsoft.VisualStudio.QualityTools.UnitTestFramework" />
49
- </ItemGroup >
50
- </Otherwise >
51
- </Choose >
52
5
<ItemGroup >
53
- <Compile Include =" NameParserTests.cs" />
54
- <Compile Include =" Properties\AssemblyInfo.cs" />
6
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1" />
7
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 1.4.0" />
8
+ <PackageReference Include =" MSTest.TestFramework" Version =" 1.4.0" />
55
9
</ItemGroup >
56
10
<ItemGroup >
57
- <ProjectReference Include =" ..\NameParser\NameParser.csproj" >
58
- <Project >{63b86f06-9b90-4971-92d1-b9601063778e}</Project >
59
- <Name >NameParser</Name >
60
- </ProjectReference >
11
+ <ProjectReference Include =" ..\NameParser\NameParser.csproj" />
61
12
</ItemGroup >
62
- <Choose >
63
- <When Condition =" '$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'" >
64
- <ItemGroup >
65
- <Reference Include =" Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
66
- <Private >False</Private >
67
- </Reference >
68
- <Reference Include =" Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
69
- <Private >False</Private >
70
- </Reference >
71
- <Reference Include =" Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
72
- <Private >False</Private >
73
- </Reference >
74
- <Reference Include =" Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
75
- <Private >False</Private >
76
- </Reference >
77
- </ItemGroup >
78
- </When >
79
- </Choose >
80
- <Import Project =" $(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition =" Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
81
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
82
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
83
- Other similar extension points exist, see Microsoft.Common.targets.
84
- <Target Name="BeforeBuild">
85
- </Target>
86
- <Target Name="AfterBuild">
87
- </Target>
88
- -->
89
13
</Project >
0 commit comments