Commit 2b841ac5 authored by Andreas Müller's avatar Andreas Müller

Added NetRevisionTask and Gitlab CI

parent 652cc905
Pipeline #13 passed with stage
in 38 seconds
image: microsoft/dotnet
stages:
- build
release:
stage: build
script:
- dotnet restore
- dotnet build -c Release
tags:
- docker
artifacts:
paths:
- artifacts/bin/AMWD.Modbus.Common/Release/*.nupkg
- artifacts/bin/AMWD.Modbus.Serial/Release/*.nupkg
- artifacts/bin/AMWD.Modbus.Tcp/Release/*.nupkg
expire_in: 1 month
\ No newline at end of file
......@@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.gitattributes = .gitattributes
.gitignore = .gitignore
.gitlab-ci.yml = .gitlab-ci.yml
LICENSE.txt = LICENSE.txt
README.md = README.md
EndProjectSection
......@@ -21,7 +22,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleDemo", "src\ConsoleD
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modbus.Common", "src\Modbus.Common\Modbus.Common.csproj", "{71D10922-FE10-4A77-B4AC-E947797E9CFE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Modbus.Serial", "src\Modbus.Serial\Modbus.Serial.csproj", "{30629B0B-B815-4951-AE56-9A0038210ECB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modbus.Serial", "src\Modbus.Serial\Modbus.Serial.csproj", "{30629B0B-B815-4951-AE56-9A0038210ECB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......
# Modbus
This is a .NET Standard 2.0 implementation of the Modbus protocol.
\ No newline at end of file
Implements the Modbus communication protocol, written as a .NET Standard 2.0 library.
[![NuGet](https://img.shields.io/nuget/v/AMWD.Modbus.Tcp.svg)](https://www.nuget.org/packages/AMWD.Modbus.Tcp)
## Repositories
There are two repositories.
- Own [Gitlab](https://git.am-wd.de/AM.WD/Modbus) repository with CI integration
- [Github](https://github.com/AndreasAmMueller/Modbus) as more public platform
## License
[MIT license](https://github.com/AndreasAmMueller/Modbus/blob/master/LICENSE.txt)
\ No newline at end of file
......@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.9.0</Version>
<Version>1.0.0</Version>
<Authors>Andreas Müller</Authors>
<Company />
<Product>Modbus.Common</Product>
......@@ -18,6 +18,16 @@
<AssemblyName>AMWD.Modbus.Common</AssemblyName>
<RootNamespace>AMWD.Modbus.Common</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>{semvertag}</NrtRevisionFormat>
<NrtResolveSimpleAttributes>true</NrtResolveSimpleAttributes>
<NrtResolveInformationalAttribute>true</NrtResolveInformationalAttribute>
<NrtResolveCopyright>true</NrtResolveCopyright>
<NrtTagMatch>v[0-9]*</NrtTagMatch>
<NrtRemoveTagV>true</NrtRemoveTagV>
<NrtRequiredVcs>git</NrtRequiredVcs>
<NrtShowRevision>true</NrtShowRevision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
......@@ -42,5 +52,8 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Unclassified.NetRevisionTask" Version="0.2.2-beta" PrivateAssets="all" />
</ItemGroup>
</Project>
......@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.9.0</Version>
<Version>1.0.0</Version>
<Authors>Andreas Müller</Authors>
<Company />
<Product>Modbus.Serial</Product>
......@@ -18,6 +18,16 @@
<AssemblyName>AMWD.Modbus.Serial</AssemblyName>
<RootNamespace>AMWD.Modbus.Serial</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>{semvertag}</NrtRevisionFormat>
<NrtResolveSimpleAttributes>true</NrtResolveSimpleAttributes>
<NrtResolveInformationalAttribute>true</NrtResolveInformationalAttribute>
<NrtResolveCopyright>true</NrtResolveCopyright>
<NrtTagMatch>v[0-9]*</NrtTagMatch>
<NrtRemoveTagV>true</NrtRemoveTagV>
<NrtRequiredVcs>git</NrtRequiredVcs>
<NrtShowRevision>true</NrtShowRevision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
......@@ -45,6 +55,7 @@
<ItemGroup>
<PackageReference Include="System.IO.Ports" Version="4.5.0" />
<PackageReference Include="Unclassified.NetRevisionTask" Version="0.2.2-beta" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
......
......@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.9.0</Version>
<Version>1.0.0</Version>
<Authors>Andreas Müller</Authors>
<Company />
<Product>Modbus.TCP</Product>
......@@ -18,6 +18,16 @@
<AssemblyName>AMWD.Modbus.Tcp</AssemblyName>
<RootNamespace>AMWD.Modbus.Tcp</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>{semvertag}</NrtRevisionFormat>
<NrtResolveSimpleAttributes>true</NrtResolveSimpleAttributes>
<NrtResolveInformationalAttribute>true</NrtResolveInformationalAttribute>
<NrtResolveCopyright>true</NrtResolveCopyright>
<NrtTagMatch>v[0-9]*</NrtTagMatch>
<NrtRemoveTagV>true</NrtRemoveTagV>
<NrtRequiredVcs>git</NrtRequiredVcs>
<NrtShowRevision>true</NrtShowRevision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
......@@ -42,6 +52,9 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Unclassified.NetRevisionTask" Version="0.2.2-beta" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Modbus.Common\Modbus.Common.csproj" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment