We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SourceLink generated in the PDB for Bitbucket is wrong.
Genarated Link - https://company.com/scm/catman/dataaccesstest/raw/e979641cb570abd2f17d04683ba6a4add014a2dc/SqlDbParameters.cs
Expected Link - https://company.com/projects/catman/repos/dataaccesstest/raw/SqlDbParameters.cs?at=e979641cb570abd2f17d04683ba6a4add014a2dc
Template - http://yourserver.com/projects/{projectKey}/repos/{repositoryKey}/raw/{pathToFile}.extension?at={commitHash}
Environment details - Visual Studio 2019 Bitbucket Enterprise v5.12.1 (Company Private Repo)
csproject -
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <RepositoryUrl>https://company.com/scm/catman/dataaccesstest.git</RepositoryUrl> <RepositoryType>git</RepositoryType> <PublishRepositoryUrl>true</PublishRepositoryUrl> <EmbedUntrackedSources>true</EmbedUntrackedSources> <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.SourceLink.Bitbucket.Git" Version="1.0.0-beta2-18618-05"> <PrivateAssets>all</PrivateAssets> </PackageReference> </ItemGroup> </Project>
I am currently stuck, please help, how can I get the expected link as mentioned above.
The text was updated successfully, but these errors were encountered:
Do you think #246 may fix this?
Sorry, something went wrong.
I think so but can't confirm till I test the fix.
The issue is fixed - #246 (comment)
No branches or pull requests
SourceLink generated in the PDB for Bitbucket is wrong.
Genarated Link -
https://company.com/scm/catman/dataaccesstest/raw/e979641cb570abd2f17d04683ba6a4add014a2dc/SqlDbParameters.cs
Expected Link -
https://company.com/projects/catman/repos/dataaccesstest/raw/SqlDbParameters.cs?at=e979641cb570abd2f17d04683ba6a4add014a2dc
Template -
http://yourserver.com/projects/{projectKey}/repos/{repositoryKey}/raw/{pathToFile}.extension?at={commitHash}
Environment details -
Visual Studio 2019
Bitbucket Enterprise v5.12.1 (Company Private Repo)
csproject -
I am currently stuck, please help, how can I get the expected link as mentioned above.
The text was updated successfully, but these errors were encountered: