Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2005

Tip: Looking for answers? Try searching our database.

Add-In with Build Configuration Properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephen Hewlett - 03 Sep 2005 01:05 GMT
I would like my Add-in to add properties to the build configuration (Project
Menu -> Properties -> Configuration Properties) so that I can create build
configurations that selectively run features of my Add-in. I can only find
information about how to create Tools -> Options property pages. Does anyone
know if what I want to do is possible?
Carlos J. Quintero [VB MVP] - 05 Sep 2005 09:27 GMT
I don´t think so, but you can create Configurations other than Debug and
Release and in each configuration define some conditional compilation
constants such as TEST_FEATURE1=True. Then, in your source code you can use
those conditional compilation constants (#If TEST_FEATURE1 Then) to
enable/disable features.
Signature


Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

>I would like my Add-in to add properties to the build configuration
>(Project Menu -> Properties -> Configuration Properties) so that I can
>create build configurations that selectively run features of my Add-in. I
>can only find information about how to create Tools -> Options property
>pages. Does anyone know if what I want to do is possible?
Stephen Hewlett - 05 Sep 2005 22:46 GMT
Thank you, that's a better way to do it anyway.

>I don´t think so, but you can create Configurations other than Debug and
>Release and in each configuration define some conditional compilation
[quoted text clipped - 6 lines]
>>can only find information about how to create Tools -> Options property
>>pages. Does anyone know if what I want to do is possible?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.