Re: KeyManager in .Net 4.0 (General questions)
Hi Dotan,
Problem is that VS2010 projects must be built as .NET 4 framework project. There is no option to build with an older runtime. So you are receiving such error because KeyManager is built using .NET 2 framework.
Workaround fro this problem is to go to C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin. Either edit or create sgen.exe.config and add this text inside:
[code]<?xml version = 1.0 ?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy= true >
<supportedRuntime version= v4.0 />
</startup>
<runtime>
<generatePublisherEvidence enabled= false />
</runtime>
</configuration>[/code]
Let us know how it goes.
Regards,
Drazen