I've created a VSTO 2.0 SE add-in for Outlook 2007. Usually, it installs no problem on end-users' machines, but sometimes they have an outlook.exe.config file next to Outlook.exe which specifies that only .NET 1.0 or 1.1 is allowed to load. For example:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v1.0.3705" />
<supportedRuntime version="v1.1.4322" />
</startup>
</configuration>
In my test environment, if I add the 2.0 runtime to this list, then my add-in loads. IE:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v1.0.3705" />
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v2.0.50727" />
</startup>
</configuration>
Is there any issue with adding the last line automatically during installation? If there happens to be another add-in that is using the 1.1 runtime, will both add-ins be able to run side-by-side? Thanks!