Closed sabarim14 closed 4 years ago
See https://github.com/dotnet/sourcelink instead
I followed the procedure mentioned in that link.
My source is TFS: Class Library .Net Framework: 4.5.2
I included below set of code in my .csproj file
`PropertyGroup>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
`
`
`
What is "VirutalDirectory" -> what should go in there?
When I deploy the package it creates .nupkg in a network location. should I publish the .pub file in same location? How does it work? Could you please help.
Should my package deployed somewhere else to get downloaded?
Thanks for your help!
May be open an issue there instead.
Thanks! I did
I have a library created using Visual Studio (.Net Standard), Source Control: TFS Released using : Jenkins
We deploy the library into a certain network location and use it as a custom Nuget package. We want this library to be sourceLink enabled.
There is no document, or video tutorial on how to make the library sourceLink enabled.
Could you show me a video tutorial on how to make a library SourceLink enabled from scratch, which helps naive developers.