Commit 394866c0 authored by Cameron Taggart's avatar Cameron Taggart Committed by Jie Luo

enable source link for csharp (#4179)

parent 4600f789
@rem Builds Google.Protobuf NuGet packages @rem Builds Google.Protobuf NuGet packages
dotnet restore src/Google.Protobuf.sln dotnet restore src/Google.Protobuf.sln
dotnet pack -c Release src/Google.Protobuf.sln || goto :error dotnet pack -c Release src/Google.Protobuf.sln /p:SourceLinkCreate=true || goto :error
goto :EOF goto :EOF
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
<PackageLicenseUrl>https://github.com/google/protobuf/blob/master/LICENSE</PackageLicenseUrl> <PackageLicenseUrl>https://github.com/google/protobuf/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/google/protobuf.git</RepositoryUrl> <RepositoryUrl>https://github.com/google/protobuf.git</RepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup> </PropertyGroup>
<!-- <!--
...@@ -30,4 +28,8 @@ ...@@ -30,4 +28,8 @@
<TargetFrameworks>netstandard1.0</TargetFrameworks> <TargetFrameworks>netstandard1.0</TargetFrameworks>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.7.6" PrivateAssets="All" />
</ItemGroup>
</Project> </Project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment