C
C#2y ago
Zugirf

Net 5 -> Net 7

After switching from net 5 to net 7 my xaml views wont show due to "Invalid Markup" and i see like hundreds of errors in the code, without even modifying the code! Please help i just want to switch back to net 5 since i am NOT redoing all 5 IMDEAD5
74 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
whats .vs
Zugirf
ZugirfOP2y ago
all i got
Zugirf
ZugirfOP2y ago
@TeBeConsulting
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
In the same folder as those screenshots
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
Zugirf
ZugirfOP2y ago
Sry i didnt include the whole folder Im on my laptop and the aspect ratio is 💀
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
Huhh
Zugirf
ZugirfOP2y ago
Oh
Zugirf
ZugirfOP2y ago
So i delete that?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
oop yes will do i hope this will fix it
Zugirf
ZugirfOP2y ago
Nope
Zugirf
ZugirfOP2y ago
Please?
Pixel
Pixel2y ago
maybe see the 53 errors you have
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Pixel
Pixel2y ago
maybe it's a theme? idk
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2y ago
tebeco#0205
yeah can you show the error panel
Quoted by
<@!689473681302224947> from #Net 5 -> Net 7 (click here)
React with ❌ to remove this embed.
Zugirf
ZugirfOP2y ago
Pobiega
Pobiega2y ago
You seem to be mixing .net 7 versions of libraries with a .net 5 target
Zugirf
ZugirfOP2y ago
But all i did was switch from net 5 to net 7 and back i never modified the code
Pobiega
Pobiega2y ago
Pobiega
Pobiega2y ago
don't suppose this was checked into a git repository before you made the change?
Zugirf
ZugirfOP2y ago
i do everything locally PepeYikes would i fix that 😄
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
Zugirf
ZugirfOP2y ago
SG97
SG972y ago
targetframework net5.0-windows which one is it supposed to be
Zugirf
ZugirfOP2y ago
net 5 i am so confused
SG97
SG972y ago
so it's actually .net 5 -> .net 7 -> .net 5?
Zugirf
ZugirfOP2y ago
yup and everything broke somewhere in between and i got no clue what happened or what to do
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
Thing is, when i was on net 5, i had no errors at all, after switching to net 7 to test everything out, everything broke. then i tried to switch back to net 5 but everything remained broken Sorry if i was unclear in my original post
Pobiega
Pobiega2y ago
would it be possible to put the repo on github? would make it so much easier to help
Zugirf
ZugirfOP2y ago
Never used github before Now theres even more errors when i modified csproj
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
Ill figure out github
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega2y ago
nope
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega2y ago
for proper understanding, sure
Zugirf
ZugirfOP2y ago
Right
Zugirf
ZugirfOP2y ago
wich oe
Pobiega
Pobiega2y ago
public if you want us to be able to see it
Zugirf
ZugirfOP2y ago
Should i use any lisence?
Pobiega
Pobiega2y ago
you can delete the repo when we are done, if you feel like it up to you, of course.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
damn
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
GitHub
GitHub - Zugirf/Nexa: Nexa chat app
Nexa chat app. Contribute to Zugirf/Nexa development by creating an account on GitHub.
Zugirf
ZugirfOP2y ago
Did i do things right?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega2y ago
every xaml element seems to be "ambigious reference" uhm Uno.UI? does that support WPF?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
I Mean everything worked before net 7 so
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega2y ago
Uno included some source generators that seemed to fuck things up
Zugirf
ZugirfOP2y ago
How come it worked fine before i switched 🙈
Pobiega
Pobiega2y ago
Zugirf
ZugirfOP2y ago
also should i stay on net 5 or try net 7
Pobiega
Pobiega2y ago
works fine on 7, without the Uno stuff
Zugirf
ZugirfOP2y ago
bruh yes everything seems to be working now thank you all
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega2y ago
they list specifically Skia-WPF
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
aa
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
ive seen people use uno with wpf before
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zugirf
ZugirfOP2y ago
i will
Want results from more Discord servers?
Add your server