Forum Home › Forums › Development and Integration › Buid Rapid SCADA 6 on Visual Studio Code
Tagged: ScadaAdmin, vscode, wine
- This topic has 44 replies, 3 voices, and was last updated 1 year, 2 months ago by Mikhail.
-
AuthorPosts
-
October 14, 2022 at 12:11 am #11265kumajayaParticipant
The simplest method still:
https://github.com/RapidScada/scada-v6/pull/16/commits/71114c0ca8d0b671f22691053ddb9035249f5791
based on instructions from:
https://www.nuget.org/packages/Microsoft.NETFramework.ReferenceAssemblies/
October 14, 2022 at 7:40 am #11266MikhailModeratorI’ve used the method provided by Alexander of Macedon and deleted .NET4.8 services.
October 14, 2022 at 8:49 am #11267kumajayaParticipantA great way out. I love it 😀
October 14, 2022 at 12:13 pm #11273MikhailModeratorTrying to run ScadaAdmin with Wine, faced the error https://ibb.co/LQNcD2B when execute
WINEDEBUG=+loaddll wine ScadaAdmin.exe
Wine installed successfully. ScadaAdmin published also without any error.
I use the current source code from https://github.com/RapidScada/scada-v6
Do you have any idea what should be checked and fixed?October 14, 2022 at 12:21 pm #11274MikhailModeratorWhich Ubuntu and Wine version do you use?
October 14, 2022 at 1:17 pm #11275kumajayaParticipantUsing Ubuntu 20.04 and Wine staging here.
October 14, 2022 at 1:23 pm #11276MikhailModeratorI use also Ubuntu 20.04 and wine 7.18.
To check the version usewine --version
Simple WinForms app works correctly. But ScadaAdmin does not. Did you update solution or other ScadaAdmin files before publish?October 14, 2022 at 1:37 pm #11277MikhailModeratorAfter adding ScadaInstanceConfig.xml to the proper location, got another error https://ibb.co/6F077VL
ScadaAdmin.log doesn’t contain any error.October 14, 2022 at 1:54 pm #11278kumajayaParticipantwine –version output:
wine-7.18 (Staging)
No special modification here, our current source should be run on Wine.
October 14, 2022 at 1:54 pm #11279MikhailModeratorChanging winehq-devel to winehq-staging works.
October 14, 2022 at 1:58 pm #11280kumajayaParticipantI have a Windows application that only works on Wine staging, that’s why staging version installed on my computer.
October 17, 2022 at 12:31 pm #11298kumajayaParticipantHi @Mikhail To make device log more readable, you can install consolas font via winetricks using “winetricks consolas” command.
October 18, 2022 at 9:04 am #11305MikhailModeratorThank you for the info.
October 24, 2022 at 9:31 am #11355zzzParticipantHi, thanks for the guide. I downloaded the source from mik’s rapidscadav6 repository on github yesterday.
I saw the
EnableWindowsTargeting
has already been set to true. Thus I just skipped most of editing steps, including referencingMicrosoft.NETFramework.ReferenceAssemblies
inScadaCommon.Svc.csproj
(since this file doesn’t seem to exist in my downloaded version)Jump to the compilation step. The process worked most of the time, except for ScadaAdmin which complained about some
host
can only run on windows etc.Just now I find that the MQTT related plugin UI are not working ScadaAdmin (other modules’ views work just fine). I am not sure if this is related.
Comparing the dlls from project I compiled and released beta v6 package on this forum. I find missing files from my builds includingDrvCnlBasic.Common.dll DrvDsScadaServer.Common.dll ModArcBasic.Common.dll ModArcPostgreSql.Common.dll
The above items’s GUI in ScadaAdmin seems to work ok. Did I do anything wrong ?
Any idea why none of my built mqtt related modules’s GUI work?Message in text: messagebox:{title:
Error
, message:Unhandled Exception
}October 24, 2022 at 10:12 am #11367MikhailModeratorHi,
Just now I find that the MQTT related plugin UI are not working ScadaAdmin
The problem occurs on Windows also or only on Linux?
-
AuthorPosts
- You must be logged in to reply to this topic.