WiseJ 3 Install

0
0

I installed Visual Studio 2022 and WiseJ-3 and started a small test program yesterday. Today I reopened the project and it has errors that it cant find WiseJ in the “using” section. I ran the auto updater – say’s I’m up to date. Uninstalled WiseJ-3 – and it also removed the auto updater. Tried to install via Nuget and I get an error:

Severity Code Description Project File Line Suppression State
Error Failed to retrieve information about ‘Wisej-3’ from remote source ‘https://www.nuget.org/api/v3/FindPackagesById()?id=’Wisej-3’&semVerLevel=2.0.0’.
Response status code does not indicate success: 404 (Not Found).

 

How can I get WiseJ 3 installed again ?

  • You must to post comments
0
0

Adding sample project again. I had to clean out the bin folder in the zip since the WiseJ DLLs alone are bigger than the max file size allowed of 3.9 MB

Attachment
  • You must to post comments
0
0

New project -nothing edited – cant view designer – WiseJ3 is installed and the dependencies resolve. See screenshot

Any Ideas ?

  • Alaa (ITG)
    Hi Edmond, usually rebuilding the solution and restarting VS solves that issue, can you give it a try ?
  • edmond girardi
    Tried all that – no luck
  • edmond girardi
    Well after closing visual studio and opening the project about 5 times with no luck I opened VS as administrator (which I am an admin on my machine anyway) the designer renders the page. Closed VS and opened as normal (not forcing as administrator) and it renders the designer. Very strange I’m very hesitant to start any major development with this going on. It does not appear to be a WiseJ issue -I don’t think – but that version in the project file with the “-*” in it seems to be a major problem as I have to mess with it to get it to work – even after adding in extensions. I’m using a brand new install of the latest visual studio 2022, has the latest Nuget. I cant believe I’m the only one with this problem ???
  • Johan De Mulder
    Hi Edmond, I had the same problem. After opening the Toolbox and having it search for new controls, I was able to open ‘Page1.cs’ with the designer.
  • You must to post comments
0
0

Attached is a screenshot of my package manager URLs. I just installed VS 2022 yesterday so not sure how the nuget urls would be wrong ?

  • You must to post comments
0
0

I changed the project file as suggested to “3.0” and re-opened the solution but nothing has changed. See attached screen shot

  • Luca (ITG)
    Looks like an old nuget manager version that doesn’t support the “*-*” version syntax. I don’t know if it’s an old VS 2022 build or something else. Change the csproj to use Version=”3.0.*” and should work. Or remove the reference completely and readd from the package manager.
  • edmond girardi
    That build is directly from Microsoft yesterday,
  • edmond girardi
    Even starting a new project, does the same thing.
  • edmond girardi
    Visual studio 2022 says Nuget 6.1.0 is installed -the latest
  • You must to post comments
0
0
  • edmond girardi
    Yeah i tried that – searching in nuget it finds WiseJ-3 – i hit update – and i still get the not found error
  • Luca (ITG)
    Remove <PackageReference Wisej-3> from the csproj file. Close VS, reopen the project open the package manager and re-add Wisej-3. Or, go to \Users\[name]\.nuget\packages and delete \Wisej-3 or in Visual Studio go to tools -> options -> NuGet Package Manager and click Clear All NuGet Cache.
  • edmond girardi
    OK – so i manually edited the project file and removed the using nuget PM – i installed WiseJ3 and the mobile extensions and this is what is put in there now: PackageReference Include=”Wisej-3″ Version=”3.0.6″ PackageReference Include=”Wisej-3-MobileIntegration” Version=”3.0.6″ So it seems that my Visual Studio when creating a new WiseJ 3 project is putting: PackageReference Include=”Wisej-3″ Version=”3.*-*” I just installed the latest WiseJ-3 yesterday – is there something wrong with the build ?
  • Luca (ITG)
    Nothing wrong with the build. Looks like your Visual Studio cannot use the “3.*-*” version format. It was added to the nuget package manager a few builds ago.
  • edmond girardi
    Visual Studio “About Page” says Nuget 6.1.0 is installed- the latest. So far I’m dead in the water – created a new project – modified the project file for WiseJ “3.6.0” – the dependencies all resolve – my sample project – new with no controls compiles – but I cant view the designer at all to add controls to the page.
0
0

I was able to download the installer from wisej.com/builds and installed Wisej-3.

Opened my solution – recompiled – still cant find WiseJ3 – screenshot of Visual Studio 2022 attached. Any ideas ?

Attachment
  • edmond girardi
    IN the build output it has: 1>—— Build started: Project: LightingControl, Configuration: Debug Any CPU —— Error occurred while restoring NuGet packages: Failed to retrieve information about ‘Wisej-3’ from remote source ‘https://www.nuget.org/api/v3/FindPackagesById()?id=’Wisej-3’&semVerLevel=2.0.0’. 1>C:\Program Files\dotnet\sdk\6.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(267,5): error NETSDK1004: Assets file ‘C:\Client Projects\Intellego\LightingControl\LightingControl\LightingControl\obj\project.assets.json’ not found. Run a NuGet package restore to generate this file. 1>Done building project “LightingControl.csproj” — FAILED. 1>C:\Program Files\dotnet\sdk\6.0.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(267,5): error NETSDK1004: Assets file ‘C:\Client Projects\Intellego\LightingControl\LightingControl\LightingControl\obj\project.assets.json’ not found. Run a NuGet package restore to generate this file. 1>Done building project “LightingControl.csproj” — FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Not sure why it has to go to Nuget when compiling – what if my PC is not online ? Would this prevent compiling ?
  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.