* docker module builds were broken for the network server due to the addition of buidl props and version synchronization. The versions were not picked up causing the build to break.

* removing stylecop

Co-authored-by: Patrick Schuler <paschule@microsoft.com>
This commit is contained in:
Patrick Schuler 2021-10-14 09:32:19 +02:00 коммит произвёл GitHub
Родитель 692eb6b315
Коммит 1fb6473071
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 3 добавлений и 59 удалений

Просмотреть файл

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
WORKDIR /build
COPY ./stylecop.* ./
COPY ./LoRaEngine/Directory.Build.props ./
WORKDIR /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/Logger ./Logger

Просмотреть файл

@ -12,7 +12,7 @@ RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
WORKDIR /build
COPY ./stylecop.* ./
COPY ./LoRaEngine/Directory.Build.props ./
WORKDIR /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/Logger ./Logger

Просмотреть файл

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
WORKDIR /build
COPY ./stylecop.* ./
COPY ./LoRaEngine/Directory.Build.props ./
WORKDIR /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/Logger ./Logger

Просмотреть файл

@ -33,13 +33,4 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
  <!-- StyleCop Setup -->
  <ItemGroup>
  <AdditionalFiles Include="../../stylecop.json" Link="stylecop.json" />
</ItemGroup>
  <PropertyGroup>
  <CodeAnalysisRuleSet>../../stylecop.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
  <Import Project="../../stylecop.props" />
</Project>

Просмотреть файл

@ -1,47 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Azure IoT Edge LoRaWAN Ruleset" Description="These StyleCop rules are customized for Azure IoT Edge LoRaWAN projects." ToolsVersion="15.0">
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<!-- XML comment generation must be enabled -->
<Rule Id="SA0001" Action="None" />
<!-- Constructor should not follow a property -->
<Rule Id="SA1201" Action="None" />
<!-- public members before private -->
<Rule Id="SA1202" Action="None" />
<!-- statics must be before public members -->
<Rule Id="SA1204" Action="None" />
<!-- Fields should not contain underscore: it is ok for constants -->
<Rule Id="SA1310" Action="None" />
<!-- Should declare access modifier -->
<Rule Id="SA1400" Action="None" />
<!-- Arithmetic expressions should declare precedence, using parenthesis -->
<Rule Id="SA1407" Action="None" />
<!-- Use trailing comma in multi-line -->
<Rule Id="SA1413" Action="None" />
<!-- bracers should not be omitted -->
<Rule Id="SA1503" Action="None" />
<!-- Single-line comments should be preceded by blank line -->
<Rule Id="SA1515" Action="None" />
<!-- elements should be documented -->
<Rule Id="SA1600" Action="None" />
<!-- enumeration items should be documented -->
<Rule Id="SA1602" Action="None" />
<!-- Documentation for parameters -->
<Rule Id="SA1611" Action="None" />
<!-- Element return value should be documented -->
<Rule Id="SA1615" Action="None" />
</Rules>
</RuleSet>