VSTO, Outlook.exe.config, and <supportedRuntime>
I created the VSTO 2.0 SE add-in for Outlook 2007. It usually does not create problems on end-user computers, but sometimes they have the outlook.exe.config file next to Outlook.exe, which indicates that only .NET 1.0 or 1.1 is allowed to be downloaded. For instance:
<?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 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 a problem with adding the last line automatically during installation? If there is another add-in using runtime 1.1, will both add-ons be able to work side by side? Thank!
+3
1