Add REFUEL_TARGET_FRAMEWORKS to the CSPROJ
This commit is contained in:
@@ -1,10 +1,22 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net10.0</TargetFrameworks>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Version>0.0.1</Version>
|
<Version>0.0.1</Version>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</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>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user