Solved

Create a dll file for the attached C# code

Posted on 2008-10-15
3
332 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
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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