C
C#12mo ago
NullIntended

❔ how can I fix this?

30 Replies
NullIntended
NullIntended12mo ago
Ignore the sUI, fat fingered that
Angius
Angius12mo ago
Wellm the error is quite clear Namespace UI does not exist in the Siticone namespace
NullIntended
NullIntended12mo ago
I copied this file from my previous project It works in that one, idk why it's showing that here I verified it file to file and same text on this file
Angius
Angius12mo ago
You got all the packages installed as well?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
NullIntended
NullIntended12mo ago
It's a designer im file. Yes I just installed Siticon with nuget Deleted it and reinstalled same problem
NullIntended
NullIntended12mo ago
NullIntended
NullIntended12mo ago
The only difference is this isn't .net framework winform.
Unnamed Person
Unnamed Person12mo ago
Try Siticone.Desktop.UI from what I'm looking on the package you got from nuget there isn't a siticone.ui
NullIntended
NullIntended12mo ago
I have that In the picture that's what it is...
Unnamed Person
Unnamed Person12mo ago
^here its siticone.ui
NullIntended
NullIntended12mo ago
I shut down my pc and it's now fixed. Restarting vs didn't fix it but this did???? Wtf
Unnamed Person
Unnamed Person12mo ago
strange
NullIntended
NullIntended12mo ago
Oh nvm it's there still Just took a min lmao
NullIntended
NullIntended12mo ago
NullIntended
NullIntended12mo ago
This is the package I have @unnamedperson
Unnamed Person
Unnamed Person12mo ago
how long ago did you work on the project that you copied it over from
NullIntended
NullIntended12mo ago
Couple days
Unnamed Person
Unnamed Person12mo ago
this is weird I installed siticone into a fresh winforms project and am not seeing roundedbutton
Unnamed Person
Unnamed Person12mo ago
Unnamed Person
Unnamed Person12mo ago
and i cant find it on the docs was thinking that your old lines werent working ucz it was from an older version but if it was a couple days ago then not sure
NullIntended
NullIntended12mo ago
Did u do .net framework or just winform I did just winform
Unnamed Person
Unnamed Person12mo ago
Ok So I Figured out what is wrong For Some reason your older project uses a Pre-2.0 Version of Siticone where it simply used Siticone.UI Post 2.0.4 Siticone Uses Siticone.Desktop.UI and overhauled a bunch of stuff so If you can somehow get the Older Siticone.UI.dll for your project instead of Siticone.Desktop.UI 2.1.1 (The Version You Have) Then all your odler code should work again @nullintended
Unnamed Person
Unnamed Person12mo ago
Here's the changelog for reference https://www.siticoneframework.com/changelog
Siticone Desktop UI Changelog | .NET UI Controls for Developers of ...
Siticone Desktop UI Changelog | .NET UI Controls for Developers of Desktop, Mobile, Web, Reporting, Data Visualization | Siticone Framework
NullIntended
NullIntended12mo ago
How can I find that? In my old project My old project uses 2.1.1
Unnamed Person
Unnamed Person12mo ago
I'd check your .csproject to make sure that it's not also referencing the old dll in addition to the new package and or I'd also try building it to see if it still works because it doesn't seem like it should If you still want the dll then I'm not sure exactly where'd you got find it if it is in your old project somewhere but you should also be able to find it online although wouldn't exactly trust those since it's not the best idea to download dlls from less than trustworthy sites
NullIntended
NullIntended12mo ago
I downloaded this directly from nuget.... I can zip my whole file and dm it to u so u can see it? It's legit confusing the hell out of me why it's doing this Just ignore the ui as I slapped it together
Unnamed Person
Unnamed Person12mo ago
Sure then won't be able to examine it too much since I'll be busy soon though
NullIntended
NullIntended12mo ago
Found the issue. For some reason when I moved over the login.cs and all of its files it showed up blank. Is there anyway to copy an exact form UI and all? Without manually doing it
Accord
Accord12mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.