1. Anoop Chaurasia
  2. PowerServer
  3. Monday, 19 February 2024 17:22 PM UTC

My Application have multiple .net DLLs which is built using .net 2 and 4.

While launching the powerserver application it is throwing error on client's PC when .net runtime is not available. Is there a way to check the .net runtime and install on client's PC when launching the powerserver for the first time?

Anoop Chaurasia Accepted Answer Pending Moderation
  1. Friday, 23 February 2024 10:54 AM UTC
  2. PowerServer
  3. # 1

Thank You Armeen and Francisco,

Migrating to >Net assemblies migration to .net 6 and using 'self contained' deployment is in the roadmap.

currently trying to deploy the application with Minimal changes. Can you please give some idea on what should be the command to execute the .bat file and how i can pass the path/location of the assemblies which is added as external files in the powerserver app configuration.

 

Thank You,

Anoop

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 19 February 2024 18:40 PM UTC
  2. PowerServer
  3. # 2

Adding to what Armeen said, if the reason your application is failing is because you're using .NET DLLs in your application, you should try compiling the assemblies with the "Self-contained" option, to free their dependency on the client having the framework.

 

Regards,
Francisco

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 19 February 2024 18:30 PM UTC
  2. PowerServer
  3. # 3

You can create .BAT to handle this and assign to the "preload event" under the "application" section of the project object: https://docs.appeon.com/ps2022r3/Application_page.html

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.