Skip to content

Commit 9414fdc

Browse files
authored
NuGet readme clean up and fixes (#1603)
1 parent 6a8387a commit 9414fdc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Grpc.AspNetCore.Server/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public class Startup
1717
services.AddGrpc();
1818
}
1919

20-
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
2120
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
2221
{
2322
if (env.IsDevelopment())

src/Grpc.AspNetCore/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public class Startup
2121
services.AddGrpc();
2222
}
2323

24-
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
2524
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
2625
{
2726
if (env.IsDevelopment())

src/Grpc.Net.Client/Grpc.Net.Client.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<IsGrpcPublishedPackage>true</IsGrpcPublishedPackage>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
10+
<PackageReadmeFile>README.md</PackageReadmeFile>
1011
</PropertyGroup>
1112

1213
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1'">
@@ -22,6 +23,8 @@
2223
</ItemGroup>
2324

2425
<ItemGroup>
26+
<None Include="README.md" Pack="true" PackagePath="\" />
27+
2528
<Compile Include="..\Shared\CommonGrpcProtocolHelpers.cs" Link="Internal\CommonGrpcProtocolHelpers.cs" />
2629
<Compile Include="..\Shared\DefaultDeserializationContext.cs" Link="Internal\DefaultDeserializationContext.cs" />
2730
<Compile Include="..\Shared\HttpHandlerFactory.cs" Link="Internal\Http\HttpHandlerFactory.cs" />

0 commit comments

Comments
 (0)