Fenton
Fenton

Reputation: 250812

Cannot Open xaml.cs File in Visual Studio 2012

I am attempting to open a .xaml.cs file in Visual Studio 2012, but double-clicking the file does nothing and right-clicking and selecting Open does nothing.

If I attempt to open any other .xaml.cs file, it works fine - so it is isolated to a single file.

For example...

I have also tried opening the .xaml file in Visual Studio and selecting View Code too.

What could cause this and how do I resolve it?

Upvotes: 0

Views: 670

Answers (1)

Fenton
Fenton

Reputation: 250812

The resolution to this isn't great, but I guess it is obvious.

I closed Visual Studio and then re-opened it. This cleared the problem up.

Upvotes: 1

Related Questions