Solved

Create a dll file for the attached C# code

Posted on 2008-10-15
3
327 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 your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now