-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix SourceLink failures #13
Conversation
As the
|
Seems like we are now at the same stage as @daveaglick was with 1 document causing errors (instead of 2):
Looks as if |
…uild.targets" Per following suggestion by @tmat > Setting `TargetFrameworkMonikerAssemblyAttributesPath` needs to be > done after importing SDK targets because `IntermediateOutputPath` is > set in `Microsoft.Common.CurrentVersion.targets` and not before that. > > So I think the best would be to set it in `Directory.Build.targets` > in the repo root. Source: shiftkey/dotnetcore-sourcelink-test-bug#1 (comment)
So applying the suggestion by @tmat to move
|
This applies the following suggestion from @tmat: shiftkey/dotnetcore-sourcelink-test-bug#1 (comment)
No luck with applying suggestion (to MSBuild Structured Log Viewer (as suggested by @KirillOsenkov) shows that Frustrating. |
Basically two different generated files are involved here. First one is The second one is Both files need to be mentioned in the |
We were debugging source link with @atifaziz here: atifaziz/Hazz#13 We established that the `TargetFrameworkMonikerAssemblyAttributesPath` generated file also needs to be added to `@(EmbeddedFiles)`
@KirillOsenkov Thanks for your explanation and help! |
All the fixes should be covered by the workaround here. dotnet/sourcelink#572 |
This PR
is work-in-progress toshould fix issue #12.