473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Using a class library in multiple applications in asp.net

Hi Gens,

I have a class library (CL) which I would like to use in two
applications (A and B).

I would like to be able to edit CL anywhere (either CL itself or A or B
application) but all the changes I make regardless of where I edit CL,
the changes must be made only to the original source and as soon as I
edit CL, the changes should be made and used instantly.

And I would like to be able to debug CL in both A and B applications as
I develop them.

How can I archieve this?

Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
2 1053
Well, there's a whole DLL deployment problem which depends a lot on your
individual configuration, so I won't get into it here, and talk just about
development.

First of all, how do you have this set up? Normally, you'd have two
solutions (A & B) and three projects. (A, B & CL). Each solution would
have two projects: it's own, and CL. The source files for CL would exist in
only one place on your hard disk.

TaeHo Yoo wrote:
Hi Gens,

I have a class library (CL) which I would like to use in two
applications (A and B).

I would like to be able to edit CL anywhere (either CL itself or A or
B application) but all the changes I make regardless of where I edit
CL, the changes must be made only to the original source and as soon
as I edit CL, the changes should be made and used instantly.

And I would like to be able to debug CL in both A and B applications
as I develop them.

How can I archieve this?

Thanks
*** Sent via Developersdex http://www.developersdex.com ***


--
Truth,
James Curran [erstwhile-MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Nov 17 '05 #2
I really appreciate all your help James.
But I hope you wouldn't mind one more question.
In the actual project, I have A, B and C class libraries for a project(
say MyProject).
When I add A and B reference as Projects to MyProject, it works fine but
when I try to add C as Project to MyProject. I can't access any classes
in C class library and I am getting the following error
"Cannot copy assembly 'C' to file
'c:\inetpub\wwwroot\MyProject\bin\C.dll'. Access is denied."

Any idea??
Thanks a lot
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
9
by: craigkenisston | last post by:
Hi, I'm starting my first asp.net application and I decided to put the users preferences in a static class. I thought, the static class would be just seen by current session, but it seems it...
3
by: eBob.com | last post by:
I have several applications which mine web sites for personal information which they publish. They publish the info in one form, I transform the info into Excel spreadsheets. So all these...
7
by: Peter Bradley | last post by:
OK. A bit behind the times, I know; but we're just moving over to .NET 2.0. How on earth do you manage configuration settings in a class library in .NET 2.0? In version 1.1, we used a handy class...
5
by: andrewmorrey | last post by:
Hello, I've got a VC++ project containing multiple classes and a main function. In one of the class functions, it reads from a text file and places the data into a vector; //...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.