Files
Ingvar Stepanyan 24d1750b1f Bump ABI version for C# AOT (#1311)
Looks like these constants got missed during upgrade, making AOT version ABI-incompatible.

Unfortunately, there's no way to use a central constant here, so we probably should add it to some "steps to do during ABI version bump" doc.
2024-05-31 17:40:49 +00:00

30 lines
1.3 KiB
XML

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WasmSingleFileBundle>true</WasmSingleFileBundle>
<TrimMode>full</TrimMode>
<InvariantGlobalization>true</InvariantGlobalization>
<EventSourceSupport>false</EventSourceSupport>
<UseSystemResourceKeys>true</UseSystemResourceKeys>
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
<PropertyGroup Condition="'$(EXPERIMENTAL_WASM_AOT)' == '1'">
<OutputType>Library</OutputType>
<NativeLib>Shared</NativeLib>
<DefineConstants>$(DefineConstants);EXPERIMENTAL_WASM_AOT</DefineConstants>
<MSBuildEnableWorkloadResolver>false</MSBuildEnableWorkloadResolver>
<UseAppHost>false</UseAppHost>
<SpacetimeNamespace>spacetime_8.0</SpacetimeNamespace>
<RestoreAdditionalProjectSources>https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json</RestoreAdditionalProjectSources>
</PropertyGroup>
<PropertyGroup Condition="'$(EXPERIMENTAL_WASM_AOT)' != '1'">
<!-- needs to be exe for initializers to be embedded correctly -->
<OutputType>Exe</OutputType>
<!-- conditional due to https://github.com/dotnet/runtime/issues/86186 which is not fixed in NAOT-LLVM -->
<DebuggerSupport>false</DebuggerSupport>
</PropertyGroup>
</Project>