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
Complete thread:
- KeyManager in .Net 4.0 - Dotan, 2011-05-22, 22:59
- Re: KeyManager in .Net 4.0 - woddrazen, 2011-05-22, 23:56
- Re: KeyManager in .Net 4.0 - Dotan, 2011-05-23, 08:48
- Re: KeyManager in .Net 4.0 - wodDamir, 2011-05-23, 11:39
- Re: KeyManager in .Net 4.0 - wodDamir, 2011-05-27, 16:03
- Re: KeyManager in .Net 4.0 - Lukas Belza, 2012-09-07, 17:49
- Re: KeyManager in .Net 4.0 - woddrazen, 2012-09-07, 17:59
- Re: KeyManager in .Net 4.0 - Lukas Belza, 2012-09-07, 17:49
- Re: KeyManager in .Net 4.0 - wodDamir, 2011-05-27, 16:03
- Re: KeyManager in .Net 4.0 - wodDamir, 2011-05-23, 11:39
- Re: KeyManager in .Net 4.0 - Dotan, 2011-05-23, 08:48
- Re: KeyManager in .Net 4.0 - woddrazen, 2011-05-22, 23:56