Sergio
Sergio
CC#
Created by stigzler on 6/12/2024 in #help
Community.Toolkit.MVVM Error on [ObservableProperty]: The name 'x' does not exist in current context
Well you're certainly not going to attract people willing to help with that attitude. I told you I have been busy this week and apologized. I offered some help and told you to put that code in a separate project, which should fix the issue. And yes, the issue is caused by VS and that project type, it's not a bug in the MVVM Toolkit. So you're not even getting mad at the right person, let alone you shouldn't be getting mad at anyone
22 replies
CC#
Created by stigzler on 6/12/2024 in #help
Community.Toolkit.MVVM Error on [ObservableProperty]: The name 'x' does not exist in current context
This did fix a similar issue on WPF
22 replies
CC#
Created by stigzler on 6/12/2024 in #help
Community.Toolkit.MVVM Error on [ObservableProperty]: The name 'x' does not exist in current context
(or at least, worth a shot)
22 replies
CC#
Created by stigzler on 6/12/2024 in #help
Community.Toolkit.MVVM Error on [ObservableProperty]: The name 'x' does not exist in current context
I suspect it's some tooling issue in that project type. I would recommend moving all those viewmodels etc. to a separate project (eg. NS2.0, or NETFX4.8 as well), and reference that in your final VS extension project. That should work
22 replies
CC#
Created by stigzler on 6/12/2024 in #help
Community.Toolkit.MVVM Error on [ObservableProperty]: The name 'x' does not exist in current context
Are you using packages.config by any chance?
22 replies
CC#
Created by stigzler on 6/12/2024 in #help
Community.Toolkit.MVVM Error on [ObservableProperty]: The name 'x' does not exist in current context
Hey! Sorry, I missed this yesterday. Can you summarize the issue? 🙂
22 replies
CC#
Created by yambo on 5/7/2024 in #help
The type initializer for '<Module>' threw an exception.
Are you missing an activation manifest?
12 replies
CC#
Created by nathanAjacobs on 2/7/2024 in #help
What exactly do these limitations mean for NativeAOT?
(I recommend using the generators)
24 replies
CC#
Created by nathanAjacobs on 2/7/2024 in #help
What exactly do these limitations mean for NativeAOT?
This is ComWrappers
24 replies
CC#
Created by nathanAjacobs on 2/7/2024 in #help
What exactly do these limitations mean for NativeAOT?
No, that's just COM interop in general
24 replies
CC#
Created by nathanAjacobs on 2/7/2024 in #help
What exactly do these limitations mean for NativeAOT?
You need to use ComWrappers
24 replies
CC#
Created by nathanAjacobs on 2/7/2024 in #help
What exactly do these limitations mean for NativeAOT?
Basically [ComImport] doesn't work
24 replies
CC#
Created by nathanAjacobs on 2/7/2024 in #help
What exactly do these limitations mean for NativeAOT?
Sorry what's the question?
24 replies
CC#
Created by eduardoA on 11/29/2023 in #help
Microsoft MVVM toolkit
This is not what you said earlier though, I thought you were modifying properties in that viewmodel. You're instead setting properties that are nested in that Student type. That will not work as is
9 replies
CC#
Created by eduardoA on 11/29/2023 in #help
Microsoft MVVM toolkit
9 replies
CC#
Created by eduardoA on 11/29/2023 in #help
Microsoft MVVM toolkit
You'll want to define some bool CanRegister property or method in your viewmodel. Make that check that the password and email are not empty. Make those two observable properties and have them notify the command. Then make the command have CanExecute = nameof(CanRegister)
9 replies
CC#
Created by eduardoA on 11/29/2023 in #help
Microsoft MVVM toolkit
Yeah
9 replies
CC#
Created by нИ kaпЛи сЕрЬЁzноStи on 11/2/2023 in #help
❔ Windows Warning
I swear just asking Ahmed is faster than checking osgwiki or the OS repo kekw
17 replies
CC#
Created by нИ kaпЛи сЕрЬЁzноStи on 11/2/2023 in #help
❔ Windows Warning
That looks like a MesageDialog that's somehow still using the Windows 8 styles? @Ahmed Walid you might know?
17 replies