Skip to content

WPFDevelopers.Net45x.Window #192

@PYTHINKS

Description

@PYTHINKS

Hello !
I use Class Library to create the application
The following error occurred

Image

`---------------------------


System.TypeInitializationException: The type initializer for 'WPFDevelopers.Net45x.Window' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.

at WPFDevelopers.Net45x.Window.GetResourceKey[T](String key)

at WPFDevelopers.Net45x.Window..cctor()

--- End of inner exception stack trace ---

at WPFDevelopers.Net45x.Window..ctor()

at ThinkToolTest.ChartBarExample..ctor() in C:\Users\Admin\Desktop\ThinkToolSLN\ThinkToolTest\ChartBarExample.xaml.cs:line 13

at ThinkToolTest.TestLockFamily.Execute(ExternalCommandData commandData, String& message, ElementSet elements) in C:\Users\Admin\Desktop\ThinkToolSLN\ThinkToolTest\TestLockFamily.cs:line 132

at RevitAddinManager.Command.AddinManagerBase.RunActiveCommand(AddInManagerViewModel vm, ExternalCommandData data, String& message, ElementSet elements)

OK

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions