diff options
author | Benoit Foucher <benoit@zeroc.com> | 2020-03-10 14:33:07 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2020-03-10 14:33:07 +0100 |
commit | ca433f52a66cbd4dfe73b24a470232548ad8e3be (patch) | |
tree | cc3b4d6c4b09625e2e98e562fb9c518dc4baa06d /csharp/src | |
parent | Fixed C# exe projects to set <UseAppHost>true</UseAppHost> which is now disab... (diff) | |
download | ice-ca433f52a66cbd4dfe73b24a470232548ad8e3be.tar.bz2 ice-ca433f52a66cbd4dfe73b24a470232548ad8e3be.tar.xz ice-ca433f52a66cbd4dfe73b24a470232548ad8e3be.zip |
Fixed C# projects to set UseAppHost only with netcoreapp3.1
Diffstat (limited to 'csharp/src')
-rw-r--r-- | csharp/src/IceBox/msbuild/icebox/netstandard2.0/icebox.csproj | 4 |
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" /> |