Skip to content

WiseJ 4.0.1 Hybrid app template with net-9 assembly reference issues #4809

Closed

Description

@itg-assistant

Nick Welsheimer asked 2025-07-08 18:05:17 UTC

I'm trying to create a test hybrid app using Visual Studio 2022 (17.14.7), the latest WiseJ 4.0.1 VS templates, using net 9.0 for the framework version (this is the only option I have when creating the project from the template). I was attempting to follow along with the example in your documentation (https://www.learnwisej.net/wisej.net-for-business-applications/building-a-simple-app-with-wisej.net-hybrid) for a starting point.

On my machine I do not have net8.0 as an option. Using all of the default settings from the new project wizard for a Wisej.NET 4 Hybrid Client Application (which defaults to net9.0 on my machine), I have two errors right from the start.

Type or namespace Wisej not found, and MauiAppBuilder doesn't contain a definition for UseWisejHybrid. Both of the errors are specific to the net9.0-windows framework, it appears the net9.0-android & ios frameworks would build fine.

I haven't been able to find any documentation or discussion on the forums about the min/max framework versions compatible with wisej hybrid, aside from needing VS 17.4+ for net8 compatibility, but it doesn't specifically say it's required.

Any suggestions on what I could try to get this running? Are there docs or examples available for hybrid apps on the 4.0 update?

Appreciate all your help!

-Nick

Activity

  1. itg-assistant commented on Jun 16, 2026

    @itg-assistant
    Author

    Nick Welsheimer answered 2025-07-09 11:22:02 UTC

    Answering my own question in case someone else stumbles on this.

    Changing the project file to specifically target net9.0-windows10.0.19041.0 fixed it. This was the version number targeted in the examples from github (albeit for net8.0), I didn't try any other versions.

    Problem solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions