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