-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Satellite assemblies do not pass PathMap to Csc task #45256
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
1 similar comment
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Pass a few parameters to `<Csc>` that were missing and impact build reproducibility. closes #45256
Which files' path names does it embed? I thought most file paths are in the PDB, which is not generated for resource DLLs. |
In the default case the source file name isn't directly embedded. Basically using For the specific case I'm looking at, the problem is that the name of the resource file is getting embedded. The resource files are passed essentially in this format:
Notice in the second case it replaces the directory separator with Will likely file a separate bug to follow up on this. Think it's a fairly easy fix of passing an explicit name here that isn't dependent on path but I'm not as familiar with resources so want to make sure that doesn't have any side effects I'm not thinking of. |
Pass a few parameters to `<Csc>` that were missing and impact build reproducibility. closes #45256
Describe the bug
The
CoreGenerateSatelliteAssemblies
target does not pass$(PathMap)
to the<Csc>
task for generating satellite assemblies. That means the resulting DLL embeds original path names, not mapped path names. Further it does not pass$(Features)
either which means it won't pass through-p:Features=debug-determinism
which makes it harder to see why resources are differing.To Reproduce
Build an assembly with
-p:DeterministicSourcePaths
and notice that$(PathMap)
is not passed to the compilerThe text was updated successfully, but these errors were encountered: