Browse Source

setup fnd nugets

Dalibor Votruba 2 years ago
parent
commit
bebf7154ea

+ 11 - 0
Common/qdr.fnd.core.business/qdr.fnd.core.business.csproj

@@ -7,6 +7,17 @@
     <DelaySign>false</DelaySign>
     <RootNamespace>Quadarax.Foundation.Core.Business</RootNamespace>
     <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
+    <Title>Quadarax.Foundation.Core.Bussines</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Quadarax.Foundation.Core.Bussines - bussines layer foundation library</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE;BUSSINES</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
   </PropertyGroup>
 
   <ItemGroup>

+ 11 - 0
Common/qdr.fnd.core.data.itfc/qdr.fnd.core.data.itfc.csproj

@@ -7,6 +7,17 @@
     <DelaySign>false</DelaySign>
     <RootNamespace>Quadarax.Foundation.Core.Data.Interface</RootNamespace>
     <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
+    <Title>Quadarax.Foundation.Core.Data.Interface</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Quadarax.Foundation.Core.Data.Interfaces - data interface layer foundation library</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE;DATA;INTERFACE</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
   </PropertyGroup>
 
   <ItemGroup>

+ 11 - 0
Common/qdr.fnd.core.data/qdr.fnd.core.data.csproj

@@ -7,6 +7,17 @@
     <DelaySign>false</DelaySign>
     <RootNamespace>Quadarax.Foundation.Core.Data</RootNamespace>
     <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
+    <Title>Quadarax.Foundation.Core.Data</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Quadarax.Foundation.Core.Data - data layer foundation library</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE;DATA;DAO</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
   </PropertyGroup>
 
   <ItemGroup>

+ 27 - 16
Common/qdr.fnd.core.nlog/qdr.fnd.core.nlog.csproj

@@ -1,21 +1,32 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <TargetFramework>net7.0</TargetFramework>
-    <SignAssembly>true</SignAssembly>
-    <AssemblyOriginatorKeyFile>..\bo_strong_key_pair.snk</AssemblyOriginatorKeyFile>
-    <DelaySign>false</DelaySign>
-    <RootNamespace>Quadarax.Foundation.Core.NLog</RootNamespace>
-    <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
-  </PropertyGroup>
-
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <TargetFramework>net7.0</TargetFramework>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyOriginatorKeyFile>..\bo_strong_key_pair.snk</AssemblyOriginatorKeyFile>
+    <DelaySign>false</DelaySign>
+    <RootNamespace>Quadarax.Foundation.Core.NLog</RootNamespace>
+    <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
+    <Title>Quadarax.Foundation.Core.NLog</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Quadarax.Foundation.Core.NLog - logging provider for NLog under logging infrastructure in foundation library</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE;NLOG</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
+  </PropertyGroup>
+
   <ItemGroup>
     <PackageReference Include="NLog" Version="5.2.4" />
     <PackageReference Include="NLog.Extensions.Logging" Version="5.3.4" />
-  </ItemGroup>
-
+  </ItemGroup>
+
   <ItemGroup>
     <ProjectReference Include="..\qdr.fnd.core\qdr.fnd.core.csproj" />
-  </ItemGroup>
-
-</Project>
+  </ItemGroup>
+
+</Project>

+ 11 - 2
Common/qdr.fnd.core.qconsole/qdr.fnd.core.qconsole.csproj

@@ -7,8 +7,17 @@
     <DelaySign>false</DelaySign>
     <RootNamespace>Quadarax.Foundation.Core.QConsole</RootNamespace>
     <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
-    <AssemblyVersion>1.0.6.0</AssemblyVersion>
-    <FileVersion>1.0.6.0</FileVersion>
+    <Title>Quadarax.Foundation.Core.QConsole</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Quadarax.Foundation.Core.QConsole - abstract console engine under foundation library</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE;CONSOLE</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
   </PropertyGroup>
 
   <ItemGroup>

+ 11 - 0
Common/qdr.fnd.core.web/qdr.fnd.core.web.csproj

@@ -7,6 +7,17 @@
     <DelaySign>false</DelaySign>
     <RootNamespace>Quadarax.Foundation.Core.Web</RootNamespace>
     <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
+    <Title>Quadarax.Foundation.Core.Web</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Quadarax.Foundation.Core.Web - UI ASP.NET layer under foundation library</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE;CONSOLE</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
   </PropertyGroup>
 
   <ItemGroup>

+ 21 - 0
Common/qdr.fnd.core/buildD.cmd

@@ -0,0 +1,21 @@
+@echo off
+
+rem ** check if directories exists **
+if not exist "bin" goto err_bin_not_found
+
+rem ** cleanup **
+rmdir /s /q bin\debug
+
+rem ** build **
+dotnet build -c Debug
+
+
+goto done
+
+:err_bin_not_found
+echo ERR: missing 'bin' directory in current location
+goto exit
+
+:done
+echo *** DONE ***
+:exit

+ 21 - 0
Common/qdr.fnd.core/buildR.cmd

@@ -0,0 +1,21 @@
+@echo off
+
+rem ** check if directories exists **
+if not exist "bin" goto err_bin_not_found
+
+rem ** cleanup **
+rmdir /s /q bin\release
+
+rem ** build **
+dotnet build -c Release
+
+
+goto done
+
+:err_bin_not_found
+echo ERR: missing 'bin' directory in current location
+goto exit
+
+:done
+echo *** DONE ***
+:exit

+ 30 - 0
Common/qdr.fnd.core/publishD.cmd

@@ -0,0 +1,30 @@
+@echo off
+
+set nuget=D:\Projects\nuget.exe
+
+rem ** check if directories exists **
+if not exist "bin" goto err_bin_not_found
+if not exists %LOCAL_NUGET_REPO% goto err_locnuget_not_found
+rem ** cleanup **
+rmdir /s /q bin\debug
+
+%nuget%
+
+rem ** build **
+dotnet pack -c Debug
+
+for %i in (bin\debug) do nuget 
+
+goto done
+
+:err_bin_not_found
+echo ERR: missing 'bin' directory in current location
+goto exit
+
+:err_locnuget_not_found
+echo ERR: cannot access directory stored in enviromental variable 'LOCAL_NUGET_REPO' or path is invalid.
+goto exit
+
+:done
+echo *** DONE ***
+:exit

+ 40 - 21
Common/qdr.fnd.core/qdr.fnd.core.csproj

@@ -1,21 +1,40 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <TargetFramework>net7.0</TargetFramework>
-    <SignAssembly>true</SignAssembly>
-    <AssemblyOriginatorKeyFile>..\bo_strong_key_pair.snk</AssemblyOriginatorKeyFile>
-    <DelaySign>false</DelaySign>
-    <RootNamespace>Quadarax.Foundation.Core</RootNamespace>
-    <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <Folder Include="Data\Extensions\" />
-    <Folder Include="Mapper\" />
-  </ItemGroup>
-
-  <ItemGroup>
-    <PackageReference Include="System.IO.Abstractions" Version="19.2.69" />
-  </ItemGroup>
-
-</Project>
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <TargetFramework>net7.0</TargetFramework>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyOriginatorKeyFile>..\bo_strong_key_pair.snk</AssemblyOriginatorKeyFile>
+    <DelaySign>false</DelaySign>
+    <RootNamespace>Quadarax.Foundation.Core</RootNamespace>
+    <ApplicationIcon>..\quadarax_dll.ico</ApplicationIcon>
+    <Title>Quadarax.Foundation.Core</Title>
+    <Authors>Dalibor Votruba</Authors>
+    <Company>Quadarax</Company>
+    <Product>Quadarax.Foundation</Product>
+    <Description>Core library with general pattern implementations and patterns</Description>
+    <Copyright>Copyright © 2023 Quadarax</Copyright>
+    <PackageIcon>quadarax_dll.png</PackageIcon>
+    <PackageTags>QDR;FND;CORE</PackageTags>
+    <AssemblyVersion>0.0.1.0</AssemblyVersion>
+    <FileVersion>0.0.1.0</FileVersion>
+    <Version>0.0.1.0-alpha</Version>
+
+  </PropertyGroup>
+
+  <ItemGroup>
+    <Folder Include="Data\Extensions\" />
+    <Folder Include="Mapper\" />
+  </ItemGroup>
+
+  <ItemGroup>
+    <None Include="..\quadarax_dll.png">
+      <Pack>True</Pack>
+      <PackagePath>\</PackagePath>
+    </None>
+  </ItemGroup>
+
+  <ItemGroup>
+    <PackageReference Include="System.IO.Abstractions" Version="19.2.69" />
+  </ItemGroup>
+
+</Project>

BIN
Common/quadarax_dll.png