summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj')
-rw-r--r--csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj b/csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj
index cf5952fb58e..509caeaa8dc 100644
--- a/csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj
+++ b/csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj
@@ -4,12 +4,14 @@
<PropertyGroup>
<AssemblyName>serveramd</AssemblyName>
<OutputType>Exe</OutputType>
- <UseAppHost>true</UseAppHost>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<OutputPath>.</OutputPath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(AppTargetFramework)' == 'netcoreapp3.1'">
+ <UseAppHost>true</UseAppHost>
+ </PropertyGroup>
<ItemGroup>
<Compile Include="../../../../../TestCommon/TestHelper.cs" />
<Compile Include="../../../ThrowerAMDI.cs" />