Selecting correct .NET Framework version

T

Tae Lee

I have an add-in that runs under v1.1 but it is failing
since OS tries to run it under v2.0 Can we specify the
version the add-in runs under? Similar to ASP.NET side-
by-side mode? Thanks in advance.

-Tae Lee
 
M

Matthew Tadd

Whenever managed code is first initialized in a given process, the
Framework checks for a .config file associated with the EXE. You can
create one for Outlook as well. Place a copy of the following text in
C:\Program Files\Microsoft Office\OFFICE11\Outlook.exe.config to
prevent v2.0 of the Framework from running.

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top