Last post Jul 11, 2017 05:55 AM by Masterpiece88
Jul 03, 2017 09:26 AM|itsathere|LINK
I have added project of version 4.5 in Asp.Net Core 1.1. There was compatibility issue then I have installed package
Install-Package Microsoft.NETCore.Portable.Compatibility -Version 1.0.1
After package installation I am able to resolve compatibility issue but now getting run-time error "Could not load type '' from assembly 'mscorlib, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'."
If anyone have idea about please help.
Jul 03, 2017 12:00 PM|maherjendoubi|LINK
You can not mix frameworks. If you add a project version 4.5 in asp.net core 1.1 make sure that the hosting project target 4.5.
Jul 11, 2017 05:55 AM|Masterpiece88|LINK
If you use .net 4.5 on your main domain, then dont mix it. You can only use 1 .net version, unless if you create additional subdomain like netcore.yourdomain.com, then you can host asp.net core on this subdomain.