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" />
5 <RestoreOutputPath>$(SourceDir)Common\CoreFX\obj</RestoreOutputPath>
6 <Language>C#</Language>
7 <NugetTargetMoniker>.NETCoreApp,Version=v3.0</NugetTargetMoniker>
8 <TargetFramework>netcoreapp3.0</TargetFramework>
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 <XUnitNetcoreExtensionsVersion>2.2.0-preview1-02902-01</XUnitNetcoreExtensionsVersion>
15 <!-- Xunit Abstractions is differently versioned then the rest of XUnit -->
16 <XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
17 <XUnitAssertVersion>2.4.1-pre.build.4059</XUnitAssertVersion>
18 <CoreFXXUnitPackageVersion>2.2.0-beta2-build3300</CoreFXXUnitPackageVersion>
19 <MicrosoftDiagnosticsTracingTraceVentVersion>2.0.19</MicrosoftDiagnosticsTracingTraceVentVersion>
20 <MicrosoftDotnetPlatformAbstractionsVersion>2.1.0</MicrosoftDotnetPlatformAbstractionsVersion>
21 <MicrosoftPrivateCoreFxTestUtilitiesPackageVersion>4.6.0-preview1-26817-04</MicrosoftPrivateCoreFxTestUtilitiesPackageVersion>
24 <!-- Switch RuntimeIdentifier according to currently running OSGroup -->
26 <RuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT'">win-x64</RuntimeIdentifier>
27 <RuntimeIdentifier Condition="'$(OSGroup)' == 'Linux'">linux-x64</RuntimeIdentifier>
28 <RuntimeIdentifier Condition="'$(OSGroup)' == 'OSX'">osx-x64</RuntimeIdentifier>
29 <NugetRuntimeIdentifier>$(RuntimeIdentifier)</NugetRuntimeIdentifier>
33 <PackageReference Include="xunit">
34 <Version>$(CoreFXXUnitPackageVersion)</Version>
36 <PackageReference Include="xunit.core">
37 <Version>$(CoreFXXUnitPackageVersion)</Version>
39 <PackageReference Include="xunit.assert">
40 <Version>$(XUnitAssertVersion)</Version>
42 <PackageReference Include="xunit.abstractions">
43 <Version>$(XUnitAbstractionsVersion)</Version>
45 <PackageReference Include="xunit.extensibility.core">
46 <Version>$(CoreFXXUnitPackageVersion)</Version>
48 <PackageReference Include="xunit.extensibility.execution">
49 <Version>$(CoreFXXUnitPackageVersion)</Version>
51 <PackageReference Include="xunit.runner.utility">
52 <Version>$(CoreFXXUnitPackageVersion)</Version>
54 <PackageReference Include="microsoft.xunit.netcore.extensions">
55 <Version>$(XUnitNetcoreExtensionsVersion)</Version>
57 <PackageReference Include="CoreFx.Private.TestUtilities">
58 <Version>$(MicrosoftPrivateCoreFxTestUtilitiesPackageVersion)</Version>
60 <PackageReference Include="System.CodeDom">
61 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
63 <PackageReference Include="System.Configuration.ConfigurationManager">
64 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
66 <PackageReference Include="System.Composition.Hosting">
67 <Version>$(SystemCompositionVersions)</Version>
69 <PackageReference Include="System.Composition.AttributedModel">
70 <Version>$(SystemCompositionVersions)</Version>
72 <PackageReference Include="System.Composition.Convention">
73 <Version>$(SystemCompositionVersions)</Version>
75 <PackageReference Include="System.Composition.Runtime">
76 <Version>$(SystemCompositionVersions)</Version>
78 <PackageReference Include="System.Composition.TypedParts">
79 <Version>$(SystemCompositionVersions)</Version>
81 <PackageReference Include="System.ComponentModel.Composition">
82 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
84 <PackageReference Include="System.Data.Odbc">
85 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
87 <PackageReference Include="System.Data.SqlClient">
88 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
90 <PackageReference Include="System.Diagnostics.PerformanceCounter">
91 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
93 <PackageReference Include="System.DirectoryServices">
94 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
96 <PackageReference Include="System.DirectoryServices.AccountManagement">
97 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
99 <PackageReference Include="System.DirectoryServices.Protocols">
100 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
102 <PackageReference Include="System.Drawing.Common">
103 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
105 <PackageReference Include="System.IO.Packaging">
106 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
108 <PackageReference Include="System.IO.Pipelines">
109 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
111 <PackageReference Include="System.IO.Ports">
112 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
114 <PackageReference Include="System.Management">
115 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
117 <PackageReference Include="System.Net.Http.WinHttpHandler">
118 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
120 <PackageReference Include="System.Net.WebSockets.WebSocketProtocol">
121 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
123 <PackageReference Include="System.Runtime.Caching">
124 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
126 <PackageReference Include="System.Reflection.Context">
127 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
129 <PackageReference Include="System.Security.Cryptography.ProtectedData">
130 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
132 <PackageReference Include="System.Security.Cryptography.Pkcs">
133 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
135 <PackageReference Include="System.Security.Cryptography.Xml">
136 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
138 <PackageReference Include="System.ServiceModel.Syndication">
139 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
141 <PackageReference Include="System.ServiceProcess.ServiceController">
142 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
144 <PackageReference Include="System.Text.Encoding.CodePages">
145 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
147 <PackageReference Include="System.Text.Encodings.Web">
148 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
150 <PackageReference Include="System.Threading.AccessControl">
151 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
153 <PackageReference Include="System.Threading.Channels">
154 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
156 <PackageReference Include="System.Json">
157 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
161 <ItemGroup Condition="'$(OSGroup)' == 'Windows_NT'">
162 <!-- Windows Dependencies -->
163 <PackageReference Include="Microsoft.Win32.Registry.AccessControl">
164 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
166 <PackageReference Include="Microsoft.Win32.SystemEvents">
167 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
169 <PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent">
170 <Version>$(MicrosoftDiagnosticsTracingTraceVentVersion)</Version>
174 <ItemGroup Condition="'$(OSGroup)' != 'Windows_NT'">
175 <PackageReference Include="Microsoft.DotNet.PlatformAbstractions">
176 <Version>$(MicrosoftDotnetPlatformAbstractionsVersion)</Version>
181 <PackageToInclude Include="@(PackageReference -> '%(Identity)' )"/>
183 <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
185 <ProjectAssetsFile>$(SourceDir)Common\CoreFX\obj\project.assets.json</ProjectAssetsFile>