-
-
Notifications
You must be signed in to change notification settings - Fork 619
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
updated dotnetbase to generate configurations list in opening propert… #2320
base: master
Are you sure you want to change the base?
Conversation
…ygroup containing project properties (fix for incorrect cofigurationmapping) (tests required)
for prjcfg in project.eachconfig(prj) do | ||
_p(3,'%s;',prjcfg.shortname) | ||
end |
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.
Wonder if we can use something like table.implode(arr, "before", "after", "between")
to avoid extra ';'.
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.
il give that a try now
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.
it worked but i can't figure out how to make it auto generate in the initial property group
-- | ||
-- Write the available configurations to have correct configuration mapping on vs2022 format and later. | ||
-- | ||
function dotnetbase.projectConfigurations(prj) |
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.
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Configurations>Debug;Release</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.
"Distribution"
seems missing...
|
||
configurations { "Debug","Release","Distribution"} | ||
test.capture [[ | ||
<PropertyGroup> |
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.
From UT, indentation seems mismatching: check number of spaces or tab?
…ygroup containing project properties
(fix for incorrect cofigurationmapping) (tests required)
What does this PR do?
Thanks for the contribution! Please provide a concise description of the problem this request solves.
this pr closes #2319
Are there any breaking changes? Will any existing behavior change?
Anything else we should know?
should documentation be changed to tell people about this because it is auto genrated from vs2022 onwards
Did you check all the boxes?
closes #XXXX
in comment to auto-close issue when PR is merged)You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!