Visual Studio Version:
16.5.4
Summary:
I have a large enterprise application based on Windows Forms. It's made up of four assemblies.
- DataAndBusinessLogic
- WinFormsSupport - references DataAndBusinessLogic
- ApplicationDataAndBusinessLogic - references DataAndBusinessLogic
- ApplicationUI - references DataBusinessLogic,WinFormsSupport, & ApplicationDataAndBusinessLogic
We'd like to add a fifth: a .NET Core Blazor project:
5. ApplicationWebUi - references ApplicationDataAndBusinessLogic & DataAndBusinessLogic
We want to maintain the WinForms UI while developing the Blazor UI. And we want them to share the same Data and BI libraries.
We made this work (or build at least). But we can't get the Windows Forms Designer to work at all.
Steps to Reproduce:
I converted the supporting libraries (1 & 3) to SDK-Style projects and had compile both .NET Framework and .NET Core assemblies.
<TargetFrameworks>net48;netcoreapp3.1</TargetFrameworks>
In the ApplicationUI project, the Windows Forms designer works for simply forms. But if that form references anything from the other assemblies, the Designer will load.
I also tried converting the other projects to SDK-Style projects, but still targeting only the .NET Framework. I was also able to get this to compile, but it's now trying to use the .NET Core Windows Forms Designer, which obviously wont work.
Visual Studio Version:
16.5.4
Summary:
I have a large enterprise application based on Windows Forms. It's made up of four assemblies.
We'd like to add a fifth: a .NET Core Blazor project:
5. ApplicationWebUi - references ApplicationDataAndBusinessLogic & DataAndBusinessLogic
We want to maintain the WinForms UI while developing the Blazor UI. And we want them to share the same Data and BI libraries.
We made this work (or build at least). But we can't get the Windows Forms Designer to work at all.
Steps to Reproduce:
I converted the supporting libraries (1 & 3) to SDK-Style projects and had compile both .NET Framework and .NET Core assemblies.
In the ApplicationUI project, the Windows Forms designer works for simply forms. But if that form references anything from the other assemblies, the Designer will load.
I also tried converting the other projects to SDK-Style projects, but still targeting only the .NET Framework. I was also able to get this to compile, but it's now trying to use the .NET Core Windows Forms Designer, which obviously wont work.