-
Notifications
You must be signed in to change notification settings - Fork 791
/
Copy pathdotnet-grpc.csproj
83 lines (74 loc) · 3.9 KB
/
dotnet-grpc.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Command line tool for gRPC projects</Description>
<PackageTags>gRPC RPC CLI</PackageTags>
<IsGrpcPublishedPackage>true</IsGrpcPublishedPackage>
<TargetFramework>net6.0</TargetFramework>
<OutputType>exe</OutputType>
<PackAsTool>true</PackAsTool>
<RootNamespace>Grpc.Dotnet.Cli</RootNamespace>
<!-- Disable analysis for ConfigureAwait(false) -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CA2007</WarningsNotAsErrors>
<NoWarn>$(NoWarn);CA2007</NoWarn>
<!-- The roll forward policy is set to LatestMajor to allow rolling forward to latest major and minor
version of the runtime even if requested major (netcoreapp3.1) is present. This ensures that the runtime
contains assemblies that are equal or newer than neede by the SDK assemblies resolved by the MSBuild locator.
See https://github.com/dotnet/designs/blob/main/accepted/2019/runtime-binding.md#rollforward for details-->
<RollForward>LatestMajor</RollForward>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildPackageVersion)" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorPackageVersion)" />
<PackageReference Include="System.CommandLine.Rendering" Version="$(SystemCommandLineRenderingPackageVersion)" />
<PackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsPackageVersion)" />
<PackageReference Include="Microsoft.Win32.Registry" Version="$(MicrosoftWin32RegistryLinePackageVersion)" />
</ItemGroup>
<ItemGroup>
<!-- Parameter1: PackageName -->
<!-- Parameter2: PackageVersion -->
<!-- Parameter3: PrivateAssets -->
<!-- Parameter4: ApplicableServiceType -->
<!-- Parameter5: ApplicableToWebProjects (Optional: default is null, i.e. applies to both web and non-web projects) -->
<AssemblyAttribute Include="Grpc.Dotnet.Cli.Internal.GrpcDependencyAttribute">
<_Parameter1>Google.Protobuf</_Parameter1>
<_Parameter2>$(GoogleProtobufPackageVersion)</_Parameter2>
<_Parameter3>Default</_Parameter3>
<_Parameter4>Client;None</_Parameter4>
</AssemblyAttribute>
<AssemblyAttribute Include="Grpc.Dotnet.Cli.Internal.GrpcDependencyAttribute">
<_Parameter1>Grpc.AspNetCore</_Parameter1>
<_Parameter2>$(GrpcDotnetVersion)</_Parameter2>
<_Parameter3>Default</_Parameter3>
<_Parameter4>Both;Server</_Parameter4>
</AssemblyAttribute>
<AssemblyAttribute Include="Grpc.Dotnet.Cli.Internal.GrpcDependencyAttribute">
<_Parameter1>Grpc.Net.ClientFactory</_Parameter1>
<_Parameter2>$(GrpcDotnetVersion)</_Parameter2>
<_Parameter3>Default</_Parameter3>
<_Parameter4>Client</_Parameter4>
<_Parameter5>false</_Parameter5>
</AssemblyAttribute>
<AssemblyAttribute Include="Grpc.Dotnet.Cli.Internal.GrpcDependencyAttribute">
<_Parameter1>Grpc.AspNetCore.Server.ClientFactory</_Parameter1>
<_Parameter2>$(GrpcDotnetVersion)</_Parameter2>
<_Parameter3>Default</_Parameter3>
<_Parameter4>Client</_Parameter4>
<_Parameter5>true</_Parameter5>
</AssemblyAttribute>
<AssemblyAttribute Include="Grpc.Dotnet.Cli.Internal.GrpcDependencyAttribute">
<_Parameter1>Grpc.Tools</_Parameter1>
<_Parameter2>$(GrpcToolsPackageVersion)</_Parameter2>
<_Parameter3>All</_Parameter3>
<_Parameter4>Client;None</_Parameter4>
</AssemblyAttribute>
<Compile Update="Properties\CoreStrings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>CoreStrings.resx</DependentUpon>
</Compile>
<EmbeddedResource Update="Properties\CoreStrings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>CoreStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>