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:
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 surely, bunch of other people fine well). simply, may have v3.5 or v4.5 installed , means need install v4.0 framework (... again if tried).
i found folder path gave did not take me anywhere on pc, path did;
c:\program files\reference assemblies\microsoft\framework\
can try path on pc , see if there v4.0 folder there.
Comments
Post a Comment