Hello,
I currently have a .dll assembly and 2 .exe assemblies that both use the
..dll assembly. I currently have the IDE set up as 3 separate projects. I
must always first build the .dll assembly, then the other two. What I'd
like to be able to do is to set it up so that they all work together, that
is whenever I change something in either of the 3 whatever is necessary will
be rebuilt in the correct order automagically. When I tried to do this by
putting everything into one assembly it complained (as expected) that there
were 2 Main entry points.
Thanks,
Ray Mitchell 3 1196
"Ray Mitchell" <Ra*********@MeanOldTeacher.com> wrote in message
news:ph******************@newsread2.news.pas.earth link.net... Hello,
I currently have a .dll assembly and 2 .exe assemblies that both use the .dll assembly. I currently have the IDE set up as 3 separate projects. I must always first build the .dll assembly, then the other two. What I'd like to be able to do is to set it up so that they all work together, that is whenever I change something in either of the 3 whatever is necessary
will be rebuilt in the correct order automagically. When I tried to do this by putting everything into one assembly it complained (as expected) that
there were 2 Main entry points.
Use project references (Add Reference, Projects tab) instead of hard
references to the assembly. This will do what you want. Thanks, Ray Mitchell
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl... "Ray Mitchell" <Ra*********@MeanOldTeacher.com> wrote in message news:ph******************@newsread2.news.pas.earth link.net... Hello,
I currently have a .dll assembly and 2 .exe assemblies that both use the .dll assembly. I currently have the IDE set up as 3 separate projects.
I must always first build the .dll assembly, then the other two. What I'd like to be able to do is to set it up so that they all work together,
that is whenever I change something in either of the 3 whatever is necessary will be rebuilt in the correct order automagically. When I tried to do this
by putting everything into one assembly it complained (as expected) that there were 2 Main entry points. Use project references (Add Reference, Projects tab) instead of hard references to the assembly. This will do what you want. Thanks, Ray Mitchell
I think that's what I've done. I've added a reference to the common .dll
created by the common project to the list of references for each of the
other two projects that use that .dll. A I missing what you're telling me
somehow? Thanks for your help.
"Ray Mitchell" <Ra*********@MeanOldTeacher.com> wrote in message
news:hc*******************@newsread2.news.pas.eart hlink.net... "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message news:ej**************@TK2MSFTNGP11.phx.gbl... "Ray Mitchell" <Ra*********@MeanOldTeacher.com> wrote in message news:ph******************@newsread2.news.pas.earth link.net... Hello,
I currently have a .dll assembly and 2 .exe assemblies that both use
the .dll assembly. I currently have the IDE set up as 3 separate
projects. I must always first build the .dll assembly, then the other two. What
I'd like to be able to do is to set it up so that they all work together, that is whenever I change something in either of the 3 whatever is
necessary will be rebuilt in the correct order automagically. When I tried to do
this by putting everything into one assembly it complained (as expected) that there were 2 Main entry points. Use project references (Add Reference, Projects tab) instead of hard references to the assembly. This will do what you want. Thanks, Ray Mitchell
I think that's what I've done. I've added a reference to the common .dll created by the common project to the list of references for each of the other two projects that use that .dll. A I missing what you're telling me somehow? Thanks for your help.
In vs.net, there are four types of references, .assembly file references,
which reference assemblies on disk, COM references that referernce COM
objects via interop assemblies, Web references that reference web services
through similar proxy assemblies, and project references which are linked to
a project, not a given file. By linking to a project in the current
solution, visual studio adds a dependency and automatically builds all
assemblies the assembly you are building is dependent upon, this is the
effect you are after, correct?
To achieve it, when you add the reference, you would use the Projects tab on
the Add Reference dialog, not the .NET tab. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mike |
last post by:
Hey guys I am pulling my hair out on this problem!!!!! Any help or ideas or
comments on how to make this work I would be grateful! I have been...
|
by: Brett Baisley |
last post by:
At school, we do all of our coding in emacs, but I am trying to get the
example apps working at home using Visual C++.net.
In the example, there...
|
by: M Skabialka |
last post by:
I installed Visual Studio Beta 2005 but setting up the SQL server was so
complex I uninstalled it and put Visual Studio 2003 Academic on. I am...
|
by: Tony |
last post by:
I have a situation where I want to send data, but I have no need for a
response. It seems to me that XMLHTTPRequest is the best way to send the...
|
by: NASAdude |
last post by:
I'm working on distributing a database using VS Tools for Office, and
am having trouble with linked images on forms/reports. The image
objects have...
|
by: Ronald S. Cook |
last post by:
In a .NET Windows app, if I set somehting like the title of the form to
"MyApp" at run-time, will that make the app run slightly slower than if I...
|
by: tizmagik |
last post by:
Database consists of the following 4 tables with respective
attributes:
CUSTOMER(C#, CUSTOMER NAME, ADDRESS), the key is
ITEM(I#, ITEM NAME,...
|
by: kjell |
last post by:
Hi,
I wonder if someone may have a solution to a small problem I'm
experiencing with a C++ program? I'm have two classes in my
application that...
|
by: daxco21 |
last post by:
I have been working on this simple project for a week, and come to the point where I feel like I need outside help. For the life of me I can't figure...
|
by: dihola |
last post by:
Hi all,
I am developing 2 websites (A and B) that share a lot of pages and classes, and I wonder if I am doing it
the right way. I have extracted...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
| |