Skip to content
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 slngen.proj and update solution files #65711

Merged
merged 2 commits into from
Feb 22, 2022
Merged

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Feb 22, 2022

The SolutionName property is defined by the SDK and hence the condition was always true. Also the star (*) didn't expand when using the ValurOrDefault msbuild function. Fixing this by using a different name SolutionNameOverride and avoiding the ValueOrDefault msbuild function.

Tested the change locally. Last time I didn't notice the issue because I only tested the changes with passing in a solution name.

Also updating the solution files in the second commit. Those changed because of microsoft/slngen@cb57e28 but apparently the solution files never got updated with the updated version.

The SolutionName property is defined by the SDK and hence the condition was always true. Also the star (*) didn't expand when using the ValurOrDefault msbuild function. Fixing this by using a different name `SolutionNameOverride` and avoiding the ValueOrDefault msbuild function.
@ghost
Copy link

ghost commented Feb 22, 2022

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

Issue Details

The SolutionName property is defined by the SDK and hence the condition was always true. Also the star (*) didn't expand when using the ValurOrDefault msbuild function. Fixing this by using a different name SolutionNameOverride and avoiding the ValueOrDefault msbuild function.

Tested the change locally. Last time I didn't notice the issue because I only tested the changes with passing in a solution name.

Author: ViktorHofer
Assignees: ViktorHofer
Labels:

area-Infrastructure-libraries

Milestone: -

@ViktorHofer
Copy link
Member Author

ViktorHofer commented Feb 22, 2022

@akoeplinger just noticed that the solution files are out-of-date. Will push another commit in a few minutes.

@ViktorHofer ViktorHofer changed the title Fix slngen.proj Fix slngen.proj and update solution files Feb 22, 2022
Updating the solution files as those changed because of
microsoft/slngen@cb57e28 and apparently the solution files never were
updated.
@ViktorHofer
Copy link
Member Author

The second commit now contains the updated solution files.

@ViktorHofer
Copy link
Member Author

Merging as the changes aren't exercised in CI at all.

@ViktorHofer ViktorHofer merged commit febaf76 into main Feb 22, 2022
@ViktorHofer ViktorHofer deleted the ViktorHofer-patch-1 branch February 22, 2022 16:19
@ViktorHofer
Copy link
Member Author

@eerhardt the issue that originally reported regarding projects with the same assembly name but different project names clashing inside solution generated with slngen was long fixed but we never updated the solution files in this repo. That is now done with this PR :)

@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2022
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