1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 15.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" ..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.props" Condition =" Exists('..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
4
3
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{0E665A39-7AE5-471F-93C8-E16E8FAC8102}</ProjectGuid >
8
- <OutputType >Library</OutputType >
9
- <AppDesignerFolder >Properties</AppDesignerFolder >
10
- <RootNamespace >MeterBus.Test</RootNamespace >
11
- <AssemblyName >MeterBus.Test</AssemblyName >
12
- <TargetFrameworkVersion >v4.7.2</TargetFrameworkVersion >
13
- <FileAlignment >512</FileAlignment >
14
- <ProjectTypeGuids >{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids >
15
- <VisualStudioVersion Condition =" '$(VisualStudioVersion)' == ''" >15.0</VisualStudioVersion >
16
- <VSToolsPath Condition =" '$(VSToolsPath)' == ''" >$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath >
17
- <ReferencePath >$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath >
18
- <IsCodedUITest >False</IsCodedUITest >
19
- <TestProjectType >UnitTest</TestProjectType >
20
- <NuGetPackageImportStamp >
21
- </NuGetPackageImportStamp >
22
- <TargetFrameworkProfile />
4
+ <TargetFramework >netstandard2.0</TargetFramework >
5
+ <Authors >Martin Dahlstedt</Authors >
6
+ <Company >Valley</Company >
23
7
</PropertyGroup >
24
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
25
- <DebugSymbols >true</DebugSymbols >
26
- <DebugType >full</DebugType >
27
- <Optimize >false</Optimize >
28
- <OutputPath >bin\Debug\</OutputPath >
29
- <DefineConstants >DEBUG;TRACE</DefineConstants >
30
- <ErrorReport >prompt</ErrorReport >
31
- <WarningLevel >4</WarningLevel >
32
- </PropertyGroup >
33
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
34
- <DebugType >pdbonly</DebugType >
35
- <Optimize >true</Optimize >
36
- <OutputPath >bin\Release\</OutputPath >
37
- <DefineConstants >TRACE</DefineConstants >
38
- <ErrorReport >prompt</ErrorReport >
39
- <WarningLevel >4</WarningLevel >
40
- </PropertyGroup >
41
- <ItemGroup >
42
- <Reference Include =" Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
43
- <HintPath >..\packages\MSTest.TestFramework.1.2.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath >
44
- </Reference >
45
- <Reference Include =" Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
46
- <HintPath >..\packages\MSTest.TestFramework.1.2.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath >
47
- </Reference >
48
- <Reference Include =" System" />
49
- <Reference Include =" System.Core" />
50
- <Reference Include =" System.Windows" />
51
- <Reference Include =" System.Windows.Forms" />
52
- <Reference Include =" Valley.Net.Bindings, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL" >
53
- <HintPath >..\packages\Valley.Net.Bindings.1.0.1\lib\netstandard2.0\Valley.Net.Bindings.dll</HintPath >
54
- </Reference >
55
- <Reference Include =" WindowsBase" />
56
- </ItemGroup >
57
- <ItemGroup >
58
- <Compile Include =" XmlSerializationTests.cs" />
59
- <Compile Include =" QueryPacket.cs" />
60
- <Compile Include =" QuerySerializer.cs" />
61
- <Compile Include =" PacketSerializationTests.cs" />
62
- <Compile Include =" TcpTests.cs" />
63
- <Compile Include =" UdpTests.cs" />
64
- <Compile Include =" Properties\AssemblyInfo.cs" />
65
- </ItemGroup >
8
+
66
9
<ItemGroup >
67
- <None Include =" packages.config" />
10
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.0.0" />
11
+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.0.0" />
12
+ <PackageReference Include =" Valley.Net.Bindings" Version =" 1.0.1" />
68
13
</ItemGroup >
14
+
69
15
<ItemGroup >
70
- <ProjectReference Include =" ..\Valley.Net.Protocols.MeterBus\Valley.Net.Protocols.MeterBus.csproj" >
71
- <Project >{05b76bea-f9af-48bb-92c5-3b739f00e6b7}</Project >
72
- <Name >Valley.Net.Protocols.MeterBus</Name >
73
- </ProjectReference >
16
+ <ProjectReference Include =" ..\Valley.Net.Protocols.MeterBus\Valley.Net.Protocols.MeterBus.csproj" />
74
17
</ItemGroup >
75
- <Import Project =" $(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition =" Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
76
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
77
- <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
78
- <PropertyGroup >
79
- <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 >
80
- </PropertyGroup >
81
- <Error Condition =" !Exists('..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.props'))" />
82
- <Error Condition =" !Exists('..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets'))" />
83
- </Target >
84
- <Import Project =" ..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets" Condition =" Exists('..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets')" />
85
- </Project >
18
+
19
+ </Project >
0 commit comments