How can I tell what version of WiseJ a project was created in ?

0
0

I created a project last year – then by accident i had the auto updater install WiseJ3 in my VS 2019. Now I installed the latest 2.5 version but now VS 2019 does not recognize using Wisej.Web; I’m pretty sure i used WiseJ 2.5 ? But maybe not.

  • You must to post comments
0
0

Wisej 3 doesn’t override 2.5, the two are unrelated having different assembly versions. Wisej is not installed in VS 2019 or in VS 2022. The Wisej.Framework.dll assembly comes from nuget. The designer is registered in the GAC isolated by AssemblyVersion – it’s all standard .NET that we cannot change in any way and it’s the same for any assembly of any kind.

If the C# compiler doesn’t recognize an assembly it means it cannot load it. Check the nuget reference or remove the nuget and reference wisej dll directly.

  • Luca (ITG)
    1.5
  • edmond girardi
    This particular project does not have any nuget packages installed at all – Just WiseJ .Framework reference
  • Luca (ITG)
    1.5 didn’t use nuget
  • edmond girardi
    Looks like the Wisej.Framework in my references is version 2.0.0.0 – so I’m assuming this is WiseJ 2. When I install WiseJ2 via nuget – says: Severity Code Description Project File Line Suppression State Error Could not install package ‘Wisej-2 2.5.32’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v4.7.2’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. Downgraded the project to 4.0 and 4.5 – cant get nuget to install – says:: Severity Code Description Project File Line Suppression State Error Could not install package ‘Wisej-2 2.5.32’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v4.5’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. The WiseJ.Framework DLL says its Runtime Version is 4.0.30319 – shouldn’t nuget be able to install the latest WiseJ2 if i target .NET 4 ?
  • edmond girardi
    By trial and error – looks like it wanted .NET 4.6 – now i can open and work with this project. Very confusing when maintaining multiple versions !
Showing 1 result
Your Answer

Please first to submit.