473,383 Members | 1,885 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,383 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 21 '05 #1
3 2443

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 21 '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 21 '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 21 '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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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:
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...

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.