VSTO 2005 Add-in fails to start if .NET framework 4 is installed -



VSTO 2005 Add-in fails to start if .NET framework 4 is installed -

i have vsto 2005 office add-in office 2003, built against .net 2, runs fine, works if .net framework 4 not installed.

if install .net framework 4, won't start. i've enabled debugging setting environment variable vsto_suppressdisplayalerts 0, can see error during startup of office applications:

the type initializer 'microsoft.visualstudio.tools.applications.runtime.domainfactory' threw exception.

************** exception text ************** system.typeinitializationexception: type initializer 'microsoft.visualstudio.tools.applications.runtime.domainfactory' threw exception. ---> system.notsupportedexception: microsoft .net framework 2.0 or later not correctly installed. microsoft visual studio 2005 tools microsoft office scheme requires microsoft .net framework 2.0 or later." @ microsoft.visualstudio.tools.applications.runtime.policyinfo.initializefromconfigurationfiles(policylevel& enterprisepolicy, policylevel& machinepolicy, policylevel& userpolicy) @ microsoft.visualstudio.tools.applications.runtime.policyinfo..ctor() @ microsoft.visualstudio.tools.applications.runtime.domainfactory..cctor() --- end of inner exception stack trace ---

any help or ideas much appreciated, don't know go this.

turns out due conflict office add-in had been built using add-in express. if other add-in uninstalled, add-in worked ok. updating version of add-in express assemblies other add-in using solved issue.

.net vsto ms-office

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -