-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLeanCode.ContractsGenerator.csproj
46 lines (36 loc) · 1.75 KB
/
LeanCode.ContractsGenerator.csproj
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
40
41
42
43
44
45
46
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<PreserveCompilationContext>true</PreserveCompilationContext>
<RootNamespace>LeanCode.ContractsGenerator</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<PackageID Condition="'$(PackAsGlobalTool)' == 'true'">dotnet-contracts-generate</PackageID>
<PackAsTool>true</PackAsTool>
<ToolCommandName>dotnet-contracts-generate</ToolCommandName>
</PropertyGroup>
<ItemGroup>
<Protobuf Include="../../contracts.proto" GrpcServices="None" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../LeanCode.Contracts/LeanCode.Contracts.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" />
<PackageReference Include="Google.Protobuf" />
<PackageReference Include="Grpc.Tools">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.Build" ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="Microsoft.Build.Locator" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" />
<PackageReference Include="System.Reflection.MetadataLoadContext" />
</ItemGroup>
</Project>