Commit f071c9e0 authored by Jan Tattermusch's avatar Jan Tattermusch Committed by Jie Luo

fix source stepping by upgrading sourcelink (#5891)

parent 36fa3c6d
@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 /p:SourceLinkCreate=true || goto :error dotnet pack -c Release src/Google.Protobuf.sln || goto :error
goto :EOF goto :EOF
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
<PackageLicenseUrl>https://github.com/protocolbuffers/protobuf/blob/master/LICENSE</PackageLicenseUrl> <PackageLicenseUrl>https://github.com/protocolbuffers/protobuf/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/protocolbuffers/protobuf.git</RepositoryUrl> <RepositoryUrl>https://github.com/protocolbuffers/protobuf.git</RepositoryUrl>
<!-- Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup> </PropertyGroup>
<!-- <!--
...@@ -30,7 +32,7 @@ ...@@ -30,7 +32,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" PrivateAssets="All" Version="2.7.6"/> <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
</ItemGroup> </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