Can't publish working app (local)

0
0

I have downloaded your example applications (3.5) and have run your UserDesktop application locally which works fine. I’ve made no changes except to provide my license number.

I have tried to deploy the published (web deploy) application to my Mocha Host server.  Deployment is successful.

When I try to run the application from Microsoft Edge or Google Chrome, I get

Could not load file or assembly ‘Wisej.Framework’ or one of its dependencies. The system cannot find the file specified.

What am I missing?

  • You must to post comments
0
0

That error means your Wisej.NET runtime assemblies (like Wisej.Framework.dll) were not copied to your MochaHost server.

After publishing locally, open your publish folder and make sure these dlls exist in the bin folder:
Wisej.Framework.dll
Wisej.Web.Ext.*.dll (if you used any extensions)
Wisej.Hybrid.dll (for UserDesktop)

In your .csproj, ensure Wisej references are set with:

<PackageReference Include=”Wisej-3″ Version=”3.5.*” />
and not as <Reference Include=”Wisej-3″ />.

Then in the Publish Profile (.pubxml), confirm this property exists:

<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
That forces the Wisej assemblies to be published to the server.

 

Hope this helps,

Julie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.