a143553a09
.NET Build and Publish / build (push) Has been cancelled
* .net10 attempt 2 * bump csharpier * drop sln * supress stream analyers for test projects * readme * fix package locks post merge * Microsoft.Extensions.DependencyInjection * Simplify the dependency structure * don't bump graphql client for netstandard and net8 targets * Fix test
64 lines
3.6 KiB
XML
64 lines
3.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup Label="Compiler Properties">
|
|
<TargetFrameworks>netstandard2.0;net8.0;net10.0</TargetFrameworks>
|
|
<Configurations>Debug;Release;Local</Configurations>
|
|
<ILRepackTargetConfigurations>Debug;Release;Local</ILRepackTargetConfigurations>
|
|
<ILRepackRenameInternalized>true</ILRepackRenameInternalized>
|
|
<ILRepackMergeDebugSymbols>true</ILRepackMergeDebugSymbols>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Nugetspec Package Properties">
|
|
<PackageId>Speckle.Sdk.Dependencies</PackageId>
|
|
<Description>The .NET SDK for Speckle</Description>
|
|
<PackageTags>$(PackageTags) core sdk</PackageTags>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Nuget Package Properties">
|
|
<IsPackable>true</IsPackable>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
<ItemGroup Label="Package References">
|
|
<PackageReference Include="ILRepack.FullAuto">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Extensions.ObjectPool" PrivateAssets="all" />
|
|
<PackageReference Include="Polly" PrivateAssets="all" />
|
|
<PackageReference Include="Polly.Contrib.WaitAndRetry" PrivateAssets="all" />
|
|
<PackageReference Include="Polly.Extensions.Http" PrivateAssets="all" />
|
|
<PackageReference Include="Open.ChannelExtensions" PrivateAssets="all" />
|
|
<PackageReference Include="System.Threading.Channels" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
|
|
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" />
|
|
</ItemGroup>
|
|
<Target Name="BeforeILRepackPrepareBuild" BeforeTargets="ILRepackPrepareBuild">
|
|
<ItemGroup>
|
|
<!--
|
|
We're Being selective about which assemblies we're il-repacking
|
|
Avoiding repacling `Microsoft.Bcl.AsyncInterfaces.dll` because we need types like `ValueTask` and `IAsyncEnumerable` to be external
|
|
|
|
Yes, this does beg the question, why are we using `IlRepack.FullAuto` instead of raw ILRepack. Well the truth is, I'd like to move away from FullAuto
|
|
since it's unmaintaned and is lagging behind ILRepack version.
|
|
-->
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)System.Numerics.Vectors.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)System.Runtime.CompilerServices.Unsafe.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)System.Memory.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)Open.ChannelExtensions.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)System.Threading.Channels.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)System.Collections.Immutable.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)Polly.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)Polly.Contrib.WaitAndRetry.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)Polly.Extensions.Http.dll" />
|
|
<_ILRepackIncludeAssemblies_Items Include="$(OutputPath)Microsoft.Extensions.ObjectPool.dll" />
|
|
<_ILRepackExcludeAssemblies_Items Include="$(OutputPath)*.dll" Exclude="@(_ILRepackIncludeAssemblies_Items)" />
|
|
</ItemGroup>
|
|
<Message
|
|
Text="These are the packages we are NOT ilrepacking '@(_ILRepackExcludeAssemblies_Items)'"
|
|
Importance="high"
|
|
/>
|
|
<PropertyGroup>
|
|
<ILRepackExcludeAssemblies>@(_ILRepackExcludeAssemblies_Items)</ILRepackExcludeAssemblies>
|
|
</PropertyGroup>
|
|
</Target>
|
|
</Project>
|