1

I have a project in visual studio (winforms, C# 4.5). My project has ~400 projects in it.

My goal is to be able to right click on my project and, add new item (Inherited Form).

When you do so it attempts to load some number of types to pre-propulate the list for me to choose my base class from.

I get an error box (shown below), that it cannot load two different exe's. I dont care about these two exe's. My project doesn't reference them, and they aren't even DLL libraries, they are executables.

My goal is to be able to get vs2012 to not crap out. Either by fixing what is wrong with these two executables, or somehow force visual studio to not care abou these two files when populating this list.

Thanks!

enter image description here

greggorob64
  • 2,487
  • 2
  • 27
  • 55
  • Try creating a separate solution with only the projects needed to run your project. 400 projects is a massive amount and must be a nightmare to develop with. – alstonp Aug 15 '14 at 19:38
  • What a lot of people don't understand about using the Visual Studio designer is that in order to get a representation of the form within the designer it is actually running portions of your code. It's quite common to encounter exceptions in the designer that originate from code within the project. – Mick Aug 16 '14 at 02:05
  • Have you tried launching another instance of visual studio and debugging? http://stackoverflow.com/questions/13698388/how-to-troubleshoot-and-debug-visual-studio-design-mode-errors ... Change the Exceptions options to break on thrown.... http://msdn.microsoft.com/en-au/library/d14azbfh.aspx – Mick Aug 16 '14 at 02:11
  • Thanks, I'll give this a try. I never thought of trying to debug VS in this case. – greggorob64 Aug 18 '14 at 16:19
  • Having similar issue except in my case it's looking for a dll of another project in the solution. However, that project is standalone and is not referenced by ANY other projects so there is zero reason it should need to have anything to do with it whatsoever. Makes no sense. I think this is a bug. – BVernon Jan 31 '20 at 21:34

0 Answers0