Add Rootnamespace property in project files

This commit is contained in:
atef 2023-07-03 14:59:48 +02:00
parent 30b45281d6
commit e31c40b659
22 changed files with 91 additions and 12 deletions

View File

@ -4,7 +4,11 @@
<Platforms>AnyCPU;linux-arm</Platforms> <Platforms>AnyCPU;linux-arm</Platforms>
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.App.props" /> <Import Project="../InnovEnergy.App.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.App.Backend</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Flurl.Http" Version="3.2.4" /> <PackageReference Include="Flurl.Http" Version="3.2.4" />
<PackageReference Include="Hellang.Middleware.ProblemDetails" Version="6.5.1" /> <PackageReference Include="Hellang.Middleware.ProblemDetails" Version="6.5.1" />

View File

@ -5,6 +5,10 @@
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.App.props" /> <Import Project="../InnovEnergy.App.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.App.BmsTunnel</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="CliWrap" Version="3.6.0" /> <PackageReference Include="CliWrap" Version="3.6.0" />
<PackageReference Include="System.IO.Ports" Version="7.0.0" /> <PackageReference Include="System.IO.Ports" Version="7.0.0" />

View File

@ -5,6 +5,10 @@
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.App.props" /> <Import Project="../InnovEnergy.App.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.App.Collector</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Lib/Utils/Utils.csproj" /> <ProjectReference Include="../../Lib/Utils/Utils.csproj" />
<ProjectReference Include="../../Lib/WebServer/WebServer.csproj" /> <ProjectReference Include="../../Lib/WebServer/WebServer.csproj" />

View File

@ -1,5 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.App.props" /> <Import Project="../InnovEnergy.App.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.App.OpenVpnCertificatesServer</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BouncyCastle" Version="1.8.9" /> <PackageReference Include="BouncyCastle" Version="1.8.9" />

View File

@ -5,6 +5,10 @@
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.App.props" /> <Import Project="../InnovEnergy.App.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.App.RemoteSupportConsole</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Lib/Utils/Utils.csproj" /> <ProjectReference Include="../../Lib/Utils/Utils.csproj" />
<ProjectReference Include="../../Lib/Victron/VictronVRM/VictronVRM.csproj" /> <ProjectReference Include="../../Lib/Victron/VictronVRM/VictronVRM.csproj" />

View File

@ -1,6 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.App.props" /> <Import Project="../InnovEnergy.App.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.App.SaliMax</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Version="3.6.0" Include="CliWrap" /> <PackageReference Version="3.6.0" Include="CliWrap" />
<PackageReference Version="3.2.4" Include="Flurl.Http" /> <PackageReference Version="3.2.4" Include="Flurl.Http" />

View File

@ -9,12 +9,7 @@
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<InvariantGlobalization>true</InvariantGlobalization> <InvariantGlobalization>true</InvariantGlobalization>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings> <SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<!-- <RootNamespace>Please.reload.the.project.Rider.is.stupid</RootNamespace>-->
<Authors>$(Company) Team</Authors> <Authors>$(Company) Team</Authors>
</PropertyGroup> </PropertyGroup>
<!-- <PropertyGroup Condition="'$(SolutionDir)' != ''">-->
<!-- <RootNamespace>$(Company).$(MSBuildProjectDirectory.Replace($(SolutionDir), "").Replace("/",".").Replace("\","."))</RootNamespace>-->
<!-- </PropertyGroup>-->
</Project> </Project>

View File

@ -7,6 +7,10 @@
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Channels</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../Utils/Utils.csproj" /> <ProjectReference Include="../Utils/Utils.csproj" />
</ItemGroup> </ItemGroup>

View File

@ -1,6 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props"/> <Import Project="../../InnovEnergy.Lib.props"/>
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Devices.AMPT</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" /> <ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" />
<ProjectReference Include="../../Utils/Utils.csproj" /> <ProjectReference Include="../../Utils/Utils.csproj" />

View File

@ -1,7 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props" /> <Import Project="../../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Devices.Adam6060</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" /> <ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" />
</ItemGroup> </ItemGroup>

View File

@ -1,6 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props" /> <Import Project="../../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Devices.Adam6360D</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" /> <ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" />
<ProjectReference Include="../../Units/Units.csproj" /> <ProjectReference Include="../../Units/Units.csproj" />

View File

@ -1,6 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props" /> <Import Project="../../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Devices.Battery48TL</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" /> <ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" />

View File

@ -1,6 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props" /> <Import Project="../../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Devices.EmuMeter</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Utils/Utils.csproj" /> <ProjectReference Include="../../Utils/Utils.csproj" />
<ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" /> <ProjectReference Include="../../Protocols/Modbus/Modbus.csproj" />

View File

@ -2,7 +2,10 @@
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Logging</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../Utils/Utils.csproj"/> <ProjectReference Include="../Utils/Utils.csproj"/>
<ProjectReference Include="../SrcGen/SrcGen.csproj" <ProjectReference Include="../SrcGen/SrcGen.csproj"

View File

@ -1,5 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props" /> <Import Project="../../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Protocols.DBus</RootNamespace>
</PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Description>DBus Library</Description> <Description>DBus Library</Description>

View File

@ -1,6 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../InnovEnergy.Lib.props"/> <Import Project="../../InnovEnergy.Lib.props"/>
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Protocols.Modbus</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../Utils/Utils.csproj"/> <ProjectReference Include="../../Utils/Utils.csproj"/>

View File

@ -5,6 +5,10 @@
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.StatusApi</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../Protocols/Modbus/Modbus.csproj" /> <ProjectReference Include="../Protocols/Modbus/Modbus.csproj" />
<ProjectReference Include="../Units/Units.csproj" /> <ProjectReference Include="../Units/Units.csproj" />

View File

@ -5,6 +5,10 @@
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.SysTools</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="System.Reactive.Linq" Version="5.0.0" /> <PackageReference Include="System.Reactive.Linq" Version="5.0.0" />
</ItemGroup> </ItemGroup>

View File

@ -4,4 +4,9 @@
<Platforms>AnyCPU;linux-arm</Platforms> <Platforms>AnyCPU;linux-arm</Platforms>
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Time</RootNamespace>
</PropertyGroup>
</Project> </Project>

View File

@ -2,6 +2,10 @@
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Units</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../Utils/Utils.csproj" /> <ProjectReference Include="../Utils/Utils.csproj" />
<ProjectReference Include="../Time/Time.csproj" /> <ProjectReference Include="../Time/Time.csproj" />

View File

@ -5,6 +5,10 @@
</PropertyGroup> </PropertyGroup>
<Import Project="../InnovEnergy.Lib.props" /> <Import Project="../InnovEnergy.Lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Utils</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="CliWrap" Version="3.6.0" /> <PackageReference Include="CliWrap" Version="3.6.0" />
<PackageReference Include="DecimalMath.DecimalEx" Version="1.0.2" /> <PackageReference Include="DecimalMath.DecimalEx" Version="1.0.2" />

View File

@ -7,6 +7,10 @@
<Platforms>AnyCPU;linux-arm</Platforms> <Platforms>AnyCPU;linux-arm</Platforms>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.WebServer</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Flurl" Version="3.0.1" /> <PackageReference Include="Flurl" Version="3.0.1" />
<PackageReference Include="Flurl.Http" Version="3.0.1" /> <PackageReference Include="Flurl.Http" Version="3.0.1" />