]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/thrift/tutorial/netcore/Interfaces/Interfaces.csproj
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / tutorial / netcore / Interfaces / Interfaces.csproj
1 <Project Sdk="Microsoft.NET.Sdk">
2
3 <PropertyGroup>
4 <TargetFramework>netstandard2.0</TargetFramework>
5 <AssemblyName>Interfaces</AssemblyName>
6 <PackageId>Interfaces</PackageId>
7 <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
8 <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
9 <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
10 <GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
11 </PropertyGroup>
12
13 <ItemGroup>
14 <ProjectReference Include="../../../lib/netcore/Thrift/Thrift.csproj" />
15 </ItemGroup>
16
17 <ItemGroup>
18 <PackageReference Include="System.ServiceModel.Primitives" Version="[4.4,)" />
19 </ItemGroup>
20
21 <Target Name="PreBuild" BeforeTargets="_GenerateRestoreProjectSpec;Restore;Compile">
22 <Exec Condition="'$(OS)' == 'Windows_NT'" Command="where thrift" ConsoleToMSBuild="true">
23 <Output TaskParameter="ConsoleOutput" PropertyName="PathToThrift" />
24 </Exec>
25 <Exec Condition="Exists('$(PathToThrift)')" Command="$(PathToThrift) -out $(ProjectDir) -gen netcore:wcf,union,serial,hashcode -r ./../../tutorial.thrift" />
26 <Exec Condition="Exists('thrift')" Command="thrift -out $(ProjectDir) -gen netcore:wcf,union,serial,hashcode -r ./../../tutorial.thrift" />
27 <Exec Condition="Exists('./../../../compiler/cpp/thrift')" Command="./../../../compiler/cpp/thrift -out $(ProjectDir) -gen netcore:wcf,union,serial,hashcode -r ./../../tutorial.thrift" />
28 </Target>
29
30 </Project>