Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Searching a non-PrimaryKey column within a DataTable with a partial string. Pin
KCI-VA8-Oct-09 5:32
KCI-VA8-Oct-09 5:32 
QuestionWindows Forms: TreeView in SplitContainer flickers on Resizing the screen ar runtime Pin
Poornima Naik1-Oct-09 3:21
Poornima Naik1-Oct-09 3:21 
QuestionRemove program from Control panel using C# Pin
Ajithevn1-Oct-09 3:07
Ajithevn1-Oct-09 3:07 
AnswerRe: Remove program from Control panel using C# Pin
stancrm1-Oct-09 3:18
stancrm1-Oct-09 3:18 
QuestionRe: Remove program from Control panel using C# Pin
Eddy Vluggen1-Oct-09 3:48
professionalEddy Vluggen1-Oct-09 3:48 
AnswerRe: Remove program from Control panel using C# Pin
Ajithevn1-Oct-09 6:07
Ajithevn1-Oct-09 6:07 
GeneralRe: Remove program from Control panel using C# Pin
Eddy Vluggen1-Oct-09 10:07
professionalEddy Vluggen1-Oct-09 10:07 
QuestionBuild issue [modified] : SOLVED Pin
Mustafa Ismail Mustafa1-Oct-09 2:54
Mustafa Ismail Mustafa1-Oct-09 2:54 
Got the bugger!

It seems that 2 things aren't happening and I can't tell if this is going to be the case every time. It took a bit of doctoring and manual splicing of the the .sln file and the .csproj files. Seems like the configuration manager is not creating the new build configurations inside the .csproj files

Solution:

1. .csproj files, add the build configuration from another file that already has a successful one
2. .sln file (this is bit complicated, backup before you get too ballsy)
i) find the name of the project(s) that is giving you hell, at the far right of that defining line, you'll find a GUID, this is the project GUID that is referenced later, you'll also need to copy the GUID for a working project under the configuration that you want to fix
ii) scroll down and find in the section titled "GlobalSection(ProjectConfigurationPlatforms) = postSolution" an entry for the working project (by GUID) (e.g. {72C74E6F-8D11-4324-A412-1905FFEACD5E}.Radiology|Any CPU.ActiveCfg = Release|Any CPU) Note, you will find that projects left loaded when this configuration is chosen will have two entries, whilst the unloaded ones have only a single line entry
ii)copy this entry and then find the list of entries for the project that's giving you hell (by GUID), insert it into this list by pasting it (you'll see that it does not have a list item); Be sure to replace the GUID in the pasted item to that of the project that's giving you issues.
3.Save the files
4. Fire up VS or if its already open, if asked to reload the solution/projects, accept. If they were unloaded, reload the projects that you manually amended.
5. Build with the projects once
6. Unload the projects you wanted (the ones you just manually spliced)
7. Build again to check.
8. Happy coding (or as much as possible)

If done right, it should work.




The current Solution I'm working on has 19 projects at the moment and there are another 4 on the way. Because of the size of the solution and because build times are beyond annoying and for to simplify traces and a plethora of other reasons, projects that are not involved directly in the current cycle of development and testing are unloaded. This worked like a charm until yesterday evening when a new project was added, along with its own configuration (there are 9 configurations at the moment, I added another 2 last night and eventually there will be 15).

I get this error message when I build:
Error	1	The OutputPath property is not set for this project.  Please check to make sure that you have specified a valid Configuration/Platform combination.  Configuration='Radiology'  Platform='AnyCPU'	AppChooser


Now, I've figured out the reason is because I've unloaded the two project being referenced. Reloading them (which brings me back to the complete list of projects) makes the build go perfectly fine.

Googling has shown that others have faced similar problems, I just couldn't find any solutions or workarounds.


Suggestions?

If the post was helpful, please vote, eh!

Current activities:
Book: Devils by Fyodor Dostoyevsky
Project: Hospital Automation, final stage
Learning: Image analysis, LINQ

Now and forever, defiant to the end.
What is Multiple Sclerosis[^]?

modified on Thursday, October 1, 2009 9:38 AM

AnswerRe: Build issue Pin
Vasudevan Deepak Kumar1-Oct-09 3:01
Vasudevan Deepak Kumar1-Oct-09 3:01 
GeneralRe: Build issue Pin
Mustafa Ismail Mustafa1-Oct-09 3:52
Mustafa Ismail Mustafa1-Oct-09 3:52 
AnswerRe: Build issue Pin
Keith Barrow1-Oct-09 3:05
professionalKeith Barrow1-Oct-09 3:05 
GeneralRe: Build issue Pin
Mustafa Ismail Mustafa1-Oct-09 4:04
Mustafa Ismail Mustafa1-Oct-09 4:04 
QuestionMS Office Outllok - VSTO - Host Windows.Forms control within an Outlook 2003 form region Pin
Programm3r1-Oct-09 2:13
Programm3r1-Oct-09 2:13 
AnswerRe: MS Office Outllok - VSTO - Host Windows.Forms control within an Outlook 2003 form region Pin
Richard MacCutchan1-Oct-09 2:23
mveRichard MacCutchan1-Oct-09 2:23 
QuestionRe: MS Office Outllok - VSTO - Host Windows.Forms control within an Outlook 2003 form region Pin
Programm3r1-Oct-09 2:31
Programm3r1-Oct-09 2:31 
QuestionHost Windows.Forms control within an Outlook 2003 form region using VS2008 Pin
Programm3r1-Oct-09 2:54
Programm3r1-Oct-09 2:54 
AnswerRe: Host Windows.Forms control within an Outlook 2003 form region using VS2008 Pin
Programm3r1-Oct-09 3:15
Programm3r1-Oct-09 3:15 
AnswerRe: Host Windows.Forms control within an Outlook 2003 form region using VS2008 Pin
Programm3r1-Oct-09 3:26
Programm3r1-Oct-09 3:26 
QuestionFeedback Mechanisms Pin
satsumatable1-Oct-09 1:36
satsumatable1-Oct-09 1:36 
AnswerRe: Feedback Mechanisms Pin
stancrm1-Oct-09 1:40
stancrm1-Oct-09 1:40 
QuestionC# vs Powershell in querying 64bit registry from 32bit system Pin
Randy Grugan1-Oct-09 1:36
Randy Grugan1-Oct-09 1:36 
QuestionGetting HTML Source from a WebPage in String-format, using NetworkCredentials [modified] Pin
Dimitri Backaert1-Oct-09 1:24
Dimitri Backaert1-Oct-09 1:24 
AnswerRe: Getting HTML Source from a WebPage in String-format, using NetworkCredentials Pin
Dimitri Backaert2-Oct-09 2:18
Dimitri Backaert2-Oct-09 2:18 
QuestionOptional Parameter Pin
ksss_maheshece1-Oct-09 1:23
ksss_maheshece1-Oct-09 1:23 
AnswerRe: Optional Parameter Pin
stancrm1-Oct-09 1:27
stancrm1-Oct-09 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.