Solved

Create a dll file for the attached C# code

Posted on 2008-10-15
3
333 Views
Last Modified: 2013-12-17
Hi,

I want to create a dll file for the attached C# code for calling the Exchange 2007 WebService. I am using Visual Studio 2008 and I am getting "missing directive or assembly reference" when I am trying to build the code in a "class library" project. However, when I write this code in a "Web page" project, I do not get any errors.

Please suggest what can be done to create a working dll for this.

Thanks
Arjit
wscall.txt
0
Comment
Question by:arjitbhandari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Expert Comment

by:CuteBug
ID: 22728693
Can you provide the exact error message.

You might need to add reference to a particular DLL to your project, for it to compile.
0
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22729154
It says you have to add reference to few DLLs in your project.
Goto solution explorer and compare the "References" in both class library and web project. Add those DLL that are missing. Also check the "using" part in your code you may be missing something there.
0
 

Author Comment

by:arjitbhandari
ID: 22734506
Thank you...I added the Exchange WebService wsdl and cs file in the project and it worked!

Arjit
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question