Source Link errors: uriString
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
i am trying to use Source Link on my own internal packages but keep getting the following error:
```
Locating source for '/_/Base/StartupBase.cs'. Checksum: SHA256 {48 d6 ca 39 f4 b8 55 7c 65 ae e 76 d8 3a ab 20 2a 19 3c 63 36 cd 48 67 e5 80 e3 ab d8 d0 1d f1}
Looking in script documents for '/_/Base/StartupBase.cs'...
Looking in the projects for '/_/Base/StartupBase.cs'.
The file was not found in a project.
Looking in directory 'C:\Projects\GIT\\'...
Looking in directory 'C:\Projects\GIT\\'...
Looking in directory 'C:\Projects\GIT\\\'...
Searching for documents embedded in the symbol file.
An embedded document was not found.
Looking for source using Source Link (ssh://:22//items?api-version=1.0&versionType=commit&version=4dd0db19247f3bd06bef4f14c07075ee96f08e50&path=/Base/StartupBase.cs)...
Source Link errors:
uriString
The file was not found with Source Link.
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: /_/Base/StartupBase.cs.
The debugger could not locate the source file '/_/Base/StartupBase.cs'.
```
- The pdbs are loaded (i can see them in them modules window)
- When i manually tell him to use a path to source files on the filesystem than it works
- When i take the url `(ssh://:22//items?api-version=1.0&versionType=commit&version=4dd0db19247f3bd06bef4f14c07075ee96f08e50&path=/Base/StartupBase.cs` and type it in the browser as `(https://:443//items?api-version=1.0&versionType=commit&version=4dd0db19247f3bd06bef4f14c07075ee96f08e50&path=/Base/StartupBase.cs` than i also can find and retrieve the file
Specs:
- Net6
- VS 2022 Version 17.3.0 Preview 1.0
- Azure DevOps (on-prem)
- Source Link: "Microsoft.SourceLink.AzureDevOpsServer.Git" Version="1.1.1"
- Nuget package is not embedded; i am using a symbol server adress for pdb loading (ProGet Artifactory)
Regards
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.