Cannot open forms in designer

4
0

Hi, I’m a new user.  I’m not off to a good start.

Downloaded trial package, installs without issue.

Visual Studio 2022 Preview (64-bit) – Version 17.4.0 Preview 1.0.

Templates appear as expected.  Created a new “desktop application”.  NuGet packages restore successfully, application builds correctly, application displays correctly.

HOWEVER: I cannot open “MyDesktop.cs” in the designer:

The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: \r\n MyDesktop — The base class ‘Wisej.Web.Desktop’ could not be loaded. Ensure the assembly has been referenced and that all projects have been built.

I cannot open “Window1.cs” in the designer:

The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: \r\n Window1 — The base class ‘Wisej.Web.Form’ could not be loaded. Ensure the assembly has been referenced and that all projects have been built.

I have tried “Clean Solution”.  I have tried “Rebuild Solution”.  I have tried both, as well as deleting the BIN/OBJ folders, restarting Visual Studio etc.

This is the first time I have tried using your product, so there are no previous versions present.

My welcome e-mail tells me that: “To activate your Developer License, open Visual Studio, create or open a Wisej project and open any form in design mode – the designer will ask you to enter the license key.”

This is not happening either.

What suggestions do you have?

Thanks!

Tony

  • You must to post comments
0
0

Follow the steps in our troubleshooting section in the documentation. It’s in the getting started page at the top.

Make sure you uninstalled previous builds, install the vsix package, follow the clean up steps.

  • You must to post comments
0
0

My old project has the same issue, and I used Visual Studio version 17.5.0 Preview.

Attachment
  • You must to post comments
0
0

Hi Tony,

the template might be broken. Once I add a new window to your project i can open the desktop in the designer.

Cheers, Gerhard.

  • Tony Hansen
    Thanks Gerhard. I’ve tried adding a new WiseJ.NET 3 Window to the project. Build, Rebuild, clean, scrub OBJ/BIN folders, Rebuild again, restart Visual Studio etc. … no luck, still the same message. At this stage, I’m considering setting up a clean virtual machine, and trying this with the current mainline release of Visual Studio 2022. Maybe it’s something about the Preview version that’s breaking things.
  • You must to post comments
0
0

The VSIX package is installed, and shows in “Extensions”.  My development environment also has the Web, Desktop and VS Extensions components installed.

  • You must to post comments
0
0

The support forum will not allow me to attach files to my post … I keep getting a “Forbidden” message.

I have loaded this to a folder in my OneDrive:

  1. A short MP4 video showing the steps I’m going through
  2. The source files created during the video, without the BIN and OBJ folders
  3. A screenshot of my Visual Studio “About” screen, showing that I am running the latest Preview version

Files are accessible here: WiseJ

I originally installed the WiseJ components straight from NuGet, as per the video.

When that failed, I then downloaded and installed the Trial version from your website.  But that has not worked either.

If you need anything else from me to assist in resolving this issue, please let me know.

Tony

  • You must to post comments
0
0

Hi Tony

 

Thanks for your interes in Wisej.Net

You comment us that you are using “preview” version of Wisej

A- Is it correct or did you mean community version of VS?

B.- Do you installed community version of wisej.net or trial?

for better help you, please send us a sample app that  you are created.

Remove bin/dll before zipit

By the way. This video tutorial may be helpful
https://youtu.be/yj36Ki0V2MI

Regards

 

  • Tony Hansen
    So … have the team at Iced Tea Group had a chance to review the material I provided? Any ideas as to what might be going wrong?
  • Luca (ITG)
    You didn’t install the designer. Nuget only install runtime components. Use the provided installer and select VS2022 when prompted or use the vsix installer from VS Msrketplace as shown in the installation video.. Make sure VS2022 desktop components are installed as well or the designer cannot load in VS.
  • Tony Hansen
    As noted above: “When that failed, I then downloaded and installed the Trial version from your website.” The VSIX package is installed, and shows in “Extensions”. My development environment also has the Web, Desktop and VS Extensions components installed. Screenshots attached to separate comment, as I can’t attach screenshots to this one.
  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.