pglazkov / MvvmValidation

Lightweight library that helps reduce boilerplate when implementing validation in XAML MVVM applications
MIT License
167 stars 31 forks source link

visual studio for mac 2019 , the type of namespace name 'mvvmvalidation' could not be found #26

Closed Nathan187 closed 4 years ago

Nathan187 commented 4 years ago

sorry for posting about this again. i didn't find any clear resolution.

in visual studio 2017 (mac), i was able to get an application to compile and run. this project uses mvvmcross and mvvmvalidation. in 2017, i was able to switch the mono runtimes but i cannot do that now in visual studio 2019(mac). i try to compile the application and i have these such errors:

CS0246: The type or namespace name 'MvvmValidation' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (QAQC)

i have seen people say, change the target of your platform to .net standard or whatever. doing that, it's going to break other packages or references. right now the pcl project is using profile 78.

which versions of mvvmvalidation are compatible with profile 78. or has anyone else have been having this issue?

Nathan187 commented 4 years ago

the portable library project in my solution...there was a 3rd party folder of assemblies. the portable library project is using .net framework 4.5 profile 78. however the assembly it was referencing in the 3rd party folder...somehow was version 3.1.1. Deleted that dll from the disk and replaced it with version 2.0.2 compiled fine afterwards