473,669 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WinForms Application Deployment

All library assemblies get installed into {cf}\CompanyNam e\Assemblies
All executable assemblies get installed into
{cf}\CompanyNam e\Products\Prod uctName

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 1577

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}\CompanyNam e\Assemblies
All executable assemblies get installed into
{cf}\CompanyNam e\Products\Prod uctName

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
5603
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 - SQL Server, Oracle and AS400. The business layer exposes web services which communicate with the front end, ASP.Net. All 3 tiers are on different boxes. This works well. Now I am leading a team to build a winforms app. I need some advice as
6
2809
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 .NET WinForms apps get updated automatically? Can someone tell breifly how this works and if there isan article online explaining how to set this up in detail?
3
2531
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 with MSDE (if not already installed), and the MSDE application DB. How can I detect if MSDE is already installed?? Has anyone does this?? How??
20
2892
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 WebForms app
4
3934
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 someone who is not on my team. The VB 6.0 application is used by approximately 100 users. All users reside in-house. There is an existing external website that will use some of the same components but the two applications are separate. The...
5
1522
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 never cross post but time is a factor now and I appreciate any advice I have recieved I am looking for some advice on when it is best to create a database entry and management application using .net winforms or webforms
5
3823
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 untrue or you would like to add - please comment - thanks..... Rich Client PROS 1. User experience (* indicates feasible on web with AJAX) - a. Single, unified application experience b. Windows/Office-like look and feel - i.Tabs - drag and drop...
2
1560
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 going to be installed in a variety of different environments; some will have several PCs with the app installed with a centralized database, while others will have a single install with the database residing in the same folder as the application. For...
0
788
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 getting the data in application.I have Uninstalled the application and again Installed.But I am getting old data in application.When I opened MS Access database I am Unable to see the data. Pleaseeeeeee help me.
0
8384
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,...
0
8810
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8659
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 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...
1
6211
isladogs
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...
0
4208
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
4387
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2798
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
2035
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1790
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.