Replies: 4 comments 8 replies
-
Thanks for the report. Is |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks for quick response.
It is an app head.
…________________________________
From: Jérôme Laban ***@***.***>
Sent: 16 May 2024 14:37
To: unoplatform/uno ***@***.***>
Cc: Andy Wigley ***@***.***>; Author ***@***.***>
Subject: Re: [unoplatform/uno] Cannot set net8.0 as first in TargetFrameworks list (SDK5.2, single app) (Discussion #16749)
Thanks for the report. Is McStubUno a class library or an app head? If it's a library, we have a fix that will be released to today to address that problem.
—
Reply to this email directly, view it on GitHub<#16749 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABAZWRRDWNVIIRG6UR4BBCTZCSSBLAVCNFSM6AAAAABH2CRWTSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TINJXGU4TE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
binlog....
…________________________________
From: Jérôme Laban ***@***.***>
Sent: 16 May 2024 15:02
To: unoplatform/uno ***@***.***>
Cc: Andy Wigley ***@***.***>; Author ***@***.***>
Subject: Re: [unoplatform/uno] Cannot set net8.0 as first in TargetFrameworks list (SDK5.2, single app) (Discussion #16749)
Thanks for the response. I'm not able to reproduce this issue. Could you provide a binlog of the error<https://platform.uno/docs/articles/uno-builds-troubleshooting.html>?
—
Reply to this email directly, view it on GitHub<#16749 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABAZWRTTUMDGUQIBFBSAI53ZCSU4ZAVCNFSM6AAAAABH2CRWTSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TINJXHA2DI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
6 replies
-
Added.
…________________________________
From: Jérôme Laban ***@***.***>
Sent: 16 May 2024 15:36
To: unoplatform/uno ***@***.***>
Cc: Andy Wigley ***@***.***>; Mention ***@***.***>
Subject: Re: [unoplatform/uno] Cannot set net8.0 as first in TargetFrameworks list (SDK5.2, single app) (Discussion #16749)
@AndyCW<https://github.com/AndyCW>, I'm not seeing binlog, could you add it directly from the github interface?
—
Reply to this email directly, view it on GitHub<#16749 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABAZWRUZFSINNGFTLSI77HDZCSY4PAVCNFSM6AAAAABH2CRWTSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TINJYGMYDI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
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
-
I have just migrated an app to Uno SDK5.2 and the Single App architecture. It builds and runs on WinSDK, Windows and Linux desktop , so far so good.
But I have the following Build warning:
1>C:\Users\andy.wigley\.nuget\packages\uno.sdk\5.2.121\targets\Uno.Sdk.After.targets(77,3): warning UNOB0011: The desktop TargetFramework must not be placed first in the TargetFrameworks property in order for other platforms debugging to work. (See https://aka.platform.uno/UNOB0011)
And this is because in my project file, I have:
So if I put net8.0-windows10.0.19041 first in the list, I get the same build warning, but this time for the Windows target. So the obvious solution is to put .net8.0 first:
But this messes up the build and corrupts the Frameworks list in the Visual Studio Debug Targets dropdown. It seems to parse the TargetFrameworks element incorrectly and decides that I have asked for a framework named 'net8.0-windows10.0.19041-desktop':
So, any ideas on how to resolve this would be most welcome.
Beta Was this translation helpful? Give feedback.
All reactions