I have a Class Library which needs the .NET reference to work as it utilizes a lot of System APIs but I am unable to add the reference from the Add References dialogue box. The .NET reference isn't available under Assemblies in the Reference Manager.
This is how my project looks like and I get the following error when I build this project:
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
Following is the screenshot of my Reference Manager
I want the .NET reference as attached to the image below.Any idea how can I solve this issue? Thanks in advance :)




.NETreference