473,395 Members | 1,677 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,395 software developers and data experts.

WinForms Application Deployment

All library assemblies get installed into {cf}\CompanyName\Assemblies
All executable assemblies get installed into
{cf}\CompanyName\Products\ProductName

What do I need to do so that the executable assemblies can see the
configuration files that are in the ProductName directory and use the class
library assemblies located in the Assemblies directory (some sort of
configuration change)?

Thanks,
Mythran

Nov 17 '05 #1
3 1558

If you really want the Assemblies directory at or above the installed
product directory - aka suggesting that the Assemblies are shared across
products - then you will need to add codeBase elements to your app.config
file for each shared assembly. Codebase is documented here:

http://msdn.microsoft.com/library/de...rfCodeBase.asp

If the assemblies are not shared across products but you want them in a
seperate directory for organizational purposes then - if you're Ok placing
the assembly directory under the product install directory - you can add a
single privatePath probing element to your app.config and place the
assemblies in a subfolder, probing is documented here:

http://msdn.microsoft.com/library/de...grfProbing.asp
"Mythran" wrote:
All library assemblies get installed into {cf}\CompanyName\Assemblies
All executable assemblies get installed into
{cf}\CompanyName\Products\ProductName

What do I need to do so that the executable assemblies can see the
configuration files that are in the ProductName directory and use the class
library assemblies located in the Assemblies directory (some sort of
configuration change)?

Thanks,
Mythran

Nov 17 '05 #2
If the assemblies are not shared across products but you want them in a
seperate directory for organizational purposes then - if you're Ok placing
the assembly directory under the product install directory - you can add a
single privatePath probing element to your app.config and place the
assemblies in a subfolder, probing is documented here:

http://msdn.microsoft.com/library/de...grfProbing.asp

Aye, found that... thanks :)

Mythran

Nov 17 '05 #3
If the assemblies are not shared across products but you want them in a
seperate directory for organizational purposes then - if you're Ok placing
the assembly directory under the product install directory - you can add a
single privatePath probing element to your app.config and place the
assemblies in a subfolder, probing is documented here:

http://msdn.microsoft.com/library/de...grfProbing.asp

Aye, found that... thanks :)

Mythran

Nov 17 '05 #4

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

Similar topics

25
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases...
6
by: Aaron Ackerman | last post by:
Is anyone familiar with that Automatic/Automated Update feature for .NET WinForms apps which essentially allow a user to hit a server for their data (even over the Internet) possibly and have their...
3
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together...
20
by: Martin Rosén-Lidholm | last post by:
Although an impossible question to answer, I fell urged to raise it anyhow. Given a fairly complex ERP application scenario, what's your estimation for the X-ratio dev. time for...
4
by: 3Cooks | last post by:
I have a windows application written in Visual Basic 6.0 that is going to be redeveloped in dotNET. We are trying to decide if we should deploy using Webforms or Winforms and I need advice from...
5
by: dwight | last post by:
Hi all First - I apologise if anyone recognises this from a previous post but I never worded what I wanted to know properly and getting quick advice is imperative to me now. In future I will...
5
by: brian.wilson4 | last post by:
Our group is currently comparing winforms vs webforms.....app is Corp LAN based - we have control of desktops.....Below is pros and cons list we have come up with - if anything strikes you as...
2
by: panuvin | last post by:
Hello all, I'm developing a rather simple Winforms application written in C# using MS Visual Studio.NET. The application uses a MS Access database as the backend database. The application is...
0
by: Bhavanimikkilineni | last post by:
Hi, I have Installed the VS2005 Deployment Set Up(Back end as MS Access) in VISTA OS.I have entered the data in Application.But I am unable to see the data when I opened the Database.I am...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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:
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...

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.