Reputation: 21
Since a couple of days I have a very strange error when building PCL project with profile 259. It gives me the following erro:
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 is only happening when building for PCL profile259. If I change it to profile 78 for example everything works. I am also missing the .NET reference in the references list (for profile259)
I already reinstalled Visual Studio 2015 and 2017, but nothing seems to work.And I also ran the NetFXRepairTool, and tried to reinstall the different .NET frameworks. (I am running W10).
Is there anyone who might have the solution to solve this?
Upvotes: 1
Views: 502
Reputation: 21
Ok, it seems I've solved the issue. My Profile259 folder didn't contain any dll files. For now I copied the dll from profile 78 folder, which seems to work for now. I will replace them by a copy of profile 259 though.
Upvotes: 1