Skip to content

JIT Compiler encountered an internal limitation #1919

@dizruptor

Description

@dizruptor

I created a new WPF 4.5 C# project in VS2013 on Win7 64bit then installed with nuget: Install-Package MahApps.Metro ('MahApps.Metro 1.1.2.0'). Then I did exactly as in the "Quick Start". The app builds without any errors or warnings - however, when I try to run, I get a System.InvalidProgramException error: "JIT Compiler encountered an internal limitation."

Any ideas why I'm getting this and how to resolve would be appreciated?

All my other projects run OK.

Here are the error details:
System.InvalidProgramException occurred
_HResult=-2146233030
_message=JIT Compiler encountered an internal limitation.
HResult=-2146233030
IsTransient=false
Message=JIT Compiler encountered an internal limitation.
Source=MahApps.Metro
StackTrace:
at MahApps.Metro.Controls.TreeHelper.TryFindParent[T](DependencyObject child)
at MahApps.Metro.Controls.WindowCommands.OnApplyTemplate()
InnerException:

Thanks, Simon

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions