c# - Target .Net 4.0 when using Windows 8 / VS2012 -
i having issues building merged dll target .net4.0 on windows 8 machine. can build individual .net4.0 dlls in vs2012 not have problem: targeting .net 4.0 in vs 2012 on windows 8 i have come across following excellent blog post discuss issue: http://www.mattwrock.com/post/2012/02/29/what-you-should-know-about-running-ilmerge-on-net-45-beta-assemblies-targeting-net-40.aspx and also: could not load type 'system.runtime.compilerservices.extensionattribute' assembly 'mscorlib which suggests use following syntax during merge: /targetplatform:"v4,c:\program files\reference assemblies\microsoft\framework\.netframework\v4.0" unfortunately in windows 8 not have directory. can think of following possible solutions interested know if has solved this. copy .net 4.0 assemblies windows 7 machine above directory manually. find .net 4.0 assemblies being used vs2012 , reference those. ?? i using windows 8, , vs 2012 have not come across issue (and