- .Net Framework >= 4.7.1
- Visual Studio 2019
- TwinCat 3.1
Clone repository and build
NET\Mbc.Pcs.Net.slnTwinCat\Mbc.Tc3.Pcs.slnwith TwinCat 3.1
For Deployment of the .Net nuget packages there is a Cake Build script.
> cd NET
# Unit Tests
..\NET> .\build.ps1 -t Test
# Publish nuget
..\NET> .\build.ps1 --target=NugetPublish --apikey=[xxxxxxxx]First:
- Copy the new
Interop.TCEVENTLOGGERLib.dllandInterop.TcEventLogProxyLib.dllto theLibsfolder. - Update the
Build\Mbc.Pcs.Net.TwinCat.EventLog.nuspecfile with the correct version.
Second: Run the cake build Script > .\build.ps1 --target=NugetPush --nuspec="Build\Mbc.Pcs.Net.TwinCat.EventLog.nuspec" --apikey=[xxxxxxxx]. This build the nuspec configuration to a package and push it to the mbcpublic feed defined NET\NuGet.Config.
First: In the File Mbc_Tc3_Pcs project increment the Project Version number.
Second: In the subnote of Mbc_Tc3_Pcs right click on the node Mbc_Tc3_Pcs Project and select Save as library and install. Save the generated library unter TwinCat\Mbc.Tc3.Pcs\Library with the following name Mbc_Tc3_Pcs_vx.x.x.x.library (replace x with the Project Version number).
Third: Commit the created library to git and create a git tag with the name Mbc_Tc3_Pcs/vx.x.x.x.
Feel free to contribute! After review it will merged into de main branch.
Please write your changes into the changelog.
Copyright (c) 2018 BY mbc engineering, CH-6015 Luzern
Licensed under the Apache License, Version 2.0