Skip to content

Commit a18a1a0

Browse files
committed
bugfix toolbox in net5
1 parent 0ff33b1 commit a18a1a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

XamlDesigner/Toolbox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void AddAssembly(string path)
3131

3232
void AddAssembly(string path, bool updateSettings)
3333
{
34-
var assembly = Assembly.LoadFile(path);
34+
var assembly = Assembly.LoadFrom(path);
3535

3636
MyTypeFinder.Instance.RegisterAssembly(assembly);
3737

0 commit comments

Comments
 (0)