Add REFUEL_TARGET_FRAMEWORKS to the CSPROJ
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net10.0</TargetFrameworks>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>0.0.1</Version>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
This section allows the target frameworks to be specified at build time using the environment variable
|
||||
REFUEL_TARGET_FRAMEWORKS, which is defined by the NUGET compiling docker image.
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="$(REFUEL_TARGET_FRAMEWORKS) == ''">
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(REFUEL_TARGET_FRAMEWORKS) != ''">
|
||||
<TargetFrameworks>$(REFUEL_GLTF_TARGET_FRAMEWORKS)</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user