CSC Compiling error CS0246 : Namespace not found

293 Views Asked by At

I am unable to compile a .Net application.

The compiler gives the below error :

" /.../, error CS0246 : type or namespace 'MySql.Data' was not found. Are you missing an assembly reference ? /.../"

I'm using VSCode to do that. I tried making sure the .csproj file was in fact referencing the NuGet package, and all. I don't know what's the argument to reference a package defined in a .csproj, any help? Thanks a lot.

0

There are 0 best solutions below