mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 09:34:49 +09:00

* ApiCompat infra changes * Convert baseline to suppression files * ApiCompat.proj * update suppressions * sorted suppressions * rebase and update suppressions * enable attribute and param rules * Enable optional rules * WebAssemblyThreading proj * CompatSuppression for XmlREaderWriter * Enable optional rules correctly... * ThreadPool UnsupportedOSPlatformAttribute * VBCore CP0017 * Migrate all CoreLibs over * Update ApiCompat.proj * Add ApiCompat.proj baselines * Update ApiCompat.proj * Clean-up suppression files with nint/IntPtr fix * Clean-up CoreLib suppression * Update suppression files with latest apicompat fix * Update suppression files * update suppressions * Update suppression files * Clean-up obsolete suppression files * Update suppression files * update suppressions * huge reduction in suppression file size * update suppressions * more suppressions removed * update suppressions * Update dependencies and clean-up * Add suppression files for CoreLib and fix path * Update CoreLib coreclr suppression file * Update coreclr suppression files * Suppression file fixes and Linux path fixes * Update coreclr suppression again) * Fix suppression file path calculation * Fix previous mistake * Diagnostics.Tracing suppression file * Threading suppression file fix * use global suppression for CryptoSignedXmlRecursionException * Add Specification.Tests suppression * Disable NoTargets ref copying * Fix for coreclr build * Avoid duplicate project evals Co-authored-by: smasher164 <akhilindurti@microsoft.com> Co-authored-by: Akhil Indurti <aindurti@gmail.com>
59 lines
3.3 KiB
XML
59 lines
3.3 KiB
XML
<Project>
|
|
|
|
<Import Project="..\Directory.Build.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>$(NetCoreAppCurrent)-$(TargetOS)</TargetFramework>
|
|
<Nullable>disable</Nullable>
|
|
<!-- By default make shims compile against reference assemblies. -->
|
|
<CompileUsingReferenceAssemblies>true</CompileUsingReferenceAssemblies>
|
|
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
|
|
<GenFacadesIgnoreMissingTypes>true</GenFacadesIgnoreMissingTypes>
|
|
<!-- ensure the desktop compat shims reference the lowest possible version of dependencies
|
|
since those do not all ship as part of the framework and we don't want to force apps
|
|
to reference the latest packages.
|
|
netstandard.dll doesn't need to do this since it has no dangling dependencies -->
|
|
<GenFacadesForceZeroVersionSeeds Condition="'$(MSBuildProjectName)' != 'netstandard'">true</GenFacadesForceZeroVersionSeeds>
|
|
<!-- Opt out of some features which are on by default. -->
|
|
<EnableLibraryImportGenerator>false</EnableLibraryImportGenerator>
|
|
<ApiCompatValidateAssemblies>false</ApiCompatValidateAssemblies>
|
|
<ILLinkTrimAssembly>false</ILLinkTrimAssembly>
|
|
<AddOSPlatformAttributes>false</AddOSPlatformAttributes>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(MSBuildProjectName)' == 'System.Runtime' or
|
|
'$(MSBuildProjectName)' == 'mscorlib' or
|
|
'$(MSBuildProjectName)' == 'netstandard'">
|
|
<!-- Omit System.Void since C# doesn't permit the use of the `System.Void`
|
|
typename and instead requires callers to use the `void` keyword. -->
|
|
<GenFacadesOmitType Include="System.Void" />
|
|
<Compile Include="$(MSBuildThisFileDirectory)System.Void.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Include any forwards needed by both ref and src projects. -->
|
|
<Compile Include="$(MSBuildThisFileDirectory)$(MSBuildProjectName).forwards.cs"
|
|
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildProjectName).forwards.cs')" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)..\sfx-src.proj" Condition="'$(RefOnly)' != 'true'" />
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)..\sfx-ref.proj" Condition="'$(RefOnly)' == 'true'" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(MSBuildProjectName)' != 'netstandard'">
|
|
<!-- .NET Framework shims compile against OOBs and the netstandard shim. -->
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)src\netstandard.csproj" />
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)..\oob-src.proj" Condition="'$(RefOnly)' != 'true'" />
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)..\oob-ref.proj" Condition="'$(RefOnly)' == 'true'" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- System.Data.SqlClient is not live built anymore, reference it manually to avoid tfm nuget selection fallback errors
|
|
when the TargetOS i.e. is MacCatalyst. Set Private false so that it doesn't flow down to consuming projects. -->
|
|
<PackageDownload Include="System.Data.SqlClient"
|
|
Version="[$(SystemDataSqlClientVersion)]" />
|
|
<Reference Include="$([MSBuild]::NormalizePath('$(NuGetPackageRoot)', 'system.data.sqlclient', '$(SystemDataSqlClientVersion)', 'ref', 'netcoreapp2.1', 'System.Data.SqlClient.dll'))" Private="false" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|