Win32 Only build requirement for VirtualRadar.WebSite
The VirtualRadar.WebSite subproject requires Windows batch scripting for its build system and does not provide a POSIX equivalent for OSX/Linux.
The requirements for _PostBuild.bat are for running a checksum program and copying files. This could be achieved by producing a _PostBuild.sh script and maintaining both bat/sh systems. I would however suggest rewriting this simple build requirement in a zero dependency C# app.
I can provide a pull request with a _PostBuild.sh if wished but would like to seek opinions on this issue.
Or alternatively use Powershell as the scripting langauage as it apears to be supported by Microsoft on Linux (https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6)
Thanks for that, I wasn't aware that PowerShell ran under Linux. It would be nice to be able to use PowerShell instead of batch files, particularly if I can ditch all of the disparate _PostBuild scripts and replace them with one. I'll take a look into it.
I've removed the _PostBuild scripts for the plugins, utilities and executables that had one and replaced them with a single _PostBuild.ps1 script.
There's still a post-build on the main VirtualRadar project that creates the Win32 AnyCPU build from the x86 binaries, I'll convert that later but I don't think it'll hold much interest if you're trying to build from Linux because it's calling Win32 .NET utilities.
I'm just getting PowerShell set up and working so I will let you know how it works out.
I am trying to get VRS built on Linux for Linux. Except from the known missing features (speech, UPnP...) I do not see much in the code base that will be of issue. Do you know of other issues that would block me?
Do you know what the extra PropertyGroup sections are in https://github.com/vradarserver/vrs/blob/master/VirtualRadar.WebSite/VirtualRadar.WebSite.csproj#L1005 as they do not seem to run but still referance _PostBuild.*