Why does my Visual Studio 2008 close every time I open a .xaml file?

Visual Studio 2008 was stable for several months on my computer .

This morning, when I double-click on any .xaml file to open it, or even by clicking on the tab of an already opened .xaml file, Visual Studio says “ initialization toolbar ” in the status bar, and then after 20 seconds completely closes the entire application without a message about the error.

Other files (such as .cs class files) I can open normally.

Does anyone know about this or know that I can check / modify to be able to use Visual Studio to edit .xaml files again?

FURTHER INFORMATION: I can also create a new project and create and edit .xaml files.

FURTHER INFORMATION: I can edit .xaml files in other modules (projects) in order.

FURTHER INFORMATION: Each time it crashes, this event is logged:

.NET Runtime version 2.0.50727.3053 - Fatal Error in executable module (72555E00) (80131506).

(odd since I installed the .NET Framework 3.5)

FURTHER INFORMATION: In only one module (project) .xaml files cause Visual Studio to crash. Even creating a new UserControl in this module causes Visual Studio to crash.

+3
4

( .xaml .resx) , , . susu .

[ suo , .., .]

+3

, , VS 2008. , IDE ( ). , , , .

0

What probably happens here is that one of the controls that are directly referenced indirectly in your designer is overflowed by the stack during the constructor process. Since the designer is placed in the process by one of the components, he will destroy the designer and VS.

Try connecting the debugger to VS, break the first chance of StackOverflow Exceptions and open the constructor.

0
source

Source: https://habr.com/ru/post/1714038/


All Articles