Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

PIA installed, but can't find the OWC.dll(version 1.1)

$
0
0

hi guys,


Primary Interop Assembly are installed, but it does not work,my project can not find this refference at all.

message like this"Error 2 The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are

you missing an assembly reference?)

C:\eCART\Trunk\APP\WebService\Model.cs 7 25 ECART"

but ,if i unload porject and edit the project file to change owc.dll version 1.0 to 1.1, it works.

//***************org code****************

    <COMReference Include="OWC11">
      <Guid>{0002E558-0000-0000-C000-000000000046}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>1</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>primary</WrapperTool>
      <Isolated>False</Isolated>
    </COMReference>

// ********change to ************** 

    <COMReference Include="OWC11">
      <Guid>{0002E558-0000-0000-C000-000000000046}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>primary</WrapperTool>
      <Isolated>False</Isolated>
    </COMReference>

then reload project, i works, no error here.

(i dont have right to post pics...)

how could i make the refference right with owc.dll version

1.1, and what happend to me??

working envirment :

vs2005 sp1,

os:winxp sp3


Viewing all articles
Browse latest Browse all 2257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>