I have a solution containing many usercontrol projects.
When I wish to reference a usercontrol in another project I can select
either the project or the assembly.
Does it make a difference which one I select?
Thanks
Nov 21 '05
11 1925
Jay,
The problem I have is that I have shared projects and I do not want to use
the GAC because that will change my deployment stragedy. I really like the
convience of using NTD but your projects must be XCOPY deployable.
Dan
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:uj******** ******@TK2MSFTN GP14.phx.gbl... Dan, For projects that are shared across solutions, that may be a good convention.
I currently do not share projects across solutions, so I have not "crossed that bridge yet".
I can see potential problems for projects destined for the GAC where this may be an issue, however for shared projects that are destined for side by side deployment I don't know if I would worry about it. As I stated above,
I have not "crossed that bridge yet".
Thanks for the additional info!
Jay
"solex" <so***@nowhere. com> wrote in message news:Oo******** ******@TK2MSFTN GP11.phx.gbl... Jay,
I do not have documentation. It was my understanding that this was an accepted method. I generally compile my components outside of the solution and therefore need to reference the assembly. This way I do not inadverntly recompile the component if there are no changes, which can cause
problems if there are other projects that depend on the component.
In short my posting was just my convention and apologize for any misunderstandin g.
Regards, Dan
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in
message news:OP******** ******@TK2MSFTN GP10.phx.gbl... Dan, I only reference projects, when I do my final compiles (release
builds), using Build Solution, the child project is compiled first then the
parent project is compiled.
Do you have a documented case where the above does not work? I would be curious to see it.
Hope this helps Jay
"solex" <so***@nowhere. com> wrote in message news:Oj******** ******@TK2MSFTN GP14.phx.gbl... > Yes it does. When you select project it is simply for debugging.
When > you > do a final compile you should first compile the child project and
then > reference the compiled assembly in the parent project. > > Dan > > " Just Me" <gr****@a-znet.com> wrote in message > news:eU******** ******@TK2MSFTN GP11.phx.gbl... >> I have a solution containing many usercontrol projects. >> When I wish to reference a usercontrol in another project I can
select >> either the project or the assembly. >> >> Does it make a difference which one I select? >> >> >> >> Thanks >> >> > >
Dan,
I normally use a Setup project to deploy my apps.
When you deploy your apps are you going to a single folder for all EXEs or
does each folder get its own EXE? If each EXE gets its own folder then each
folder will have its own copy of the DLL, so I don't see a versioning issue
per se.
If the DLL goes in the GAC or all the EXEs are in a single folder, then I
can see a versioning issue.
As I stated, I have not "crossed that bridge" yet, never the less, I do
appreciate the info for when I do reach that bridge.
Thanks again
Jay
"solex" <so***@nowhere. com> wrote in message
news:%2******** *******@TK2MSFT NGP11.phx.gbl.. . Jay,
The problem I have is that I have shared projects and I do not want to use the GAC because that will change my deployment stragedy. I really like the convience of using NTD but your projects must be XCOPY deployable.
Dan
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message news:uj******** ******@TK2MSFTN GP14.phx.gbl... Dan, For projects that are shared across solutions, that may be a good convention.
I currently do not share projects across solutions, so I have not "crossed that bridge yet".
I can see potential problems for projects destined for the GAC where this may be an issue, however for shared projects that are destined for side by side deployment I don't know if I would worry about it. As I stated above, I have not "crossed that bridge yet".
Thanks for the additional info!
Jay
"solex" <so***@nowhere. com> wrote in message news:Oo******** ******@TK2MSFTN GP11.phx.gbl... > Jay, > > I do not have documentation. It was my understanding that this was an > accepted method. I generally compile my components outside of the > solution > and therefore need to reference the assembly. This way I do not > inadverntly > recompile the component if there are no changes, which can cause problems > if > there are other projects that depend on the component. > > In short my posting was just my convention and apologize for any > misunderstandin g. > > Regards, > Dan > > > "Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message > news:OP******** ******@TK2MSFTN GP10.phx.gbl... >> Dan, >> I only reference projects, when I do my final compiles (release builds), >> using Build Solution, the child project is compiled first then the parent >> project is compiled. >> >> Do you have a documented case where the above does not work? I would >> be >> curious to see it. >> >> Hope this helps >> Jay >> >> "solex" <so***@nowhere. com> wrote in message >> news:Oj******** ******@TK2MSFTN GP14.phx.gbl... >> > Yes it does. When you select project it is simply for debugging. When >> > you >> > do a final compile you should first compile the child project and then >> > reference the compiled assembly in the parent project. >> > >> > Dan >> > >> > " Just Me" <gr****@a-znet.com> wrote in message >> > news:eU******** ******@TK2MSFTN GP11.phx.gbl... >> >> I have a solution containing many usercontrol projects. >> >> When I wish to reference a usercontrol in another project I can select >> >> either the project or the assembly. >> >> >> >> Does it make a difference which one I select? >> >> >> >> >> >> >> >> Thanks >> >> >> >> >> > >> > >> >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Petri J. Riipinen |
last post by:
Hi,
I'm writing a largish (>60 projects) solution with VS.NET 2003 using VB.NET
as my implementation language. I'm using NUnit and NUnit VS.NET-addin to
implement unit tests for my code.
Currently I have a single UnitTests-project that contains unit tests for all
other projects. This way I can embed all unit testing into a single assembly
which I can use during the development but exclude from a setup that I
create from other...
|
by: WM Chung |
last post by:
Hi all,
I meet a problem in building my .Net Solution and I would like to seek help.
After I have added a dll to reference in one of my project in my solution,
when I re-build the solution, I meet the following error :
------ Rebuild All started: Project: OIDCOMMON, Configuration: Debug .NET
------
Preparing resources...
|
by: Robert |
last post by:
I have a series of web applications (configured as separate applications) on
a server.
There is a main application at the root and then several virtual directories
that are independant applications.
I am testing an upgrade of all of the sites and have converted the main root
site...although not necessarily fixed any issues.
I move on instead and converted one of the virtual roots that is a seperate
|
by: John Lafrowda |
last post by:
Hi all,
I'm trying to handle two projects in one solution (.net 2002, both projects
are VB). The first project contains only some public constant definitions
(for the moment) and compiles into class libarary. The second one is builds
an executable which has a reference to the assembly of the first project to
retrieve global constant definitions. The whole thing works fine as long as
no definitions are changed in the library project.
...
|
by: serge calderara |
last post by:
Dear all,
I do not see the difference between Referencing an assembliy for use in my
project and Register it on a page ?
At the end if I want to use assembly functionnality , I need anyway to add a
reference no ?
| |
by: MSDNAndi |
last post by:
Hi,
I have the following problem with VS 2005 (Professional) and C# 2.0
I will use assembly and namespace synonymously here.
I have a class in namespace InheritClass inherit from a baseclass in
namespace BaseClass.
Then I have a class in namespace InheritClassUser that uses the class in
namespace InheritClass.
The references/using are from InheritClass to BaseClass and from
|
by: Richard Lewis Haggard |
last post by:
We are having a lot of trouble with problems relating to failures relating
to 'The located assembly's manifest definition with name 'xxx' does not
match the assembly reference" but none of us here really understand how this
could be an issue. The assemblies that the system is complaining about are
ones that we build here and we're not changing version numbers on anything.
The errors come and go with no apparent rhyme or reason.
We do not...
|
by: WXS |
last post by:
In a case you have Project/Assembly A references Project/Assembly B which
References Project/Assembly C.
Let's say Project A needs be and references it directly. Unknown to A, B
needs project C's assembly but it uses C's assembly dynamically (Load
Assembly).
Even with copy Local set on all references Project A when built will get
project B's output but not project C's.
This is from what I hear due to an "enhancement" in VS2005, that...
|
by: ma79ash |
last post by:
Language :: VS.NET/ C#
The type 'frm_data.frm_data' is defined in an assembly that is not
referenced. You must add a reference to assembly
I have a Frm_sol solution, which consists on 2 projects
FRM_Business and frm_Data.
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |