下载 .NET 6.0 (Linux、macOS 和 Windows)
安装后 在这里
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'restore' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
dotnet restore
dotnet build
C:\Users\Administrator\Desktop\SoftPlc-master\SoftPlc-master\SoftPlc
copy native\win\snap7.dll bin\Debug\net6.0\
set COREHOST_TRACE=1
cd D:\SoftPlc
dotnet bin\Debug\net6.0\SoftPlc.dll -e DATA_PATH=D:\softpc\demodata\datablocks.json --plcPort=102 --urls="http://localhost:8080/"