-
Notifications
You must be signed in to change notification settings - Fork 347
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
RemoveOSGroup from the arcade #4911
Conversation
src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/targets/installer.targets
Show resolved
Hide resolved
As discussed offline, please prefer using $(OS) for Windows_NT and Unix: dotnet/msbuild#2468 (comment). |
@@ -2,7 +2,7 @@ | |||
<Project> | |||
|
|||
<!-- PInvokeChecker data files--> | |||
<PropertyGroup Condition="'$(OSGroup)'=='Windows_NT'"> | |||
<PropertyGroup Condition="'$(OS)'=='Windows_NT'"> |
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.
nit: whitespace around the == operator :)
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 can fix this in another arcade PR :P I need this change to be in for the BuildOS change
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.
LGTM
OSGroup is dotnet runtime specific property and should not be used in arcade.
The SharedFramework.sdk And Microsoft.Dotnet.CodeAnalysis are 2 projects that use this property.
SharedFramework.Sdk is used in -> runtime and dotnet\windowsDesktop
Microsoft.dotnet.codeanalysis is used in -> runtime, wpf, buildtools
CodeAnalysis change is restricted to pinvoke checking. I tested the change by building the runtime repo with these new packages.
Fixes #4907