Build events - configuration disabled

I'm using C#/VS2005 and I'm trying to insert a different 'Postbuild event' 
depending on whether I'm building for release or debug. The problem I have is 
that the configuration setting is disabled, so I can currently only insert 
one set of post build events.

I've Googled for an answer but drawn a blank. I already have the 
'options-Projects and solutions-show advanced build configurations' ticked, 
but this still doesn't enable the configuration drop down setting.

Thanks for your help.
0
Utf
3/19/2010 9:49:03 AM
dotnet.languages.csharp 1931 articles. 0 followers. Follow

3 Replies
1117 Views

Similar Articles

[PageSpeed] 1

rob wrote:
> I'm using C#/VS2005 and I'm trying to insert a different 'Postbuild event' 
> depending on whether I'm building for release or debug. The problem I have is 
> that the configuration setting is disabled, so I can currently only insert 
> one set of post build events.
> 
> I've Googled for an answer but drawn a blank. I already have the 
> 'options-Projects and solutions-show advanced build configurations' ticked, 
> but this still doesn't enable the configuration drop down setting.

The only time I've ever seen that drop-down disabled is when there's 
only one configuration.  Silly question, but…are you sure you have more 
than one?

Pete
0
Peter
3/19/2010 3:36:07 PM
Well, that's a fair question - Always check the bleeding obvious! 

When I go to the 'Build' tab I can indeed select from Active (Debug), Debug, 
Release, All Configurations. I also get the correct files output to the file 
system on hitting F5.

I've also made sure both the solution and project files are not read only.

It's got me foxed!

Thanks for the thought anyway Peter! 

"Peter Duniho" wrote:

> rob wrote:
> > I'm using C#/VS2005 and I'm trying to insert a different 'Postbuild event' 
> > depending on whether I'm building for release or debug. The problem I have is 
> > that the configuration setting is disabled, so I can currently only insert 
> > one set of post build events.
> > 
> > I've Googled for an answer but drawn a blank. I already have the 
> > 'options-Projects and solutions-show advanced build configurations' ticked, 
> > but this still doesn't enable the configuration drop down setting.
> 
> The only time I've ever seen that drop-down disabled is when there's 
> only one configuration.  Silly question, but…are you sure you have more 
> than one?
> 
> Pete
> .
> 
0
Utf
3/19/2010 4:59:01 PM
"rob" <rob@discussions.microsoft.com> wrote in message 
news:3F26429C-9988-43E1-B83C-6BA1F894064D@microsoft.com...
> Well, that's a fair question - Always check the bleeding obvious!
>
> When I go to the 'Build' tab I can indeed select from Active (Debug), 
> Debug,
> Release, All Configurations. I also get the correct files output to the 
> file
> system on hitting F5.
>
> I've also made sure both the solution and project files are not read only.
>
> It's got me foxed!
>
I had one build on a dev machine break in a weird way and you couldn't 
create new forms.
Maybe it's the vs ide that's broke.

0
Andy
3/19/2010 5:58:14 PM
Reply:

Similar Artilces:

building a worksheet row by row
I hope somebody can assist. My worksheet calculates rows of data, which I wish to slide into another worksheet and secure; then change the original data, slide those results under the first. Keep repeating. Is there a way to do this without manually pasting values each time? David Dave "Sliding" rows from one sheet to another would involve the use of VBA. See Ron de Bruin's site for moving/copying rows to next available empty rows. http://www.rondebruin.nl/copy1.htm Gord Dibben Excel MVP On Thu, 4 Nov 2004 14:04:03 -0800, "DaveButcher" <DaveButcher@discussio...

Disable Expanding List view
Hi all. We've got some Mail enabled Groups in AD which have been set to only allow to recevive mail from certain users / groups. This works fine unless someone that isn't allowed to send only has to click on the + for the expanding list. Then it lists everyone individually to which they can send too, efectivly bypassing the security. Is there a fix for this or a way to Disable the explanding list view option in Outlook? Anyone have any ideas? ...

Event ID: 1025 during a Mailbox move
Sometimes I am getting the following error while moving a mailbox. Event ID: 1025 Source: MsExchangeIS Mailbox Store Description: Failed to create the mailbox of OBJECT with error 0x50c. This happening on a Exchange 2003. -- Eric Sabo NT Administrator ...

Why does Outlook 2002 sometimes send read receipts even when I've disabled them?
Running Outlook 2002 SP2. Periodically, I'll receive a message from my ISP that some mail message couldn't successfully be sent. Examining the message it was trying to send revealed that the message was a read receipt being returned to some spam address that doesn't actually exist. Originally, I had read receipt requests set to prompt for what action to take but these receipts appeared to be going out automatically without notifying me. I also tried changing the option to never return read receipts but I still get these messages indicating that a read receipt is, in fact, being se...

Can I Build an Access Statement (in 2007) as a String and Execute
Hi, I know that I can build a SQL statement within a string and then execute it like the following: strSQL = "UPDATE tblAuditRpt " _ & "SET tblAuditRpt.AuditRptYesCount = " & lngInitialEvalCount & " " _ & "WHERE tblAuditRpt.AuditRptID=25;" CurrentDb.Execute strSQL, dbFailOnError Can I do the same with an Access statement itself? For example, How could I execute the following statement if I built it in a string? lngInitialEvalCount = DCount ("AuditDtlCnt", "AuditDetai...

Building Assembly
I'm trying to build an assembly that creates a directory that is named after an attribute in opportunities. this is what I have, and it is not compiling into a dll, any advice? public string CreateDirectory(string root,string folderName) { } Luke Davis, MCSE: Security DEM Networks - Senior Systems Architect 7225 N First, Suite 105 Fresno, CA 93720 Office: 1 (559) 439-1000 Fax: 1 (866) 640-2041 www.demnetworks.com ...

Building Kits
I am having trouble using the build kits tab. I went through and made sure all the components were available to build the kits. I click the build tab and the program prompts that there is enough inventory to build 2 kits. I enter 2 and then hit the build tab and then ok. When I go to the properties screen the inventory qty is still 0. I copied the kit and gave it another name and did the same process and was able to build the kits the first and only time. Any suggestions? known bug, apply the latest hotfix and you will be good to go. "akpetshop" <akpetshop@discussions.mic...

Customer event
Hello all, I want to implement MS CRM for our small service oragnization. Before that I have a question. Is it possible for our customers to create a service event or case themself and then watch for a state of this event? Thank Ales Baranek Yes, you can do that in custom appilcation, I have done customer web portal for such things. if you are interested write me an email on mscrmexpert@gmail.com -- Regards, MS CRM Certified Professional http://microsoftcrm3.blogspot.com Chat with me on MSN / Gmail / Skype : ID Is :.. mscrmexpert@gmail.com "Ales Baranek" wrote: >...

Macro to build table
I have 6 questions that may be answered yes or no, and for the sake of keeping everything in integer form, let's assume "1" for yes and "0" for no. Depending on how a customer answers all 6 questions, they will receive a predetermined score. I am attempting to develop the answer key, so-to-speak, to refer the reps to once they are finished asking the customer these questions. I was hoping for the code that would build a macro to create this tabe for me - a table that would lay out all of the 6 question-answer combinations, like the following: Questi...

Error when building payroll build
One of my users is continuously getting an error when clicking OK on Calculate Payroll Checks. The error is - The checks cannot be calculated. Errors were found when building the checks. All other users can build the exact same build with no issues. What could be the issue here? Jack-One thing you may want to check is compare the users security. One user may/may not have rights to benefits/deductions/batches, etc. "Jack Tundra" wrote: > One of my users is continuously getting an error when clicking OK on > Calculate Payroll Checks. The error is - The checks cannot b...

application is disabled?
I just downloaded a trial version of office 2007, I went into Access to create a database and when I hit create it says "application is disabled, and databases can't be created" Can you tell me what I did wrong? Can I fix it? Thanks, Chris i'm having the same problem...

Event ID 8026 #2
We seem to keep getting this error message on our exchange server but it seems to be intermittent only happening every few days. Usually with over 100 errors in a short space of time. I have researched this quite a bit and havent been able to find a solution. Well, I haven't memorized every single event ID and, worse, I don't know what service it's associated with since you didn't say, so if I were interested in finding out I'd go to http://www.eventid.net and look. But I'm not. Good thing for you that there's usually some additional information there th...

Entourage Build Information
Processor: Power PC Is there a matrix of Entourage versions and their respective build numbers anyone can provide? This information would be of great use in troubleshooting client/server issues. Thanks in advance, Chris I haven't checked specifically for Entourage, but Wikipedia usually has such data published - you might check there. HTH |:>) Bob Jones [MVP] Office:Mac On 11/13/08 3:24 PM, in article 59b61e39.-1@webcrossing.caR9absDaxw, "chrisxmartinez@officeformac.com" <chrisxmartinez@officeformac.com> wrote: > Processor: Power PC > > Is there a ma...

faq how to disable link error message
Hi, When I compile my prject this displayed : warning LNK4017: DESCRIPTION statement not supported for the target platform; ignored so I want to use #pragma warning (disable : 4017) to disabled the message display again, but I failed. How to do that? Another , what is different between put the #pragma warning (disable : 4017) at the top of the *.cpp and the bottom of the *.cpp? Thanks a lot. ...

WSS 3.0 Event 3760
Brand new installation of WSS 3.0, WFE and SQL 2008 BE, everything is working correctly with the exception of the 3760 error every 5 minutes. The account trying to access the database is the server farm account but it is a different application pool it is trying to access. I have the server farm account unique and only being used by the central administration application pool. I created a 2nd web application with a different IIS site and a unique domain user account to run as the service. I've looked everywhere on my SQL server and SharePoint and cannot understand why the serv...

A resource required for this operation is disabled
I get this error when I try to assign an account to another crm user. I think it has to do with the fact that the original AD account may have been deleted or renamed. Looking for anyone who has seen this error please... Hi, I've encountered the same problem but have not found a solution. The current owner of the account is a CRM user that is disabled. Had any luck on your end? "chad.buser@ncsi.cc" wrote: > I get this error when I try to assign an account to another crm user. I > think it has to do with the fact that the original AD account may have been >...

getting events from Excel
Hello, How to I send events from Excel to my VB6 application? I am unfamiliar with ActiveX . I think I see it as some sort of server logically sitting between my app and Excel. That is to say, I think that I would raise events in Excel VBA, the server catches them and raises events in my vb6 app. My need for this is that my app installs a toolbar in Excel. When the user selects an action from the toolbar, I need to send to my app the action code and a string of coded information. I would also like to have Bidirectional communication but I dont see how that could be done. I n...

using xml to build ASP.NET applications
hiya, ATM, I use vis studio to drag and drop controls on to my web forms. Apparently, an app can be built via XML and XSLT.I've been googling, but I'm still none the wiser as to why people would go to a low level of xml when they could use the IDE? Is it because: 1) the same xml can be used to build cross-platform apps? 2) it performs better (maybe there is less metadata if done in this way)? 3) it is easier to modify using XSLT than it is to go in and manually alter controls that have been dropped onto a webform? Can anyone give me a clue? Also, the people that use XML to build t...

Event ID 9211 MS Exchange MTA
I am receiving this error on one of my Exchange 2000 servers on Windows 2000. Any advice? A sockets error 0 on bind call was detected. The NTA will attempt to recover the sockets connection. Control block index 0 Base IL TCP/IP DRVR 11 258 12 Thanks Ross ...

Build
Hi, I am experiencing some problems building a solution. This project previuosly ran in Visual C++ 6, but I decided to upgrade to Visual Studio 2005 - which I now regret. ------ Build started: Project: Misc, Configuration: Debug Win32 ------ Compiling... StdAfx.cpp c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(228) : error C2065: 'DWORD_PTR' : undeclared identifier c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(228) : error C2143: syntax error : missing ';' before 'GetWindowThreadProcessId' c:\program files\microso...

Event ID 5783
Ever since patching our Project Server 2007 farm, we've been getting the following message: Event Type: Warning Event Source: Office SharePoint Server Event Category: Office Server Shared Services Event ID: 5783 Date: 3/1/2010 Time: 8:54:14 AM User: N/A Computer: PSAppServer Description: Synchronization for Shared Services Provider 'SharedServices1' has failed. The operation will be retried. Reason: Collection was modified; enumeration operation may not execute. Technical Support Details: System.InvalidOperationException: Collection was modified; enumerat...

outlook tool bar disables
Often my upper tool bar area will diable after I send/recieve. The only way to fix it is to close outlook and reopen it. But then it is only good for one function on the tool bar before is becomes disabled again. If I reboot my entire system it will go away for a while but will eventually come back. I have reinstalled outlook (2000 pro) and the response is the same as rebooting. I have noticed that from time to time I get a run time error....but have failed to write down the number - so for now I dont have it. To reinstall, I put in the CD and did the restore funtion. Perhaps ...

Running Calculations to build chart
I have the following columns: Job Title, Week, Total People The data looks like this: Job Title Week Total People PM W2 1 Tech Edit W3 5 Net Engineer W2 2 Programmer W12 10 Programmer2 W1 5 ..... I have a named range of weeks, W1, W2, W3, W4, W5, W6, W6, W8, W8, W10, W11, W12, named "weeks". I'm trying to build a chart to show the total number of people for each week. So I need to total up all the W1s, W2s, etc. to display my chart. Hi - I am using Excel 200. Select your Data > Job Title ...

Tempate Building How-To's?
I've been tasked with converting our company's current set of collateral (mostly in Adobe InDesign) into user-friendly Word Templates (v 2007). I'm fairly comfortable in Word, but not really skilled at creating a master template file that will be widespread used. For example, I don't need help on *how* to create a table... I need to know what is the benefit of a table vs. a 3 column page... or is there a different way to do this. I run into multiple ways to do something, and wonder what way is best, from the standpoint of multiple people using this template. Do y...

How to build only usbdisk6.dll
Hello, I have to modify ScsiTestUnitReady() in the usbdisk6.dll. I know that it is public code and that I have to clone the component. Before cloning the component I want to try my solution and i want to see if it works so I want to modify the public code (I have a backup). How can I build and sysgen only the usbdisk6.dll ? Thanks, Paolo -- Paolo Patierno Embedded Software Engineer Paolo: Cloning the code for that should only take a few minutes. http://geekswithblogs.net/BruceEitman/archive/2008/07/02/platform-builder-clone-public-code.aspx is for a different set of c...