Reference in manage code to infopath.xml

T

Tim Larson

Somehow my library reference to the Microsoft.Office.interop.Infopath.Xml.dll
has become corrupted. I reinstalled the Office PIAs but it still doesn't show
up in the .COM area for references in visula studio. I tried to use regasm
without success. It clearly is in the GAC (C:\WINDOWS\assembly) Please help I
have run out of ideas. Tim
 
F

Franck Dauché

Hi Tim,

This happens typically afte you install SP2 on a machine where you have
project that were designed with SP1. Remove the reference to the Interopt
Assembly, then add again the reference and everything should work fine.

Hope that it help.

Regards,

Franck Dauché
 
T

Tim Larson

Unfortunately there is nothing to reference which is my problem and mystery.
Clearly it is in the GAC and I can register it with regasm but when I try to
reference it under the COM tab it is not there. Infopath type lib is there
but not the interop.infopath.xml file. Any ideas?
 
F

Franck Dauché

Hi Tim,

It won't be there. You have to use the Browse button and go to the Office11
folder:
(by default: C:\Program Files\Microsoft Office\OFFICE11).
There, select: Microsoft.Office.Interop.InfoPath.SemiTrust.dll

Hope that it helps.

Regards,

Franck Dauché
 
T

Tim Larson

Thanks that makes sense. Tim
--
Tim


Franck Dauché said:
Hi Tim,

It won't be there. You have to use the Browse button and go to the Office11
folder:
(by default: C:\Program Files\Microsoft Office\OFFICE11).
There, select: Microsoft.Office.Interop.InfoPath.SemiTrust.dll

Hope that it helps.

Regards,

Franck Dauché
 

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