-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
- .NET Core Version: .net 5.0
- Windows version: win 10 x64
- Does the bug reproduce also in WPF for .NET Framework 4.8?: No
- Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? NO
Problem description:
An error occurs when I try to call an OCX control on an external device in.NET 5.0 WPF :“Could not find assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly.”
Actual behavior:
Expected behavior:
Minimal repro:
Reactions are currently unavailable