Important information regarding the recent update to Visual Studio 2022 17.7.0

Answered Closed
1
0

Dear users,

The latest updates of Visual Studio 2022 (17.7.0) caused the designer to crash due to a version mismatch of the native WebView2 libraries.

This has been taken care of as soon as we got the reports.

The issue is now fixed, you’ll have to download the new VSIX for the changes to take effect:

VS 2019: https://s3.us-east-1.amazonaws.com/setup.wisej.com/downloads/Wisej.NET-3-VS2019-3.2.5.vsix

VS 2022: https://s3.us-east-1.amazonaws.com/setup.wisej.com/downloads/Wisej.NET-3-VS2022-3.2.5.vsix

If you run into any issues with this build, please let us know.

Best,
Alaa

 

 

  • You must to post comments
Best Answer
0
0

Closing this issue since it’s already been addressed in our latest stable release of Wisej.NET 3.2.5.

For the most recent build, please visit https://wisej.com/builds/

Best regards,
Alaa

  • You must to post comments
0
0

Hi everyone,

If you happen to have PPJ installed, you’ll need to remove any reference to the Wisej.NET Designer from the GAC.

PPJ registers the designer directly in the GAC, so Visual Studio will load that version first.

Typically, Visual Studio looks out for any assembly in the GAC first, so it will prevent loading the Designer from the VSIX.

You can use GacUtils to remove the references, here’s a simple script below:

gacutil /u “Wisej.Framework.Design”
gacutil /u “Wisej.Framework.Design.2019”
gacutil /u “Wisej.Framework.Design.2022”

Once you remove the old references from the GAC, the Designer will now be loaded from the VSIX.

HTH,
Alaa

  • Stephan Keller
    We used PPJFramework-4.9.4.exe Installer, so you have to delete these files using Windows Explorer because of the restriction of the windows installer (The assembly could not be uninstalled…). Simply open “C:\Windows\Microsoft.NET\assembly\GAC_MSIL” (adjust your drive name) and delete Wisej.Framework.Design* dll’s. @Alaa: Would be nice to get also a working version of PPJ Framework Installer. as Download for the next release. Provisioing projects with PPJ.Web Nuget Package is also needed (open issue on github https://github.com/iceteagroup/PPJ/issues/2242) Thank you
  • You must to post comments
1
0

It’s not working on my PC. I deinstalled exiting Wisej.NET version in Visual Studio, installed the downloaded version. The project itself can be compiled/run. The forms/pages are loaded in designed, the controls are there but not visible. When I click on control (a textbox in this case) it’s borders are displayed but nothing more. Please advice.

Visual Studio 17.7.2

Wisej 3.2.4

 

When using IE Renderer it’s working correctly; the problem exists just for Edge/Chrome Renderer.

  • Stephan Keller
    This is absolutly correct. Not working at all with VS2022 17.7.0 – 17.7.3.
  • Alaa (ITG)
    Hi Stephan, there could be a shadow version of the assembly that’s being loaded, please follow the steps in https://docs.wisej.com/docs/getting-started-1/troubleshooting#clear-designer-assembly-cache and let me know if that fixes it.
  • Stephan Keller
    Hi, alreay tried the troubleshooting guide, tested in a clean Virtual Box VM with clean VS 2022 17.7.0-17.7.3 installations, no other VS2022 addons loaded, only the custom Wisej.NET-3-VS2022-3.2.5.4.vsix addon installed, restarted windows, changed the renderer. Some simple forms are working with IE renderer but no way to open/design complex forms with PPJ Web components, SalQuickTabs and other goodies :-D.
  • Alaa (ITG)
    Oh I see, the reason is that because you have PPJ installed, PPJ installs the designer in the GAC directly, so it will always be the first one to be loaded in VS and not the one in the VSIX, you have to remove the references to Wisej.Framework.Design, Wisej.Framework.Design.2019 and Wisej.Framework.Design.2022 in the GAC using GACUtils.
  • Stephan Keller
    Ok, this is the way to go: Install PPJ.Web, remove the DLL’s (Wisej.Framework.Design, Wisej.Framework.Design.2019 and Wisej.Framework.Design.2022) from GAC and install VSIX from link above. Thank you.
0
0

Hello,

we’re using Visual Studio 2022 version 17.7.1 along with Wisej 2.5.35.

For the designer, we’re using the NuGet package provided by Wisej-2-VisualStudioDesigner 2.5.20.
Will this NuGet package also be updated?

We’re encountering the issue described in this post related to the Edge/Chrome renderer.

Thanks in advance.

  • You must to post comments
0
0

To anyone who’s still having designer issues, I have updated the original post with new VSIX links.

Please give them a try and let us know if anything is not working as expected!

Best,
Alaa

  • Stephan Keller
    Testest the new VSIX links. Same problem with the renderer after full system reboot in VS 2022 17.7.1 and 17.7.2
  • You must to post comments
0
0

Hello,

we’re using Visual Studio 2022 17.7.1.

We have deinstalled the old extension (Designer 3.2.4) and installed the new one. No changes at all after complete system reboot, same results for IE or Edge Renderer.

Some simple forms (no subclasses) are displayed correctly with IE Renderer.

Screenshots attached.

Thank you

 

 

 

  • You must to post comments
1
0

Please note that this preview build of the VSIX is only available through the links that Alaa posted
and not in the Visual Studio Marketplace.

Thus you need to deinstall your exiting Wisej.NET version in Visual Studio
(Extensions – Manage Extensions – Select Wisej.NET from the Installed Extensions – Uninstall)

Then install the downloaded version.

When Wisej.NET 3.2.5. is officially released, it will be back into the Visual Studio Marketplace and you can directly update it in Visual Studio.

Sorry for any inconvenience.

Best regards
Frank

  • You must to post comments
Showing 7 results