summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/exceptions/msbuild/serveramd/netstandard2.0/serveramd.csproj
blob: 844d4498fd8e1f51e4072d0732b0e1a7eac3b077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
  <Import Project="../../../../../../msbuild/ice.common.props" />
  <PropertyGroup>
    <AssemblyName>serveramd</AssemblyName>
    <OutputType>Exe</OutputType>
    <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" />
    <Compile Include="../../../EmptyAMDI.cs" />
    <Compile Include="../../../ServantLocatorI.cs" />
    <Compile Include="../../../ServerAMD.cs" />
    <Compile Include="generated\TestAMD.cs">
      <SliceCompileSource>../../../TestAMD.ice</SliceCompileSource>
    </Compile>
    <PackageReference Include="zeroc.icebuilder.msbuild" Version="5.0.6" />
    <SliceCompile Include="../../../TestAMD.ice" />
  </ItemGroup>
  <Choose>
    <When Condition="'$(ICE_BIN_DIST)' == 'all'">
      <ItemGroup>
        <PackageReference Include="zeroc.ice.net" Version="3.8.0" />
      </ItemGroup>
    </When>
    <Otherwise>
      <ItemGroup>
        <Reference Include="../../../../../../lib/netstandard2.0/Ice.dll" />
      </ItemGroup>
    </Otherwise>
  </Choose>
</Project>