Last post Aug 10, 2017 10:01 AM by Billy Liu
Aug 09, 2017 12:15 PM|RioDD|LINK
I'm doing a project that needs to use .net framework 2.0 and I'm using asp.net VS2017. I"m getting
I removed everything from web.config, packages.config and references. I'm still getting same error.Please help
Aug 10, 2017 05:51 AM|Billy Liu|LINK
Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
This means that the 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform' is not working in framework 2.0. It needs a newer version of .Net Framework, such as .Net Framework 4.5 and .Net Framework4.6.
You could refer to link below for more information:
Aug 10, 2017 09:37 AM|RioDD|LINK
Yes I'm aware that is not working with .Net framework 2.0 but my main requirement is to use .Net framework 2.0. So I can't change the .Net framework. How do I remove this CodeDom and run my application with .Net 2.0?
Aug 10, 2017 10:01 AM|Billy Liu|LINK
Have you tried to uninstall it by using Package Manager Console?
You could use the following command to uninstall it:
And you could refer to link below for more information: