Watch
2
0
Fork
You've already forked raylib-cs
0
raylib-cs/Directory.Build.targets

10 lines
632 B
XML

<Project>
<!-- The net8-era wasm workload (Microsoft.NET.Runtime.WebAssembly.Sdk 8.0.x, imported for
RID browser-wasm) unconditionally sets OutputType=Exe after project evaluation, which
breaks the net8.0 classlib build with CS5001. Pin it back to Library here: this file is
imported after the workload props, so the assignment wins. (net10's wasm SDK leaves
OutputType alone; Examples stays an Exe and is excluded.) -->
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Raylib-cs' And '$(RuntimeIdentifier)' == 'browser-wasm'">
<OutputType>Library</OutputType>
</PropertyGroup>
</Project>