Dev packages are referenced on CI even if specified as MSBuild property #21859
xperiandri
started this conversation in
General
Replies: 1 comment
-
|
Only this helps on CI - task: PowerShell@2
displayName: "Override target frameworks"
inputs:
pwsh: true
targetType: 'inline'
script: |
$contentToAdd = @'
<Project>
<PropertyGroup>
<OverrideTargetFramework Condition="''!='hint: Android' OR ''!='hint: Webassembly'">$(DotNetVersion)-android;$(DotNetVersion)-browserwasm;$(DotNetVersion)</OverrideTargetFramework>
<UnoDisableHotDesign>true</UnoDisableHotDesign>
<UnoDisableMCPSupport>true</UnoDisableMCPSupport>
</PropertyGroup>
</Project>
'@
Add-Content "solution-config.props" $contentToAdd |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tired to build Android with 6.4.24 but it failed with trying to ILLink
Azure.Core.dllThis happens because dev packages are refrenced.
I tried to set
/p:UnoDisableHotDesign=true /p:UnoDisableMCPSupport=truebut it did not helpBeta Was this translation helpful? Give feedback.
All reactions