-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Some MonoTargetsTasks project references are not removed during source build #69460
Comments
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue DetailsWe are seeing a new prebuilt package reported in source-build, It seems like Lines 2 to 9 in f246a5a
It seems like this target should instead ignore all
|
Tagging subscribers to this area: @directhex Issue DetailsWe are seeing a new prebuilt package reported in source-build, It seems like Lines 2 to 9 in f246a5a
This target should instead ignore all
|
cc @lambdageek @radical per #59720 It's a bit ironic that this "source" package is treated as a "prebuilt". I wonder if this component is needed for source build or not. If not then adding to the remove as @lbussell suggests would be the fix: <ProjectReference Remove="MonoTargetsTasks\MonoTargetsTasks.csproj;
MonoTargetsTasks\ILStrip\AssemblyStripper\AssemblyStripper.csproj"
Condition="'$(DotNetBuildFromSource)' == 'true'" /> |
I don't believe any of the Mono workloads tasks are needed for source-build. So I think not building AssemblyStripper during source-build makes sense. See also #60315. |
We are seeing a new prebuilt package reported in source-build,
Microsoft.DotNet.CilStrip.Sources.7.0.0-beta.22214.1
.It seems like
AssemblyStripper.csproj
is being picked up by the**/*.csproj
pattern intasks.proj
and it is referencing the prebuilt:runtime/src/tasks/tasks.proj
Lines 2 to 9 in f246a5a
This target should instead ignore all
.csproj
files underMonoTargetsTasks/
.The text was updated successfully, but these errors were encountered: