Rename msbuild prop UseRaylibCsPackage to RaylibCsForceLocalNuget
This commit is contained in:
parent
45838ac416
commit
9073448241
4 changed files with 11 additions and 11 deletions
|
|
@ -53,16 +53,16 @@
|
|||
<Using Include="System.Numerics"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(UseRaylibCsPackage)' != 'true'">
|
||||
<ItemGroup Condition="'$(RaylibCsForceLocalNuget)' != 'true'">
|
||||
<ProjectReference Include="..\Raylib-cs\Raylib-cs.csproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\Raylib-cs\Raylib-cs.targets" Condition="'$(UseRaylibCsPackage)' != 'true'"/>
|
||||
<Import Project="..\Raylib-cs\Raylib-cs.targets" Condition="'$(RaylibCsForceLocalNuget)' != 'true'"/>
|
||||
|
||||
<ItemGroup Condition="'$(UseRaylibCsPackage)' == 'true'">
|
||||
<ItemGroup Condition="'$(RaylibCsForceLocalNuget)' == 'true'">
|
||||
<PackageReference Include="Raylib-cs" Version="$(RaylibCsVersion)"/>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'browser-wasm'">
|
||||
<WasmExtraFilesToDeploy Include="Web/index.html" TargetPath="index.html"/>
|
||||
<WasmExtraFilesToDeploy Include="Web/main.js" TargetPath="main.js"/>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ The browser-wasm configuration only activates when publishing with
|
|||
|
||||
- .NET 10 SDK
|
||||
- `dotnet workload install wasm-tools`
|
||||
- Raylib-cs (works with the local project, or nuget if MSBuild property `<UseRaylibCsPackage>` is `true`
|
||||
- Raylib-cs (works with the local project, or nuget if MSBuild property `<RaylibCsForceLocalNuget>` is `true`
|
||||
|
||||
## Build
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue