Skip to content

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Sep 18, 2023

Fixes #92126

Solution files in dotnet/runtime aren't buildable anymore because dependencies are missing from the graph now that a live linker is consumed. This regressed with faf883d

Updates the infrastructure to allow subfolder paths and update all solution files.

@ViktorHofer ViktorHofer self-assigned this Sep 18, 2023
@ViktorHofer ViktorHofer requested a review from sbomer September 18, 2023 08:20
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 18, 2023
@ViktorHofer ViktorHofer added area-Infrastructure-libraries and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Sep 18, 2023
@ghost
Copy link

ghost commented Sep 18, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Updates the infrastructure to allow subfolder paths and update all solution files.

Author: ViktorHofer
Assignees: ViktorHofer
Labels:

area-Infrastructure-libraries

Milestone: -

@ViktorHofer ViktorHofer changed the title Updated solution files Update solution files Sep 18, 2023
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{55D04C80-4A8F-40AC-967D-3FA77C814D7B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "tools\gen", "{9C13782D-F7D7-4F02-A39D-D7BD992EB257}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why "gen", "src", and "ref" are listed twice in the sln with different paths?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once for the tools\...\ folder and once for the ref, src and gen folders for the libraries from src/libraries that aren't grouped under the tools folder.

Copy link
Member

@sbomer sbomer Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I still don't understand why we have a gen folder. From decoding the sln GUIDs it seems like this is for ILLink.CodeFix/ILLink.RoslynAnalyzer, so probably because of

<!-- This analyzer doesn't follow the convention for generator projects so we set the property manually. -->
<PropertyGroup>
<IsGeneratorProject>true</IsGeneratorProject>
</PropertyGroup>
and similar for ILLink.RoslynAnalyzer. Why are we treating these as generator projects?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I see - IsGeneratorProject is just a catch-all term for analyzers and source generators, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

<SlnGenSolutionFolder>tools</SlnGenSolutionFolder>
</PropertyGroup>

</Project> No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add newline at EOF

Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@ViktorHofer ViktorHofer merged commit 963954a into main Sep 19, 2023
@ViktorHofer ViktorHofer deleted the updateSlns branch September 19, 2023 05:34
@ghost ghost locked as resolved and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants