473,796 Members | 2,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

assemblies & references

Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references
Jul 21 '05 #1
12 1662
just code it that way?! im kinda missing what you're not getting.. just code
all the modules as seperate projects and refrence them all together... it's
not that hard
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references

Jul 21 '05 #2
If you want to take this approach, you'll need to create each module in its
own solution, which will compile it to its own assembly. For example, one
solution could be the module that describes data classes and another could
describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references

Jul 21 '05 #3
how to compile them and make those project readable and can reference them ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
If you want to take this approach, you'll need to create each module in its own solution, which will compile it to its own assembly. For example, one
solution could be the module that describes data classes and another could
describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references


Jul 21 '05 #4
Compile them just as you would any assembly. Reference them as you would
any assembly. Once they are referenced, you can instantiate the classes in
the modules.

Are you saying you don't know how to compile and make references? If so,
that is a completely different issue. If you are using VS.NET, "build" your
assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
how to compile them and make those project readable and can reference them ?
"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
If you want to take this approach, you'll need to create each module in

its
own solution, which will compile it to its own assembly. For example, one solution could be the module that describes data classes and another could describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references



Jul 21 '05 #5
so sorry.....
I right click the "references " under the solution explorer and choose Add
References.

then pop up one screen with Three Tab there
..NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up
i browse to the destination path and choose xxx.exe but can not add the
references.

this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every files
on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ...can or
can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
Compile them just as you would any assembly. Reference them as you would
any assembly. Once they are referenced, you can instantiate the classes in the modules.

Are you saying you don't know how to compile and make references? If so,
that is a completely different issue. If you are using VS.NET, "build" your assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
how to compile them and make those project readable and can reference them
?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
If you want to take this approach, you'll need to create each module
in its
own solution, which will compile it to its own assembly. For example,

one solution could be the module that describes data classes and another could describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> Anyone know how to breakdown every modules into different assemblies
>
> and refernces. Hence, to repair problematic module, only that
>
> particular module needed to be recompiled.
>
>
> or any place can get more information about assemblies & references
>
>



Jul 21 '05 #6

" A-PK" <pi********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
so sorry.....
I right click the "references " under the solution explorer and choose Add
References.

then pop up one screen with Three Tab there
.NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up
i browse to the destination path and choose xxx.exe but can not add the
references.
You want to make a reference to a .NET Assembly, right? Then choose .NET
and hit browse. Browse to the .NET assembly in question and hit select.
Then click OK. It's really very simple.


this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every files on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ...can or can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
Compile them just as you would any assembly. Reference them as you would
any assembly. Once they are referenced, you can instantiate the classes

in
the modules.

Are you saying you don't know how to compile and make references? If so, that is a completely different issue. If you are using VS.NET, "build"

your
assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
how to compile them and make those project readable and can reference them
?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
> If you want to take this approach, you'll need to create each module

in its
> own solution, which will compile it to its own assembly. For example, one
> solution could be the module that describes data classes and another

could
> describe business classes.
>
> Search MSDN.Microsoft. com, keyword "assemblies " for more.
>
>
> " A-PK" <pi********@hot mail.com> wrote in message
> news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> > Anyone know how to breakdown every modules into different

assemblies > >
> > and refernces. Hence, to repair problematic module, only that
> >
> > particular module needed to be recompiled.
> >
> >
> > or any place can get more information about assemblies & references > >
> >
>
>



Jul 21 '05 #7
ok..should i compile my project to .dll file then make references to my
project ?

i have compile my file to dll, and able to make references, i wonder if i
dun compile to dll (class), could I still make reference to my project ?

i am confused about dll now...i though dot net already face off dll.....but
how come i still need to compile dll in order to make references ?...pls
guide me....i am not clear in this issue
"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:eL******** ******@TK2MSFTN GP10.phx.gbl...

" A-PK" <pi********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
so sorry.....
I right click the "references " under the solution explorer and choose Add
References.

then pop up one screen with Three Tab there
.NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up i browse to the destination path and choose xxx.exe but can not add the
references.


You want to make a reference to a .NET Assembly, right? Then choose .NET
and hit browse. Browse to the .NET assembly in question and hit select.
Then click OK. It's really very simple.


this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every

files
on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ...can

or
can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
Compile them just as you would any assembly. Reference them as you would any assembly. Once they are referenced, you can instantiate the classes in
the modules.

Are you saying you don't know how to compile and make references? If so, that is a completely different issue. If you are using VS.NET,
"build"
your
assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
> how to compile them and make those project readable and can
reference them
?
>
> "Scott M." <s-***@BADSPAMsnet .net> wrote in message
> news:OY******** ******@tk2msftn gp13.phx.gbl...
> > If you want to take this approach, you'll need to create each
module in
> its
> > own solution, which will compile it to its own assembly. For

example, one
> > solution could be the module that describes data classes and
another could
> > describe business classes.
> >
> > Search MSDN.Microsoft. com, keyword "assemblies " for more.
> >
> >
> > " A-PK" <pi********@hot mail.com> wrote in message
> > news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> > > Anyone know how to breakdown every modules into different

assemblies > > >
> > > and refernces. Hence, to repair problematic module, only that
> > >
> > > particular module needed to be recompiled.
> > >
> > >
> > > or any place can get more information about assemblies & references > > >
> > >
> >
> >
>
>



Jul 21 '05 #8

" A-PK" <pi********@hot mail.com> wrote in message
news:ed******** ********@TK2MSF TNGP11.phx.gbl. ..
ok..should i compile my project to .dll file then make references to my
project ?
Whatever .dll you want to reference should already be compiled into its
final form (.dll or .exe) before you reference it. The project that needs
to use the referenced .dll need not be compiled to make the reference, but
certainly needs to be compiled in order for its code to run (and therefore
use the referenced assembly).
i have compile my file to dll, and able to make references, i wonder if i
dun compile to dll (class), could I still make reference to my project ?
See above.
i am confused about dll now...i though dot net already face off dll.....but how come i still need to compile dll in order to make references ?...pls
guide me....i am not clear in this issue
As I stated, you need to have whatever you want to reference already
compiled, because the compiled assembly is what you make a reference to.
The project that is making the reference needs to be compiled to run, but
not to make a reference. An example of this is that a brand new project in
VS.NET will already have references to commonly used .NET assemblies
(system.dll, mscoree.dll, etc.) before you even begin.

I really would suggest an msdn.microsoft. com search on "Assemblies ",
"Namespaces " and "references " as these are all basic tenants of .NET
programming.

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:eL******** ******@TK2MSFTN GP10.phx.gbl...

" A-PK" <pi********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
so sorry.....
I right click the "references " under the solution explorer and choose Add References.

then pop up one screen with Three Tab there
.NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up i browse to the destination path and choose xxx.exe but can not add the references.


You want to make a reference to a .NET Assembly, right? Then choose ..NET
and hit browse. Browse to the .NET assembly in question and hit select.
Then click OK. It's really very simple.


this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every

files
on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ....can
or
can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
> Compile them just as you would any assembly. Reference them as you

would
> any assembly. Once they are referenced, you can instantiate the classes in
> the modules.
>
> Are you saying you don't know how to compile and make references?
If so,
> that is a completely different issue. If you are using VS.NET,

"build" your
> assembly (compile) from the Build menu. If not using VS.NET, use
the > command line compilers.
>
>
> " A-PK" <pi********@hot mail.com> wrote in message
> news:Oc******** ******@tk2msftn gp13.phx.gbl...
> > how to compile them and make those project readable and can

reference them
> ?
> >
> > "Scott M." <s-***@BADSPAMsnet .net> wrote in message
> > news:OY******** ******@tk2msftn gp13.phx.gbl...
> > > If you want to take this approach, you'll need to create each module in
> > its
> > > own solution, which will compile it to its own assembly. For

example,
> one
> > > solution could be the module that describes data classes and another > could
> > > describe business classes.
> > >
> > > Search MSDN.Microsoft. com, keyword "assemblies " for more.
> > >
> > >
> > > " A-PK" <pi********@hot mail.com> wrote in message
> > > news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> > > > Anyone know how to breakdown every modules into different

assemblies
> > > >
> > > > and refernces. Hence, to repair problematic module, only that
> > > >
> > > > particular module needed to be recompiled.
> > > >
> > > >
> > > > or any place can get more information about assemblies &

references
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Jul 21 '05 #9
I have a concern which follows on from this discussion.

I am building a .NET application made up of multiple assemblies
(projects) in a single solution. The projects are decoupled as much as
possible so that only a few interfaces are exposed between projects.

But....

Whenever I touch any code in a more fundamental project (say, Storage),
ALL files are recompiled in ALL projects that reference this changed
project.

This is unacceptable! At the moment the compile times are not large as
the project is still at POC stage but I expect the code space to
increase at least 100 to 1000 fold.

Am I missing something, or is this deliberate? Surely VS can determine
whether any exposed types have been changed rather than taking what
appears to be the most pessimistic approach.

Any information would be very much appreciated.


Whatever .dll you want to reference should already be compiled into its
final form (.dll or .exe) before you reference it. The project that needs
to use the referenced .dll need not be compiled to make the reference, but
certainly needs to be compiled in order for its code to run (and therefore
use the referenced assembly).

i have compile my file to dll, and able to make references, i wonder if i
dun compile to dll (class), could I still make reference to my project ?

As I stated, you need to have whatever you want to reference already
compiled, because the compiled assembly is what you make a reference to.
The project that is making the reference needs to be compiled to run, but
not to make a reference. An example of this is that a brand new project in
VS.NET will already have references to commonly used .NET assemblies
(system.dll, mscoree.dll, etc.) before you even begin.


---

If you whish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - no****@nowhere. com :-)
Jul 21 '05 #10

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

Similar topics

1
6936
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while compiling the Max.UI.Win project with the following error Satellite assemblies could not be built because the main project output is missing.
1
1672
by: Dan | last post by:
Here's a scenario I'd like to discuss in order to setup my VS.NET IDE properly and be able to prepare a distribution: a) I have a windows forms C# app using 3 shared assemblies I developed to include various functions. The 3 shared assemblies are strongly named, and some of them are also used by others of them. Let's call them A, B, and C: now, B references A, while C references A and B. b) there is a distinct solution for each of the...
9
4184
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and post-build events to automate GAC installation processes and the asp.net application has "copy to local" set to false for the references of these shared assemblies. However, every time we made the changes to the shared assemblies, we had to restart...
12
1117
by: A-PK | last post by:
Anyone know how to breakdown every modules into different assemblies and refernces. Hence, to repair problematic module, only that particular module needed to be recompiled. or any place can get more information about assemblies & references
4
1594
by: Arpan | last post by:
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX directory. This directory has a sub-directory named \bin where in all DLLs are stored. Are these DLLs which are stored in the \bin directory known as Assemblies? Also is the \bin directory the Assembly Cache? Thanks, Arpan
0
9680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10455
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10173
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.