Upgrade from older GTK template #17571
-
@MartinZikmund Is there any documentation on how to upgrade from GTK to Desktop? I've tried to create a new application using the templates, but since my real application is like 2 years old, the differences are quite big (single project, etc) and it's hard to figure out a good starting point. Could I perhaps start with just changing GtkHost to SkiaHostBuilder? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
@HakanL Upgrading using the |
Beta Was this translation helpful? Give feedback.
-
Hmm, no, I definitely have the sdk reference in the csproj, it works if I just change the global.json to 5.2, no other change. But I can test some more with it in a sample project, just thought if you had any suggestions on what may trigger the issue. It seems to be during the restore stage (dotnet restore gives me the same error as VS).
|
Beta Was this translation helpful? Give feedback.
-
Aha, I didn’t realize they were two separate features in different releases, then it makes sense.
I think the issue with dialogs is that it’s not back ported to 5.2 yet, or at least I don’t know which pre-version it would be in.
|
Beta Was this translation helpful? Give feedback.
This like means that you have an explicit version defined in your
Directory.Build.props
. You can remove all the version lines specified there. An update to the documentation is pending for this.