summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/IceBox/msbuild/icebox/netstandard2.0/icebox.csproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/csharp/src/IceBox/msbuild/icebox/netstandard2.0/icebox.csproj b/csharp/src/IceBox/msbuild/icebox/netstandard2.0/icebox.csproj
index c224fc588fa..fe8429ebd78 100644
--- a/csharp/src/IceBox/msbuild/icebox/netstandard2.0/icebox.csproj
+++ b/csharp/src/IceBox/msbuild/icebox/netstandard2.0/icebox.csproj
@@ -3,12 +3,14 @@
<Import Project="../../../../../msbuild/ice.common.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
- <UseAppHost>true</UseAppHost>
<AssemblyName>iceboxnet</AssemblyName>
<Version>$(IceVersion)</Version>
<OutputPath>../../../../../bin</OutputPath>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
</PropertyGroup>
+ <PropertyGroup Condition="'$(AppTargetFramework)' == 'netcoreapp3.1'">
+ <UseAppHost>true</UseAppHost>
+ </PropertyGroup>
<ItemGroup>
<Compile Include="../../../AssemblyInfoExe.cs" />
<Compile Include="../../../Server.cs" />