|
-
Aug 22nd, 2007, 04:39 PM
#1
Thread Starter
Addicted Member
[2005] Some questions about usercontrol/class libraries deployment
I've been wondering a few things for the last days, but couldn't find anything that exactly suits my questions.
These are the questions off the top of my head:
- When generating a solution, without publishing it, can I define the location of my custom libraries to be different than the root application folder?
- Is it possible to chose when compiling (ie: depending of the compiling arguments, and through code), or directly at run time if a program requires a particular library? I'm working on a project where depending of some situations it would be nice to remove an extra library without having to remove the "link" from the project.
- Is it possible to protect custom usercontrols and/or libraries so they can only be used with a certain project and so avoid the use of them by third persons? it would be nice in order to avoid some misuse when they provide some methods that can modify serious parts, for example, of a database.
-
Aug 25th, 2007, 09:10 AM
#2
Thread Starter
Addicted Member
Re: [2005] Some questions about usercontrol/class libraries deployment
Nobody? Of course if what I ask is simply not possible, or even require some third party software I'd be willing to know.
-
Aug 25th, 2007, 09:35 AM
#3
Frenzied Member
Re: [2005] Some questions about usercontrol/class libraries deployment
Read up on Private Assemblys vs. Assemblys deployed to the Global Assembly Cache and you'll have all of your questions answered.
I believe just about everything you want to accomplish will be discovered in studying on those two topics.
There a plusses and minuses to each approach.
-
Aug 25th, 2007, 12:12 PM
#4
Thread Starter
Addicted Member
Re: [2005] Some questions about usercontrol/class libraries deployment
Uhm... I happened to read about assemblies some days ago, but didn't see anything of use, I'll try to look for some other related articles.
I've also read today a bit about the Reflection namespace and how to detect and read attributes... I wonder if using this would be a good practice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|