-
Notifications
You must be signed in to change notification settings - Fork 132
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
Follow-up on VerifySourceLinkFileExists change in runtime #2883
Comments
…his returns source-build to its old behavior. Backport: dotnet/source-build#2883
…his returns source-build to its old behavior. (#76252) Backport: dotnet/source-build#2883
It seems that source-link is disabled intentionally, in at least two ways. First one is the property we pass to inner build, to disable sourcelink: https://github.com/dotnet/arcade/blob/5f197ad089ea714c7fea7d7e61ffb43d166de809/src/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets#L86-L89
This might be the most interesting part as it relates to an issue in sourcelink repo: dotnet/sourcelink#629 Second place is in Arcade: https://github.com/dotnet/arcade/blob/5f197ad089ea714c7fea7d7e61ffb43d166de809/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets#L12-L17
That would affect sourcelink generation in corehost.proj: https://github.com/dotnet/runtime/blob/809b42196ea09700175785a25eace264995dde75/src/native/corehost/corehost.proj#L10
I have doubts that the solution is as simple as flipping back the property values in relevant places (in Arcade and Runtime repos). It seems likely that there would be a need for some real work in sourcelink repo due to dotnet/sourcelink#629 |
Source-links are now enabled in source-build with changes in New issue was created to track adding source-link tests: #3052 |
Runtime commit dotnet/runtime@ff5840b introduced a check for a native sourcelink file that broke installer's uptake of SDK in dotnet/installer#13860. I added a repo.proj parameter VerifySourceLinkFileExists=false to return source-build to the old behavior. Some questions remain about the problem and fix:
ContinuousIntegrationBuild
is not set to true in the source-build leg.If this is the correct fix, it should also be ported to runtime's eng/SourceBuild.props so that the runtime repo leg runs the same way as source-build's runtime build.
The text was updated successfully, but these errors were encountered: