We thought the web api would be fully deployed to dxgdev.info at this point but trying to hit an endpoint results in a 500 error. The specific reason for this is that the ConversionScripts project is a C++ Dynamic Link Library which is built using MSBuild tooling. As a result, the executable file is not compatible on Linux. We are going to backlog a solution to this issue for the time being, and work on demo capabilities of the application.
qmiller@dxg-lemp2:/var/www/laar-webapi.dxgdev.info$ file /var/www/laar-webapi.dxgdev.info/ConversionScripts.dll
/var/www/laar-webapi.dxgdev.info/ConversionScripts.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
When we do eventually get back to this issue, I can think of a few possible solutions:
Convert the ConversionScripts project to be a CMake project so that it is cross platform
Convert the ConversionScripts project to just be a C# project
Add an additional project to the solution that is a Linux MSBuild Project that is exactly the same as the ConversionScripts project but instead targets Linux
Use dotnet-vcxproj tool (I have experimented with this and I honestly think it is faulty, it seems like a simple solution but it is a 3rd party project that comes with plenty of its own bugs) https://github.com/roozbehid/dotnet-vcxproj
System Info
dxgdev.info VM, running Ubuntu 22.04
Linked Tasks
After a solution to this bug is implemented, the Github Actions Deploy workflow will need to be updated.
Reproduction Steps
We thought the web api would be fully deployed to dxgdev.info at this point but trying to hit an endpoint results in a 500 error. The specific reason for this is that the ConversionScripts project is a C++ Dynamic Link Library which is built using MSBuild tooling. As a result, the executable file is not compatible on Linux. We are going to backlog a solution to this issue for the time being, and work on demo capabilities of the application.
When we do eventually get back to this issue, I can think of a few possible solutions:
System Info
dxgdev.info VM, running Ubuntu 22.04
Linked Tasks