|
2 | 2 | <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
3 | 3 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
4 | 4 | <PropertyGroup>
|
5 |
| - <!-- Given that xunit packages bring with them part of the framework, we need to specify a runtime in order to get the assets |
6 |
| - This RID value doesn't really matter, since the assets we are copying are not RID specific, so defaulting to Windows here |
7 |
| - --> |
8 |
| - <RestoreOutputPath>$(MSBuildThisFileDirectory)obj</RestoreOutputPath> |
9 |
| - <Language>C#</Language> |
10 |
| - <NugetTargetMoniker>.NETCoreApp,Version=v2.0</NugetTargetMoniker> |
11 |
| - <NugetTargetMonikerShort>netcoreapp2.0</NugetTargetMonikerShort> |
12 |
| - <ContainsPackageReferences>true</ContainsPackageReferences> |
13 |
| - <CLRTestKind>SharedLibrary</CLRTestKind> |
14 |
| - <IsTestProject>false</IsTestProject> |
15 |
| - |
16 |
| - <FxTestUtilVer>4.6.0-preview1-26604-03</FxTestUtilVer> |
17 |
| - <MXNEVer>2.2.0-preview1-02902-01</MXNEVer> |
| 5 | + <RestoreOutputPath>$(SourceDir)Common\CoreFX\obj</RestoreOutputPath> |
| 6 | + <Language>C#</Language> |
| 7 | + <NugetTargetMoniker>.NETCoreApp,Version=v2.0</NugetTargetMoniker> |
| 8 | + <NugetTargetMonikerShort>netcoreapp2.0</NugetTargetMonikerShort> |
| 9 | + <ContainsPackageReferences>true</ContainsPackageReferences> |
| 10 | + <CLRTestKind>SharedLibrary</CLRTestKind> |
| 11 | + <IsTestProject>false</IsTestProject> |
| 12 | + <!-- System.Composition and System.Composition.AttributedModel use different versioning conventions --> |
| 13 | + <SystemCompositionVersions>1.3.0-preview3-26501-04</SystemCompositionVersions> |
| 14 | + <CoreFxTestUtilsVersion>4.6.0-preview1-26604-03</CoreFxTestUtilsVersion> |
| 15 | + <XUnitNetcoreExtensionsVersion>2.2.0-preview1-02902-01</XUnitNetcoreExtensionsVersion> |
| 16 | + <!-- Xunit Abstractions is differently versioned then the rest of XUnit --> |
| 17 | + <XUnitAbstractionsVersion>2.0.1</XUnitAbstractionsVersion> |
18 | 18 | </PropertyGroup>
|
19 | 19 |
|
20 |
| - <!-- Switch RuntimeIdentifier according to currently running OSGroup --> |
21 |
| - <PropertyGroup> |
22 |
| - <RuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT'">win-x64</RuntimeIdentifier> |
23 |
| - <RuntimeIdentifier Condition="'$(OSGroup)' == 'Linux'">linux-x64</RuntimeIdentifier> |
24 |
| - <RuntimeIdentifier Condition="'$(OSGroup)' == 'OSX'">osx-x64</RuntimeIdentifier> |
25 |
| - <NugetRuntimeIdentifier>$(RuntimeIdentifier)</NugetRuntimeIdentifier> |
26 |
| - </PropertyGroup> |
| 20 | + <!-- Switch RuntimeIdentifier according to currently running OSGroup --> |
| 21 | + <PropertyGroup> |
| 22 | + <RuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT'">win-x64</RuntimeIdentifier> |
| 23 | + <RuntimeIdentifier Condition="'$(OSGroup)' == 'Linux'">linux-x64</RuntimeIdentifier> |
| 24 | + <RuntimeIdentifier Condition="'$(OSGroup)' == 'OSX'">osx-x64</RuntimeIdentifier> |
| 25 | + <NugetRuntimeIdentifier>$(RuntimeIdentifier)</NugetRuntimeIdentifier> |
| 26 | + </PropertyGroup> |
27 | 27 |
|
28 | 28 | <ItemGroup>
|
| 29 | + |
| 30 | + <PackageReference Include="xunit.core"> |
| 31 | + <Version>$(XunitPackageVersion)</Version> |
| 32 | + </PackageReference> |
| 33 | + <PackageReference Include="xunit.assert"> |
| 34 | + <Version>$(XunitPackageVersion)</Version> |
| 35 | + </PackageReference> |
| 36 | + <PackageReference Include="xunit.abstractions"> |
| 37 | + <Version>$(XUnitAbstractionsVersion)</Version> |
| 38 | + </PackageReference> |
29 | 39 | <PackageReference Include="xunit.extensibility.core">
|
30 | 40 | <Version>$(XunitPackageVersion)</Version>
|
31 | 41 | </PackageReference>
|
| 42 | + <PackageReference Include="xunit.extensibility.execution"> |
| 43 | + <Version>$(XunitPackageVersion)</Version> |
| 44 | + </PackageReference> |
| 45 | + <PackageReference Include="xunit.runner.utility"> |
| 46 | + <Version>$(XunitPackageVersion)</Version> |
| 47 | + </PackageReference> |
32 | 48 | <PackageReference Include="microsoft.xunit.netcore.extensions">
|
33 |
| - <Version>$(MXNEVer)</Version> |
| 49 | + <Version>$(XUnitNetcoreExtensionsVersion)</Version> |
34 | 50 | </PackageReference>
|
35 | 51 | <PackageReference Include="CoreFx.Private.TestUtilities">
|
36 |
| - <Version>$(FxTestUtilVer)</Version> |
| 52 | + <Version>$(CoreFxTestUtilsVersion)</Version> |
37 | 53 | </PackageReference>
|
38 |
| - <PackageReference Include="xunit.core"> |
39 |
| - <Version>$(XunitPackageVersion)</Version> |
| 54 | + <PackageReference Include="System.Security.Cryptography.Xml"> |
| 55 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
40 | 56 | </PackageReference>
|
41 |
| - <PackageReference Include="xunit.assert"> |
42 |
| - <Version>$(XunitPackageVersion)</Version> |
| 57 | + <PackageReference Include="System.CodeDom"> |
| 58 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 59 | + </PackageReference> |
| 60 | + <PackageReference Include="System.Management"> |
| 61 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 62 | + </PackageReference> |
| 63 | + <PackageReference Include="System.Security.Cryptography.ProtectedData"> |
| 64 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 65 | + </PackageReference> |
| 66 | + <PackageReference Include="System.Data.Odbc"> |
| 67 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 68 | + </PackageReference> |
| 69 | + <PackageReference Include="System.DirectoryServices"> |
| 70 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 71 | + </PackageReference> |
| 72 | + <PackageReference Include="System.DirectoryServices.Protocols"> |
| 73 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 74 | + </PackageReference> |
| 75 | + <PackageReference Include="System.ServiceProcess.ServiceController"> |
| 76 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 77 | + </PackageReference> |
| 78 | + <PackageReference Include="System.IO.Packaging"> |
| 79 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 80 | + </PackageReference> |
| 81 | + <PackageReference Include="System.IO.Pipelines"> |
| 82 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 83 | + </PackageReference> |
| 84 | + <PackageReference Include="System.Data.SqlClient"> |
| 85 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 86 | + </PackageReference> |
| 87 | + <PackageReference Include="System.Net.WebSockets.WebSocketProtocol"> |
| 88 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 89 | + </PackageReference> |
| 90 | + <PackageReference Include="System.Runtime.Caching"> |
| 91 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 92 | + </PackageReference> |
| 93 | + <PackageReference Include="System.Text.Encoding.CodePages"> |
| 94 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 95 | + </PackageReference> |
| 96 | + <PackageReference Include="System.Security.Cryptography.Pkcs"> |
| 97 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 98 | + </PackageReference> |
| 99 | + <PackageReference Include="System.ServiceModel.Syndication"> |
| 100 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 101 | + </PackageReference> |
| 102 | + <PackageReference Include="System.Net.Http.WinHttpHandler"> |
| 103 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 104 | + </PackageReference> |
| 105 | + <PackageReference Include="System.Configuration.ConfigurationManager"> |
| 106 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 107 | + </PackageReference> |
| 108 | + <PackageReference Include="System.Composition.Hosting"> |
| 109 | + <Version>$(SystemCompositionVersions)</Version> |
| 110 | + </PackageReference> |
| 111 | + <PackageReference Include="System.Composition.AttributedModel"> |
| 112 | + <Version>$(SystemCompositionVersions)</Version> |
| 113 | + </PackageReference> |
| 114 | + </ItemGroup> |
| 115 | + <ItemGroup Condition="'$(OSGroup)' == 'Windows_NT'"> |
| 116 | + <!-- Windows Dependencies --> |
| 117 | + <PackageReference Include="Microsoft.Win32.Registry.AccessControl"> |
| 118 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
| 119 | + </PackageReference> |
| 120 | + <PackageReference Include="Microsoft.Win32.SystemEvents"> |
| 121 | + <Version>$(MicrosoftPrivateCoreFxNETCoreAppPackageVersion)</Version> |
43 | 122 | </PackageReference>
|
44 | 123 | </ItemGroup>
|
45 | 124 | <PropertyGroup>
|
46 |
| - <TargetFramework>netcoreapp2.0</TargetFramework> |
| 125 | + <TargetFramework>netcoreapp2.2</TargetFramework> |
47 | 126 | </PropertyGroup>
|
48 | 127 | <ItemGroup>
|
49 |
| - <PackageToInclude Include="xunit.abstractions"/> |
50 |
| - <PackageToInclude Include="xunit.assert"/> |
51 |
| - <PackageToInclude Include="xunit.extensibility.core"/> |
52 |
| - <PackageToInclude Include="xunit.extensibility.execution"/> |
53 |
| - <PackageToInclude Include="xunit.runner.utility"/> |
54 |
| - <PackageToInclude Include="CoreFx.Private.TestUtilities"/> |
55 |
| - <PackageToInclude Include="microsoft.xunit.netcore.extensions" /> |
| 128 | + <PackageToInclude Include="@(PackageReference -> '%(Identity)' )"/> |
56 | 129 | </ItemGroup>
|
57 |
| - |
58 | 130 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
59 |
| - |
60 | 131 | <PropertyGroup>
|
61 | 132 | <ProjectAssetsFile>$(SourceDir)Common\CoreFX\obj\project.assets.json</ProjectAssetsFile>
|
62 | 133 | </PropertyGroup>
|
63 |
| - |
64 | 134 | </Project>
|
0 commit comments