-
-
Notifications
You must be signed in to change notification settings - Fork 640
updated dotnetbase to generate configurations list in opening propert… #2320
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,10 +82,24 @@ | |
| _p(1,'<PropertyGroup>') | ||
| local cfg = project.getfirstconfig(prj) | ||
| p.callArray(dotnetbase.elements.projectProperties, cfg) | ||
|
|
||
| dotnetbase.projectConfigurations(prj) | ||
|
|
||
| _p(1,'</PropertyGroup>') | ||
| end | ||
|
|
||
|
|
||
| -- | ||
| -- Write the available configurations to have correct configuration mapping on vs2022 format and later. | ||
| -- | ||
| function dotnetbase.projectConfigurations(prj) | ||
| if _ACTION >= "vs2022" and #prj._cfglist > 0 then | ||
| _p(2,'<Configurations>') | ||
| for prjcfg in project.eachconfig(prj) do | ||
| _p(3,'%s;',prjcfg.shortname) | ||
| end | ||
|
||
| _p(2,'</Configurations>') | ||
| end | ||
| end | ||
| -- | ||
| -- Write out the settings for the project configurations. | ||
| -- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That function is never called.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i know, i don't kown where to put so it gets placed in the primary property group.