mirror of
https://github.com/stride3d/stride.git
synced 2026-10-12 02:23:23 +00:00
Runtime assemblies now set <TargetFrameworks> from precomputed props-time sets (StrideRuntimeTargetFrameworks[/Windows/MacOS]) instead of the StrideRuntime boolean expanded in Stride.Frameworks.targets. Behaviour is identical (verified across platform configs); the literal element makes Roslyn MSBuildWorkspace tooling (LSPs, analyzers) treat them as SDK-style.
29 lines
1.0 KiB
XML
29 lines
1.0 KiB
XML
<Project>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'Directory.Build.props'))/sdk/Stride.Build.Sdk/Sdk/Sdk.props" />
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<StrideCodeAnalysis>true</StrideCodeAnalysis>
|
|
<TargetFrameworks>$(StrideRuntimeTargetFrameworks)</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
|
|
<StrideAssemblyProcessorOptions>--auto-module-initializer</StrideAssemblyProcessorOptions>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\shared\SharedAssemblyInfo.cs">
|
|
<Link>Properties\SharedAssemblyInfo.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Stride.Core\Stride.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(StrideRoot)sources/sdk/Stride.Build.Sdk/Sdk/Sdk.targets" />
|
|
</Project>
|