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>
18 <!-- Switch RuntimeIdentifier according to currently running OSGroup -->
20 <RuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT'">win-x64</RuntimeIdentifier>
21 <RuntimeIdentifier Condition="'$(OSGroup)' == 'Linux'">linux-x64</RuntimeIdentifier>
22 <RuntimeIdentifier Condition="'$(OSGroup)' == 'OSX'">osx-x64</RuntimeIdentifier>
23 <NugetRuntimeIdentifier>$(RuntimeIdentifier)</NugetRuntimeIdentifier>
27 <PackageReference Include="System.CodeDom">
28 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
30 <PackageReference Include="System.Configuration.ConfigurationManager">
31 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
33 <PackageReference Include="System.Composition.Hosting">
34 <Version>$(SystemCompositionVersions)</Version>
36 <PackageReference Include="System.Composition.AttributedModel">
37 <Version>$(SystemCompositionVersions)</Version>
39 <PackageReference Include="System.Composition.Convention">
40 <Version>$(SystemCompositionVersions)</Version>
42 <PackageReference Include="System.Composition.Runtime">
43 <Version>$(SystemCompositionVersions)</Version>
45 <PackageReference Include="System.Composition.TypedParts">
46 <Version>$(SystemCompositionVersions)</Version>
48 <PackageReference Include="System.ComponentModel.Composition">
49 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
51 <PackageReference Include="System.Data.Odbc">
52 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
54 <PackageReference Include="runtime.native.System.Data.SqlClient.sni">
55 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
57 <PackageReference Include="System.Security.Principal.Windows">
58 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
60 <PackageReference Include="System.Text.Encoding.CodePages">
61 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
63 <PackageReference Include="System.Diagnostics.DiagnosticSource">
64 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
66 <PackageReference Include="System.Data.SqlClient">
67 <!-- The 4.6 packages of System.Data.SqlClient have a version of 4.5 in the dll so they fail to load -->
68 <Version>4.7.0-preview4.19164.7</Version>
70 <PackageReference Include="System.Diagnostics.PerformanceCounter">
71 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
73 <PackageReference Include="System.DirectoryServices">
74 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
76 <PackageReference Include="System.DirectoryServices.AccountManagement">
77 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
79 <PackageReference Include="System.DirectoryServices.Protocols">
80 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
82 <PackageReference Include="System.Drawing.Common">
83 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
85 <PackageReference Include="System.IO.Packaging">
86 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
88 <PackageReference Include="System.IO.Pipelines">
89 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
91 <PackageReference Include="System.IO.Ports">
92 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
94 <PackageReference Include="System.Management">
95 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
97 <PackageReference Include="System.Net.Http.WinHttpHandler">
98 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
100 <PackageReference Include="System.Net.WebSockets.WebSocketProtocol">
101 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
103 <PackageReference Include="System.Reflection.MetadataLoadContext">
104 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
106 <PackageReference Include="System.Runtime.Caching">
107 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
109 <PackageReference Include="System.Reflection.Context">
110 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
112 <PackageReference Include="System.Security.Cryptography.ProtectedData">
113 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
115 <PackageReference Include="System.Security.Cryptography.Pkcs">
116 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
118 <PackageReference Include="System.Security.Cryptography.Xml">
119 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
121 <PackageReference Include="System.ServiceModel.Syndication">
122 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
124 <PackageReference Include="System.ServiceProcess.ServiceController">
125 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
127 <PackageReference Include="System.Text.Encoding.CodePages">
128 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
130 <PackageReference Include="System.Text.Encodings.Web">
131 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
133 <PackageReference Include="System.Threading.AccessControl">
134 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
136 <PackageReference Include="System.Threading.Channels">
137 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
139 <PackageReference Include="System.Json">
140 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
142 <PackageReference Include="Microsoft.Bcl.AsyncInterfaces">
143 <Version>$(MicrosoftBclAsyncInterfacesVersion)</Version>
146 <ItemGroup Condition="'$(OSGroup)' == 'Windows_NT'">
147 <!-- Windows Dependencies -->
148 <PackageReference Include="Microsoft.Win32.Registry">
149 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
151 <PackageReference Include="Microsoft.Win32.Registry.AccessControl">
152 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
154 <PackageReference Include="Microsoft.Win32.SystemEvents">
155 <Version>$(MicrosoftPrivateCoreFxNETCoreAppVersion)</Version>
157 <PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent">
158 <Version>$(MicrosoftDiagnosticsTracingTraceVentVersion)</Version>
162 <ItemGroup Condition="'$(OSGroup)' != 'Windows_NT'">
163 <PackageReference Include="Microsoft.DotNet.PlatformAbstractions">
164 <Version>$(MicrosoftDotnetPlatformAbstractionsVersion)</Version>
169 <PackageToInclude Include="@(PackageReference -> '%(Identity)' )"/>
171 <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
173 <ProjectAssetsFile>$(SourceDir)Common\CoreFX\obj\project.assets.json</ProjectAssetsFile>