Skip to content
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

Update ToDo to latest Uno #513

Open
kazo0 opened this issue May 19, 2023 · 7 comments
Open

Update ToDo to latest Uno #513

kazo0 opened this issue May 19, 2023 · 7 comments
Assignees
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.

Comments

@kazo0
Copy link
Contributor

kazo0 commented May 19, 2023

We should be updating ToDo to latest stable packages for all Uno family packages and then ensure the app is working correctly

@nickrandolph Did you have a pending PR or branch that was already in the midst of doing this?

@kazo0 kazo0 added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels May 19, 2023
@nickrandolph
Copy link
Contributor

nickrandolph commented May 19, 2023

https://github.com/unoplatform/uno.todo/tree/dev/nr/workingupdate
Here's the branch I had that updated various nuget packages. Would be a starting point for anyone looking to update this repo

GitHub
Uno Platform "Uno To Do" reference app. Contribute to unoplatform/uno.todo development by creating an account on GitHub.

@kazo0 kazo0 changed the title Update to latest Uno + latest solution template Update to latest Uno May 23, 2023
@kazo0 kazo0 changed the title Update to latest Uno Update ToDo to latest Uno May 23, 2023
@Arieldelossantos
Copy link

hey @nickrandolph i'm updating the Project with the new Uno template, but i'm having this weird build error... something related to WinForms support

`1> Target ResolveRuntimePackAssets:
_1> C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(448,5): error NETSDK1082: There was no runtime pack for Microsoft.WindowsDesktop.App.WindowsForms available for the specified RuntimeIdentifier 'win10-arm'.

1> C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(448,5): error NETSDK1082: There was no runtime pack for Microsoft.WindowsDesktop.App.WindowsForms available for the specified RuntimeIdentifier 'win10-arm-aot'._

1> Done building target "ResolveRuntimePackAssets" in project "ToDoXYZ.csproj" -- FAILED.
1>
1> Done building project "ToDoXYZ.csproj" -- FAILED.`

do you have any idea??

cc: @kazo0 @carlh98

@HakanL
Copy link

HakanL commented Jun 5, 2023

@Arieldelossantos I ran into this same error in my project, I solved this by adding this to my class library project file, named Shared, don't know if it's the correct fix, but worth a shot:

	<PropertyGroup Condition="$(IsWinAppSdk)">
		<RuntimeIdentifiers>win10-x64;win10-x86</RuntimeIdentifiers>
	</PropertyGroup>

@Arieldelossantos
Copy link

that worked! thanks

@nickrandolph
Copy link
Contributor

You shouldn't have a shared project any more and I think the class library should already have the runtimeidentifiers specified. Are you trying to update in-place, or are you creating a new solution and copying files across?

@Arieldelossantos
Copy link

i've added a new project and updating the files to later remove the old one

@HakanL
Copy link

HakanL commented Jun 5, 2023

You shouldn't have a shared project any more and I think the class library should already have the runtimeidentifiers specified. Are you trying to update in-place, or are you creating a new solution and copying files across?

I used a new template from a few weeks ago and the class library did not have the runtime identifier in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

4 participants