Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Microsoft SourceLink and use <PublishRepositoryUrl> #54

Closed
SeanFeldman opened this issue Aug 20, 2018 · 0 comments
Closed

Switch to Microsoft SourceLink and use <PublishRepositoryUrl> #54

SeanFeldman opened this issue Aug 20, 2018 · 0 comments
Milestone

Comments

@SeanFeldman
Copy link
Owner

SeanFeldman commented Aug 20, 2018

<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

Then can get rid of explicitly setting RepositoryUrl and RepositoryType.

<ItemGroup Label="SourceLink to embed PDBs with the assembly">
<PackageReference Include="SourceLink.Create.GitHub" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="SourceLink.Copy.PdbFiles" Version="2.8.3" PrivateAssets="All" />
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.8.3" />
</ItemGroup>
would need to be replaced with <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant