Skip to content

Commit

Permalink
Merge pull request #18462 from unoplatform/dev/mazi/libraries-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund authored Nov 6, 2024
2 parents d1b8399 + 202b9ba commit a9b4f18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Uno.Sdk/targets/Uno.Sdk.After.targets
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
Condition="
'$(UnoDisableVSWarnBrowserIsFirst)' != 'true'
AND '$(BuildingInsideVisualStudio)' == 'true'
AND '$(OutputType)'!='Library'
AND '$(_UnoTargetFrameworkCount)' != ''
AND $(_UnoTargetFrameworkCount) > 1
AND $(TargetFrameworks.Contains('-browserwasm'))
Expand All @@ -108,6 +109,7 @@
Condition="
'$(UnoDisableVSWarnDesktopIsFirst)' != 'true'
AND '$(BuildingInsideVisualStudio)' == 'true'
AND '$(OutputType)'!='Library'
AND $([MSBuild]::VersionLessThan($(MSBuildVersion), 17.12.0))
AND '$(_UnoTargetFrameworkCount)' != ''
AND $(_UnoTargetFrameworkCount) > 1
Expand All @@ -122,6 +124,7 @@
Condition="
'$(UnoDisableVSWarnDesktopIsNotFirst)' != 'true'
AND '$(BuildingInsideVisualStudio)' == 'true'
AND '$(OutputType)'!='Library'
AND $([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), 17.12.0))
AND '$(_UnoTargetFrameworkCount)' != ''
AND $(_UnoTargetFrameworkCount) > 1
Expand All @@ -142,6 +145,7 @@
Condition="
'$(UnoDisableVSWarnWindowsIsFirst)' != 'true'
AND '$(BuildingInsideVisualStudio)' == 'true'
AND '$(OutputType)'!='Library'
AND '$(_UnoTargetFrameworkCount)' != ''
AND $(_UnoTargetFrameworkCount) > 1
AND $(TargetFrameworks.Contains('-windows'))
Expand All @@ -156,6 +160,7 @@
Condition="
'$(UnoDisableVSWarnNetIsFirst)' != 'true'
AND '$(BuildingInsideVisualStudio)' == 'true'
AND '$(OutputType)'!='Library'
AND '$(_UnoTargetFrameworkCount)' != ''
AND $(_UnoTargetFrameworkCount) > 1
AND $([MSBuild]::GetTargetPlatformIdentifier($(_UnoFirstOriginalTargetFramework))) == ''
Expand Down

0 comments on commit a9b4f18

Please sign in to comment.