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 <MicrosoftDiagnosticsTracingTraceVentVersion>2.0.19</MicrosoftDiagnosticsTracingTraceVentVersion>
15 <MicrosoftDotnetPlatformAbstractionsVersion>2.1.0</MicrosoftDotnetPlatformAbstractionsVersion>
16 <MicrosoftDiagnosticsRuntimePackageVersion>1.0.5</MicrosoftDiagnosticsRuntimePackageVersion>
19 <!-- Switch RuntimeIdentifier according to currently running OSGroup -->
21 <RuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT'">win-x64</RuntimeIdentifier>
22 <RuntimeIdentifier Condition="'$(OSGroup)' == 'Linux'">linux-x64</RuntimeIdentifier>
23 <RuntimeIdentifier Condition="'$(OSGroup)' == 'OSX'">osx-x64</RuntimeIdentifier>
24 <NugetRuntimeIdentifier>$(RuntimeIdentifier)</NugetRuntimeIdentifier>
28 <PackageReference Include="System.CodeDom">
29 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
31 <PackageReference Include="System.Configuration.ConfigurationManager">
32 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
34 <PackageReference Include="System.Composition.Hosting">
35 <Version>$(SystemCompositionVersions)</Version>
37 <PackageReference Include="System.Composition.AttributedModel">
38 <Version>$(SystemCompositionVersions)</Version>
40 <PackageReference Include="System.Composition.Convention">
41 <Version>$(SystemCompositionVersions)</Version>
43 <PackageReference Include="System.Composition.Runtime">
44 <Version>$(SystemCompositionVersions)</Version>
46 <PackageReference Include="System.Composition.TypedParts">
47 <Version>$(SystemCompositionVersions)</Version>
49 <PackageReference Include="System.ComponentModel.Composition">
50 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
52 <PackageReference Include="System.Data.Odbc">
53 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
55 <PackageReference Include="runtime.native.System.Data.SqlClient.sni">
56 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
58 <PackageReference Include="System.Security.Principal.Windows">
59 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
61 <PackageReference Include="System.Text.Encoding.CodePages">
62 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
64 <PackageReference Include="System.Diagnostics.DiagnosticSource">
65 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
67 <PackageReference Include="System.Data.SqlClient">
68 <!-- The 4.6 packages of System.Data.SqlClient have a version of 4.5 in the dll so they fail to load -->
69 <Version>4.7.0-preview4.19164.7</Version>
71 <PackageReference Include="System.Diagnostics.PerformanceCounter">
72 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
74 <PackageReference Include="System.DirectoryServices">
75 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
77 <PackageReference Include="System.DirectoryServices.AccountManagement">
78 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
80 <PackageReference Include="System.DirectoryServices.Protocols">
81 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
83 <PackageReference Include="System.Drawing.Common">
84 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
86 <PackageReference Include="System.IO.Packaging">
87 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
89 <PackageReference Include="System.IO.Pipelines">
90 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
92 <PackageReference Include="System.IO.Ports">
93 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
95 <PackageReference Include="System.Management">
96 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
98 <PackageReference Include="System.Net.Http.WinHttpHandler">
99 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
101 <PackageReference Include="System.Net.WebSockets.WebSocketProtocol">
102 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
104 <PackageReference Include="System.Reflection.MetadataLoadContext">
105 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
107 <PackageReference Include="System.Runtime.Caching">
108 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
110 <PackageReference Include="System.Reflection.Context">
111 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
113 <PackageReference Include="System.Security.Cryptography.ProtectedData">
114 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
116 <PackageReference Include="System.Security.Cryptography.Pkcs">
117 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
119 <PackageReference Include="System.Security.Cryptography.Xml">
120 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
122 <PackageReference Include="System.ServiceModel.Syndication">
123 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
125 <PackageReference Include="System.ServiceProcess.ServiceController">
126 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
128 <PackageReference Include="System.Text.Encoding.CodePages">
129 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
131 <PackageReference Include="System.Text.Encodings.Web">
132 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
134 <PackageReference Include="System.Threading.AccessControl">
135 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
137 <PackageReference Include="System.Threading.Channels">
138 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
140 <PackageReference Include="System.Json">
141 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
143 <PackageReference Include="Microsoft.Bcl.AsyncInterfaces">
144 <Version>$(MicrosoftBclAsyncInterfacesVersion)</Version>
147 <ItemGroup Condition="'$(OSGroup)' == 'Windows_NT'">
148 <!-- Windows Dependencies -->
149 <PackageReference Include="Microsoft.Win32.Registry">
150 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
152 <PackageReference Include="Microsoft.Win32.Registry.AccessControl">
153 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
155 <PackageReference Include="Microsoft.Win32.SystemEvents">
156 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
158 <PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent">
159 <Version>$(MicrosoftDiagnosticsTracingTraceVentVersion)</Version>
163 <ItemGroup Condition="'$(OSGroup)' != 'Windows_NT'">
164 <PackageReference Include="Microsoft.DotNet.PlatformAbstractions">
165 <Version>$(MicrosoftDotnetPlatformAbstractionsVersion)</Version>
170 <PackageReference Include="Microsoft.Diagnostics.Runtime">
171 <Version>$(MicrosoftDiagnosticsRuntimePackageVersion)</Version>
176 <PackageToInclude Include="@(PackageReference -> '%(Identity)' )"/>
178 <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
180 <ProjectAssetsFile>$(SourceDir)Common\CoreFX\obj\project.assets.json</ProjectAssetsFile>