c# - The primary reference "Microsoft.CSharp", which is a framework assembly, could not be resolved in the currently targeted framework -


i started new winforms project, simple, has few labels, text boxes, , button. code running fine. forgot change framework version 4 (using vs 2010) 3.5 before created app , when changed 3.5 or 3.5 client profile following warning:

the primary reference "microsoft.csharp", framework assembly, not resolved in targeted framework. ".netframework,version=v3.5". resolve problem, either remove reference "microsoft.csharp" or retarget application framework version contains "microsoft.csharp".

it's not huge amount of trouble recreate 3.5 setting start , i'm sure i'm not using 4 framework need.

in most/all project templates in vs 2010 .net 4, microsoft.csharp assembly reference added. when created project given assembly reference automatically. shouldn't have problems removing reference.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -