c# - Metadata for System.Core.DLL couldn't be found in .NET 3.5 -


i want compile code using codedom , initializse compiler paramees doing likd this:

compilerparameters parameters = new compilerparameters(); parameters.referencedassemblies.add("system.dll"); parameters.referencedassemblies.add("system.windows.forms.dll"); parameters.referencedassemblies.add("system.core.dll"); //only works in .net 4.0 

if put target framework of visual studio on .net 4.0, no problem, works. if put target framework of visual studio on .net 3.5, gives me error in picture. , need run unnder .net 3.5 :(

enter image description here


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -