Abp: source link broken

Created on 3 Apr 2020  路  8Comments  路  Source: abpframework/abp

only afew package contains source link.
image

image

but i can debug setp into core dll
image

and i can not setp into app dll.eg:CheckGetListPolicyAsync funciton and ApplySorting function
image

enhancement

Most helpful comment

@maliming please quick ,very thanks

All 8 comments

SourceLink.Create.CommandLine doesn't seem to work in net core 3.x anymore.

Any update on this issue? Beeing able to debug the abp packages is really essential.

hi, @KevinBassaDevelopment This problem is related to the .net core, we are waiting for the above issue.

https://github.com/shiftkey/dotnetcore-sourcelink-test-bug
shiftkey/dotnetcore-sourcelink-test-bug#1

@maliming please quick ,very thanks

There is nothing I can do except waiting. https://github.com/abpframework/abp/issues/3462#issuecomment-671848281

Just leave a workaround if you have the below issue:
If you are using Azure DevOps pipeline to build abp applications, you may see the error:

##[error]/home/vsts/.nuget/packages/sourcelink.create.commandline/2.8.3/build/SourceLink.Create.CommandLine.targets(30,5): Error : unable to convert OriginUrl: https://xxxx

FYI: https://support.abp.io/QA/Questions/60/Azure-Devops-Build-Pipeline-SourceLinkCreateCommandLine-Error
You can edit the common.props file in your solution folder and delete the reference to the SourceLink.Create.CommandLine package then the pipeline can work correctly.

/root/.nuget/packages/sourcelink.create.commandline/2.8.3/build/SourceLink.Create.CommandLine.targets(30,5): error : unable to convert OriginUrl: https://gitlab-ci-token:....
The same issue we face when trying to build a nuget package. @yanxiaodi workaround solves the issue. I wonder if there's any premanent fix!

Was this page helpful?
0 / 5 - 0 ratings