C
C#16mo 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 User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
whats .vs
Zugirf
Zugirf16mo ago
all i got
Zugirf
Zugirf16mo ago
@TeBeConsulting
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
In the same folder as those screenshots
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
Zugirf
Zugirf16mo ago
Sry i didnt include the whole folder Im on my laptop and the aspect ratio is 💀
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
Huhh
Zugirf
Zugirf16mo ago
Oh
Zugirf
Zugirf16mo ago
So i delete that?
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
oop yes will do i hope this will fix it
Zugirf
Zugirf16mo ago
Nope
Zugirf
Zugirf16mo ago
Please?
Pixel
Pixel16mo ago
maybe see the 53 errors you have
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pixel
Pixel16mo ago
maybe it's a theme? idk
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX16mo 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
Zugirf16mo ago
Pobiega
Pobiega16mo ago
You seem to be mixing .net 7 versions of libraries with a .net 5 target
Zugirf
Zugirf16mo ago
But all i did was switch from net 5 to net 7 and back i never modified the code
Pobiega
Pobiega16mo ago
Pobiega
Pobiega16mo ago
don't suppose this was checked into a git repository before you made the change?
Zugirf
Zugirf16mo ago
i do everything locally PepeYikes would i fix that 😄
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
Zugirf
Zugirf16mo ago
SG97
SG9716mo ago
targetframework net5.0-windows which one is it supposed to be
Zugirf
Zugirf16mo ago
net 5 i am so confused
SG97
SG9716mo ago
so it's actually .net 5 -> .net 7 -> .net 5?
Zugirf
Zugirf16mo ago
yup and everything broke somewhere in between and i got no clue what happened or what to do
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo 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
Pobiega16mo ago
would it be possible to put the repo on github? would make it so much easier to help
Zugirf
Zugirf16mo ago
Never used github before Now theres even more errors when i modified csproj
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
Ill figure out github
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega16mo ago
nope
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega16mo ago
for proper understanding, sure
Zugirf
Zugirf16mo ago
Right
Zugirf
Zugirf16mo ago
wich oe
Pobiega
Pobiega16mo ago
public if you want us to be able to see it
Zugirf
Zugirf16mo ago
Should i use any lisence?
Pobiega
Pobiega16mo ago
you can delete the repo when we are done, if you feel like it up to you, of course.
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
damn
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
GitHub
GitHub - Zugirf/Nexa: Nexa chat app
Nexa chat app. Contribute to Zugirf/Nexa development by creating an account on GitHub.
Zugirf
Zugirf16mo ago
Did i do things right?
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega16mo ago
every xaml element seems to be "ambigious reference" uhm Uno.UI? does that support WPF?
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
I Mean everything worked before net 7 so
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega16mo ago
Uno included some source generators that seemed to fuck things up
Zugirf
Zugirf16mo ago
How come it worked fine before i switched 🙈
Pobiega
Pobiega16mo ago
Zugirf
Zugirf16mo ago
also should i stay on net 5 or try net 7
Pobiega
Pobiega16mo ago
works fine on 7, without the Uno stuff
Zugirf
Zugirf16mo ago
bruh yes everything seems to be working now thank you all
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pobiega
Pobiega16mo ago
they list specifically Skia-WPF
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
aa
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
ive seen people use uno with wpf before
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Zugirf
Zugirf16mo ago
i will
Want results from more Discord servers?
Add your server
More Posts
❔ ✅ How to get ImageLocation from Controls?lets say ``` PictureBox pb = new PictureBox(); pb.ImageLocation = "...."; panel1.Controls.Add(pb); ✅ Suppressions aren't working in vs studio. What do I do?I keep trying to select "suppress for all" and it does not at all save and make any changes. I've cl❔ Pointer Issue.My pathetic code: ```c# unsafe class Test { static void Main() { int a = 1; int b =❔ vs code extension dev-get type of item under cursorafter being annoyed by the lack of quick documentation access for a library that i use, and no exist✅ What other prerequisites are necessary to run service worker as a service on a Windows Server?I have developed a service worker using .NET 7, and it successfully runs when tested through dotnet ✅ Math problem related to drawing a line renderer relative to an object in UnityIf I click on my cube and drag, the line renderer draws in the opposite direction of the cube as exp❔ Hello !I've some small issues with the ComboBoxHello ! I've an API that I use to get some data from a website and I'm trying to add some names to a✅ ASP.NET CORE with React.js or ASP.NET CORE WEB APPSo im creating web app for local caffe(some menu items like food, drinks, etc... and their prices). Hello World won't run in Visual Studio. I have a little C++ and Java experience from long ago. Help?❔ Required select field missing validation error message on iOSHey. If I create a `required` `select` field, and the select field is outside the current viewport (