1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 4.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
3
2
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),Runtime.sln))\tools\WebStack.settings.targets" />
4
3
<PropertyGroup >
5
- <ProjectGuid >{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}</ProjectGuid >
6
- <OutputType >Library</OutputType >
7
- <AppDesignerFolder >Properties</AppDesignerFolder >
8
- <RootNamespace >Microsoft.TestCommon</RootNamespace >
9
- <AssemblyName >Microsoft.TestCommon</AssemblyName >
10
- <IsTestProject >false</IsTestProject >
4
+ <TargetFrameworks >netcoreapp2.1;net452</TargetFrameworks >
11
5
<OutputPath >..\..\bin\$(Configuration)\Test\</OutputPath >
12
- <CodeSignEnabled >false</CodeSignEnabled >
13
- <EnableGetGitHeadSHA1 >false</EnableGetGitHeadSHA1 >
14
- <ValidateBuildParamsDisabled >true</ValidateBuildParamsDisabled >
15
- <VersionFileGenerationEnabled >false</VersionFileGenerationEnabled >
6
+ <Configurations >$(Configurations);CodeAnalysis</Configurations >
7
+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
16
8
</PropertyGroup >
17
9
<ItemGroup >
18
- <Reference Include =" System" />
19
- <Reference Include =" System.Core" />
20
- <Reference Include =" System.Data" />
21
- <Reference Include =" System.Net.Http" />
22
- <Reference Include =" System.Net.Http.WebRequest" />
23
- <Reference Include =" System.Runtime.Serialization" />
24
- <Reference Include =" System.Web" />
25
- <Reference Include =" System.Xml" />
26
- <Reference Include =" System.Xml.Linq" />
27
- <Reference Include =" xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL" >
28
- <HintPath >..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll</HintPath >
29
- <Private >True</Private >
30
- </Reference >
31
- <Reference Include =" xunit.assert, Version=2.3.0.3820, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL" >
32
- <HintPath >..\..\packages\xunit.assert.2.3.0\lib\netstandard1.1\xunit.assert.dll</HintPath >
33
- <Private >True</Private >
34
- </Reference >
35
- <Reference Include =" xunit.core, Version=2.3.0.3820, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL" >
36
- <HintPath >..\..\packages\xunit.extensibility.core.2.3.0\lib\netstandard1.1\xunit.core.dll</HintPath >
37
- <Private >True</Private >
38
- </Reference >
39
- <Reference Include =" xunit.execution.desktop, Version=2.3.0.3820, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL" >
40
- <HintPath >..\..\packages\xunit.extensibility.execution.2.3.0\lib\net452\xunit.execution.desktop.dll</HintPath >
41
- <Private >True</Private >
42
- </Reference >
10
+ <None Include =" xunit.runner.json" CopyToOutputDirectory =" PreserveNewest" />
11
+
12
+ <PackageReference Include =" Moq" Version =" 4.7.142.0" />
13
+ <PackageReference Include =" System.Net.Http" Version =" 4.3.4" />
14
+ <PackageReference Include =" xunit.abstractions" Version =" 2.0.1" />
15
+ <PackageReference Include =" xunit.assert" Version =" 2.3.0" />
16
+ <PackageReference Include =" xunit.extensibility.core" Version =" 2.3.0" />
17
+ <PackageReference Include =" xunit.extensibility.execution" Version =" 2.3.0" />
18
+
19
+ <Compile Remove =" AppDomainUtils.cs;Microsoft\TestCommon\RuntimeEnvironment.cs;WebUtils.cs"
20
+ Condition =" '$(TargetFramework)' == 'netcoreapp2.1' " />
21
+ <Reference Include =" System.Web" Condition =" '$(TargetFramework)' == 'net452' " />
43
22
</ItemGroup >
44
- <ItemGroup >
45
- <Compile Include =" DataAttribute.cs" />
46
- <Compile Include =" EnumHelperTestBase.cs" />
47
- <Compile Include =" ExceptionUtility.cs" />
48
- <Compile Include =" FactDiscoverer.cs" />
49
- <Compile Include =" InlineDataAttribute.cs" />
50
- <Compile Include =" MatrixTheoryDataSet.cs" />
51
- <Compile Include =" Microsoft\TestCommon\DataSets\TestDataHolder.cs" />
52
- <Compile Include =" Microsoft\TestCommon\Types\ByteEnum.cs" />
53
- <Compile Include =" Microsoft\TestCommon\Types\SByteEnum.cs" />
54
- <Compile Include =" Microsoft\TestCommon\Types\ShortEnum.cs" />
55
- <Compile Include =" Microsoft\TestCommon\Types\UIntEnum.cs" />
56
- <Compile Include =" Microsoft\TestCommon\Types\UShortEnum.cs" />
57
- <Compile Include =" Platform.cs" />
58
- <Compile Include =" PlatformInfo.cs" />
59
- <Compile Include =" PortReserver.cs" />
60
- <Compile Include =" PropertyDataAttribute.cs" />
61
- <Compile Include =" ReplaceCultureAttribute.cs" />
62
- <Compile Include =" RestoreThreadPrincipalAttribute.cs" />
63
- <Compile Include =" AppDomainUtils.cs" />
64
- <Compile Include =" Assert.cs" >
65
- <SubType >Code</SubType >
66
- </Compile >
67
- <Compile Include =" CultureReplacer.cs" />
68
- <Compile Include =" FactAttribute.cs" />
69
- <Compile Include =" SkippedXunitTestCase.cs" />
70
- <Compile Include =" TheoryAttribute.cs" />
71
- <Compile Include =" DictionaryEqualityComparer.cs" />
72
- <Compile Include =" ExceptionAssertions.cs" >
73
- <SubType >Code</SubType >
74
- </Compile >
75
- <Compile Include =" ForceGCAttribute.cs" />
76
- <Compile Include =" MemberHelper.cs" />
77
- <Compile Include =" Microsoft\TestCommon\DataSets\RefTypeTestData.cs" />
78
- <Compile Include =" Microsoft\TestCommon\DataSets\TestDataVariations.cs" />
79
- <Compile Include =" Microsoft\TestCommon\DataSets\ValueTypeTestData.cs" />
80
- <Compile Include =" Microsoft\TestCommon\GenericTypeAssert.cs" />
81
- <Compile Include =" Microsoft\TestCommon\HttpAssert.cs" />
82
- <Compile Include =" Microsoft\TestCommon\MediaTypeAssert.cs" />
83
- <Compile Include =" Microsoft\TestCommon\MediaTypeHeaderValueComparer.cs" />
84
- <Compile Include =" Microsoft\TestCommon\ParsedMediaTypeHeaderValue.cs" />
85
- <Compile Include =" Microsoft\TestCommon\RegexReplacement.cs" />
86
- <Compile Include =" Microsoft\TestCommon\RuntimeEnvironment.cs" />
87
- <Compile Include =" Microsoft\TestCommon\SerializerAssert.cs" />
88
- <Compile Include =" Microsoft\TestCommon\StreamAssert.cs" />
89
- <Compile Include =" Microsoft\TestCommon\TaskAssert.cs" />
90
- <Compile Include =" Microsoft\TestCommon\DataSets\TestData.cs" />
91
- <Compile Include =" Microsoft\TestCommon\TestDataSetAttribute.cs" />
92
- <Compile Include =" Microsoft\TestCommon\TimeoutConstant.cs" />
93
- <Compile Include =" Microsoft\TestCommon\TypeAssert.cs" />
94
- <Compile Include =" Microsoft\TestCommon\Types\FlagsEnum.cs" />
95
- <Compile Include =" Microsoft\TestCommon\Types\INameAndIdContainer.cs" />
96
- <Compile Include =" Microsoft\TestCommon\Types\ISerializableType.cs" />
97
- <Compile Include =" Microsoft\TestCommon\Types\LongEnum.cs" />
98
- <Compile Include =" Microsoft\TestCommon\Types\SimpleEnum.cs" />
99
- <Compile Include =" Microsoft\TestCommon\DataSets\CommonUnitTestDataSets.cs" />
100
- <Compile Include =" Microsoft\TestCommon\XmlAssert.cs" />
101
- <Compile Include =" PreAppStartTestHelper.cs" />
102
- <Compile Include =" PreserveSyncContextAttribute.cs" />
103
- <Compile Include =" ReflectionAssert.cs" />
104
- <Compile Include =" TestFile.cs" />
105
- <Compile Include =" TestHelper.cs" />
106
- <Compile Include =" TheoryDataSet.cs" />
107
- <Compile Include =" TheoryDiscoverer.cs" />
108
- <Compile Include =" ThreadPoolSyncContext.cs" />
109
- <Compile Include =" TraitAttribute.cs" />
110
- <Compile Include =" VersionTestHelper.cs" />
111
- <Compile Include =" WebUtils.cs" />
112
- </ItemGroup >
113
- <ItemGroup >
114
- <None Include =" packages.config" />
115
- <None Include =" xunit.runner.json" >
116
- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
117
- </None >
118
- </ItemGroup >
119
- <ItemGroup >
120
- <Analyzer Include =" ..\..\packages\xunit.analyzers.0.7.0\analyzers\dotnet\cs\xunit.analyzers.dll" />
121
- </ItemGroup >
122
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
123
- <ProjectExtensions >
124
- <VisualStudio >
125
- <UserProperties xunit_1runner_1json__JSONSchema =" https://xunit.github.io/schema/v2.1-rc1/xunit.runner.schema.json" />
126
- </VisualStudio >
127
- </ProjectExtensions >
128
- </Project >
23
+ </Project >
0 commit comments