c# - How do I fix a corrupted build manager in vs2010? -


i have c# project in vs2010 has several build options (debug, release, debug x86, debug got new hat, etc), because people have gone bit overboard in adding projects.

i want revert of 4 basic build types:

  1. debug x86
  2. release x86
  3. debug x64
  4. release x64

i remove project, save sln project apparently no longer in solution, , add back, apparently settings project have been saved. there way remove these extraneous projects entirely build manager , start scratch short of creating new sln file?

the impetus fixing problem 1 of projects in solution won't allow x64 build made. if try create x64 build project, build manager states x64 build exists, when though not. build manager isn't allowing me remove build modes, add them, doesn't let me add x64, i'm needing.

quickest way manually edit .proj files in notepad, removing

<propertygroup condition=" '$(configuration)|$(platform)' == 'newhat|x64' ">...</propertygroup> 

elements each configuration. remove unwanted solution configurations again editing .sln file in notepad. easy spot. once removed, should able open solution in vs , set things right in configuration manager

the alternatives use macro or vs envdte classes automate process that's perhaps sledgehammer nut.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -