Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Tue, 8 Jul 2008 14:12:05 -0700,    group: microsoft.public.dotnet.framework.interop        back       


Excel interop issue   
My dev system has both Office 2003 and 2007 with Visual studio 2005 and .NET 
framework 2.0. I am using Excel 2003 COM reference in my project. I am able 
to build and run the project without any error in my system. But when the 
Build master tries to create a deployment build he gets the following 
warnings/errors.

1) Cannot find wrapper assembly for type library "Excel".
2) Cannot find wrapper assembly for type library "Microsoft.Office.Core".
3) ) error CS0234: The type or namespace name 'Office' does not exist in the 
namespace 'Microsoft' (are you missing an assembly reference?)

Please anyone explain what is causing these errors?
 I changed the policy config files to map to the correct office version (11 
instead of 12). 
Can i copy paste the interop files into my project folder to solve this issue?
date: Tue, 8 Jul 2008 14:12:05 -0700   author:   ShanthiJ

Re: Excel interop issue   
Not sure what you mean by "build master" but it sounds to me like you need 
to install the PIAs on the machine that's having the problem.

Here's the link to download them:
http://www.microsoft.com/downloads/details.aspx?familyid=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad

"ShanthiJ"  wrote in message 
news:BBD97F78-25FA-4A13-9379-FAA2E255AB79@microsoft.com...
> My dev system has both Office 2003 and 2007 with Visual studio 2005 and 
> .NET
> framework 2.0. I am using Excel 2003 COM reference in my project. I am 
> able
> to build and run the project without any error in my system. But when the
> Build master tries to create a deployment build he gets the following
> warnings/errors.
>
> 1) Cannot find wrapper assembly for type library "Excel".
> 2) Cannot find wrapper assembly for type library "Microsoft.Office.Core".
> 3) ) error CS0234: The type or namespace name 'Office' does not exist in 
> the
> namespace 'Microsoft' (are you missing an assembly reference?)
>
> Please anyone explain what is causing these errors?
> I changed the policy config files to map to the correct office version (11
> instead of 12).
> Can i copy paste the interop files into my project folder to solve this 
> issue?
>
date: Wed, 9 Jul 2008 01:25:27 -0400   author:   Jeff Winn

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us