-
Notifications
You must be signed in to change notification settings - Fork 790
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
Deterministic sourcepaths #6668
Comments
I'd definitely like that. |
I think that's the wrong file - for it to apply to this repo, you need to look at: https://github.com/Microsoft/visualfsharp/blob/master/FSharpBuild.Directory.Build.props Adding |
@saul I meant for the .net sdk to do this for all F# projects, not the compiler repo perse |
In which case I’m not really following exactly what you’re asking for? PathMap is very specific to the project/solution that it’s set for. You’ve linked to a Roslyn repo-specific targets file - that doesn’t apply to all C# projects. I think I’m misunderstanding what you’re asking for here. |
All .NET SDK projects may not work. It's not used as a default for C# project templates either. |
I'm asking for support to automatically enable an F# version of DeterministicSourcePath path to pathmap conversion and the other things that trigger in Roslyn sdk compiler targets when ContinuousIntegration = true and Deterministic = true. When those two options are on, the PDB will automatically have paths embedded with a deterministic @saul I'm no expert on the full sdk integration story but that roslyn target does not seem repo specific, it's part of the folder
and is imported by |
So So for this repo we should do this (cc @brettfo @KevinRansom), and I think we should also set |
@cartermp and what about the |
This seems to be done now builds are done with arcade 🎉 |
Now that #6609 is merged. Thanks @saul 🎉
Is FCS getting integrated with SourceLink and Deterministic switches like this Roslyn target?
https://github.com/dotnet/roslyn/blob/2f57d11ecc36d11c06fc862dcb0de37c96d305d2/src/Compilers/Core/MSBuildTask/Microsoft.Managed.Core.targets
It powers the automatic deterministic source paths when these props are set
Which are documented for SourceLink
https://github.com/dotnet/sourcelink/tree/master/docs#deterministicsourcepaths
It seems Microsoft.FSharp.NetSdk.targets should join in the fun!
The text was updated successfully, but these errors were encountered: