Adding Windows as a Targetframework afterwards / retroactively #27705
Replies: 2 comments 1 reply
-
I can see this in my MAUI .csproj file:
Perhaps you miss the later one? If it does not help, it's really helpful to create a new MAUI project and copy |
Beta Was this translation helpful? Give feedback.
0 replies
-
@maslewandowski How did you fix your issue, if you did? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi,
i've developed and deployed a ipad os (ios) app with .net maui 9 and everything works fine.
Now i want to deploy this app also for windows clients.
Sadly i deleted all the platform directories at start of development because i thought that my customer only wants to use it on apple ipads.
So what i did now is:
1. added windows as targetframework (2 approaches: 1st was to add
I tried two approaches:
1st:
<TargetFrameworks>net9.0-ios;net9.0-windows</TargetFrameworks>
2nd:
both ended up with some visual studio professional (ide) background tasks that failed in the end.

nuget restore failed
and i get NU1105 error telling me, that there is more than one applicationdisplayversion set. which is definitely not.
search results: only one in this whole project:

2. recreated the platforms/windows directory based on an existing .net maui project.
the directory structure is working but some problems appeared.
finally i am not able to add windows as target.
Is there any documentation or manual that helps me achieve this goal?
thanks and greetings
Beta Was this translation helpful? Give feedback.
All reactions