Explorar el Código

Class Libraries now create Nuget Packages when in release mode

frogsoftware hace 2 semanas
padre
commit
f08e36345c
Se han modificado 31 ficheros con 159 adiciones y 5 borrados
  1. 4 3
      InABox.Avalonia.Platform.Android/InABox.Avalonia.Platform.Android.csproj
  2. 5 0
      InABox.Avalonia.Platform.Desktop/InABox.Avalonia.Platform.Desktop.csproj
  3. 5 0
      InABox.Avalonia.Platform/InABox.Avalonia.Platform.csproj
  4. 5 0
      InABox.Avalonia/InABox.Avalonia.csproj
  5. 5 0
      InABox.Client.Local/InABox.Client.Local.csproj
  6. 5 0
      InABox.Client.RPC/InABox.Client.RPC.csproj
  7. 2 1
      InABox.Core/InABox.Core.csproj
  8. 5 0
      InABox.Database/InABox.Database.csproj
  9. 5 0
      InABox.Formatters.Core/InABox.Formatters.Core.csproj
  10. 5 0
      InABox.Integration.Logikal/InABox.Integration.Logikal.csproj
  11. 5 0
      InABox.Integration.V6/InABox.Integration.V6.csproj
  12. 5 0
      InABox.Integration/InABox.Integration.csproj
  13. 5 0
      InABox.Logging/InABox.Logging.csproj
  14. 5 0
      InABox.Poster.CSV/InABox.Poster.CSV.csproj
  15. 5 0
      InABox.Poster.MYOB/InABox.Poster.MYOB.csproj
  16. 6 0
      InABox.Poster.Xero/InABox.Poster.Xero.csproj
  17. 5 0
      InABox.RPC.Shared/InABox.RPC.Shared.csproj
  18. 6 0
      InABox.SMSProviders/InABox.SMSProviders.csproj
  19. 6 0
      InABox.Server/InABox.Server.csproj
  20. 5 0
      inabox.client.ipc/InABox.Client.IPC.csproj
  21. 6 0
      inabox.client.rest/InABox.Client.Rest/InABox.Client.Rest.csproj
  22. 5 0
      inabox.database.sqlite/InABox.Database.SQLite.csproj
  23. 5 0
      inabox.databaseproxy/InABox.DatabaseProxy.csproj
  24. 6 1
      inabox.dxf/InABox.Dxf.csproj
  25. 5 0
      inabox.ipc.shared/InABox.IPC.Shared.csproj
  26. 5 0
      inabox.logging.shared/InABox.Logging.Shared.csproj
  27. 6 0
      inabox.mailer.exchange/InABox.Mailer.Exchange.csproj
  28. 6 0
      inabox.mailer.imap/InABox.Mailer.IMAP.csproj
  29. 6 0
      inabox.scripting/InABox.Scripting.csproj
  30. 5 0
      inabox.websocket.shared/InABox.WebSocket.Shared.csproj
  31. 5 0
      inabox.wpf/InABox.Wpf.csproj

+ 4 - 3
InABox.Avalonia.Platform.Android/InABox.Avalonia.Platform.Android.csproj

@@ -13,9 +13,10 @@
     <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
       <DefineConstants>TRACE;ANDROID</DefineConstants>
     </PropertyGroup>
-
-    <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
-      <DefineConstants>TRACE;ANDROID</DefineConstants>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
     </PropertyGroup>
 
     <ItemGroup>

+ 5 - 0
InABox.Avalonia.Platform.Desktop/InABox.Avalonia.Platform.Desktop.csproj

@@ -9,6 +9,11 @@
         <EnableMsixTooling>true</EnableMsixTooling>
     </PropertyGroup>
 
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
       <ProjectReference Include="..\..\3rdpartylibs\BluetoothLENet-master\BluetoothLeNet\BluetoothLeNet.csproj" />
       <ProjectReference Include="..\InABox.Avalonia.Platform\InABox.Avalonia.Platform.csproj" />

+ 5 - 0
InABox.Avalonia.Platform/InABox.Avalonia.Platform.csproj

@@ -9,6 +9,11 @@
         <Platforms>AnyCPU</Platforms>
     </PropertyGroup>
 
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
       <PackageReference Include="Autofac" Version="8.4.0" />
       <PackageReference Include="Avalonia" Version="11.3.2" />

+ 5 - 0
InABox.Avalonia/InABox.Avalonia.csproj

@@ -10,6 +10,11 @@
         <TargetFrameworks>net8.0;net9.0</TargetFrameworks>
     </PropertyGroup>
 
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
       <None Remove="Images\cross.svg" />
       <None Remove="Images\move.svg" />

+ 5 - 0
InABox.Client.Local/InABox.Client.Local.csproj

@@ -5,6 +5,11 @@
         <ImplicitUsings>enable</ImplicitUsings>
         <Nullable>enable</Nullable>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
         <ProjectReference Include="..\InABox.Database\InABox.Database.csproj" />

+ 5 - 0
InABox.Client.RPC/InABox.Client.RPC.csproj

@@ -7,6 +7,11 @@
         <Configurations>Debug;Release;Publish</Configurations>
         <Platforms>AnyCPU</Platforms>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
       <ProjectReference Include="..\InABox.Formatters.Core\InABox.Formatters.Core.csproj" />

+ 2 - 1
InABox.Core/InABox.Core.csproj

@@ -14,8 +14,9 @@
 
 	<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 	  <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
 	</PropertyGroup>
-
+    
     <ItemGroup>
         <Compile Remove="InABox.Logging.Shared\**" />
         <EmbeddedResource Remove="InABox.Logging.Shared\**" />

+ 5 - 0
InABox.Database/InABox.Database.csproj

@@ -5,6 +5,11 @@
         <ImplicitUsings>enable</ImplicitUsings>
         <Nullable>enable</Nullable>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
         <PackageReference Include="FluentResults" Version="4.0.0" />

+ 5 - 0
InABox.Formatters.Core/InABox.Formatters.Core.csproj

@@ -4,6 +4,11 @@
         <RootNamespace>InABox.Formatters.MessagePack</RootNamespace>
         <TargetFramework>netstandard2.0</TargetFramework>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
       <PackageReference Include="H.Formatters" Version="15.0.0" />

+ 5 - 0
InABox.Integration.Logikal/InABox.Integration.Logikal.csproj

@@ -6,6 +6,11 @@
         <LangVersion>7.3</LangVersion>
         <TargetFramework>netstandard2.0</TargetFramework>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
       <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

+ 5 - 0
InABox.Integration.V6/InABox.Integration.V6.csproj

@@ -4,6 +4,11 @@
         <TargetFramework>netstandard2.0</TargetFramework>
     </PropertyGroup>
 
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
       <ProjectReference Include="..\InABox.Integration\InABox.Integration.csproj" />
     </ItemGroup>

+ 5 - 0
InABox.Integration/InABox.Integration.csproj

@@ -7,4 +7,9 @@
         <Platforms>AnyCPU</Platforms>
     </PropertyGroup>
 
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
 </Project>

+ 5 - 0
InABox.Logging/InABox.Logging.csproj

@@ -6,6 +6,11 @@
         <TargetFramework>net6.0</TargetFramework>
         <LangVersion>10</LangVersion>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
         <Compile Remove="archive\**" />

+ 5 - 0
InABox.Poster.CSV/InABox.Poster.CSV.csproj

@@ -6,6 +6,11 @@
 		<Nullable>enable</Nullable>
 		<UseWPF>true</UseWPF>
 	</PropertyGroup>
+	
+	<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+		<DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+		<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+	</PropertyGroup>
 
 	<ItemGroup>
 	  <PackageReference Include="CsvHelper" Version="32.0.3" />

+ 5 - 0
InABox.Poster.MYOB/InABox.Poster.MYOB.csproj

@@ -6,6 +6,11 @@
     <Nullable>enable</Nullable>
 	  <UseWpf>true</UseWpf>
   </PropertyGroup>
+  
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+  </PropertyGroup>
 
   <ItemGroup>
     <PackageReference Include="Fody" Version="6.8.1">

+ 6 - 0
InABox.Poster.Xero/InABox.Poster.Xero.csproj

@@ -5,6 +5,12 @@
 		<Nullable>enable</Nullable>
 		<UseWPF>true</UseWPF>
 	</PropertyGroup>
+	
+	<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+		<DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+		<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+	</PropertyGroup>
+	
 	<ItemGroup>
 	  <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2592.51" />
 	  <PackageReference Include="Xero.NetStandard.OAuth2" Version="12.4.0" />

+ 5 - 0
InABox.RPC.Shared/InABox.RPC.Shared.csproj

@@ -7,6 +7,11 @@
         <Configurations>Debug;Release;Publish</Configurations>
         <Platforms>AnyCPU</Platforms>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
       <ProjectReference Include="..\InABox.Core\InABox.Core.csproj" />

+ 6 - 0
InABox.SMSProviders/InABox.SMSProviders.csproj

@@ -6,6 +6,12 @@
         <Nullable>enable</Nullable>
     </PropertyGroup>
 
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
       <ProjectReference Include="..\inabox.logging.shared\InABox.Logging.Shared.csproj" />
       <ProjectReference Include="..\inabox.mailer.exchange\InABox.Mailer.Exchange.csproj" />

+ 6 - 0
InABox.Server/InABox.Server.csproj

@@ -6,6 +6,12 @@
         <Nullable>enable</Nullable>
         <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+    
     <ItemGroup>
         <PackageReference Include="Fleck" Version="1.2.0" />
         <PackageReference Include="GenHTTP.Core" Version="8.4.1" />

+ 5 - 0
inabox.client.ipc/InABox.Client.IPC.csproj

@@ -5,6 +5,11 @@
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
   </PropertyGroup>
+  
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+  </PropertyGroup>
 
   <ItemGroup>
     <PackageReference Include="H.Formatters.MessagePack" Version="15.0.0" />

+ 6 - 0
inabox.client.rest/InABox.Client.Rest/InABox.Client.Rest.csproj

@@ -6,6 +6,12 @@
         <Nullable>enable</Nullable>
     </PropertyGroup>
 
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
       <PackageReference Include="RestSharp" Version="111.2.0" />
     </ItemGroup>

+ 5 - 0
inabox.database.sqlite/InABox.Database.SQLite.csproj

@@ -5,6 +5,11 @@
         <ImplicitUsings>enable</ImplicitUsings>
         <Nullable>enable</Nullable>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
       <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>

+ 5 - 0
inabox.databaseproxy/InABox.DatabaseProxy.csproj

@@ -5,6 +5,11 @@
         <ImplicitUsings>enable</ImplicitUsings>
         <Nullable>enable</Nullable>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
         <Compile Remove="archive\**" />

+ 6 - 1
inabox.dxf/InABox.Dxf.csproj

@@ -5,7 +5,12 @@
         <ImplicitUsings>enable</ImplicitUsings>
         <Nullable>enable</Nullable>
     </PropertyGroup>
-
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+    
     <ItemGroup>
         <PackageReference Include="netDxf.netstandard" Version="3.0.1" />
         <PackageReference Include="Svg" Version="3.4.7" />

+ 5 - 0
inabox.ipc.shared/InABox.IPC.Shared.csproj

@@ -6,6 +6,11 @@
     <Nullable>enable</Nullable>
   </PropertyGroup>
 
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+  </PropertyGroup>
+
   <ItemGroup>
     <ProjectReference Include="..\InABox.Database\InABox.Database.csproj" />
     <ProjectReference Include="..\InABox.Formatters.Core\InABox.Formatters.Core.csproj" />

+ 5 - 0
inabox.logging.shared/InABox.Logging.Shared.csproj

@@ -8,6 +8,11 @@
         <Platforms>AnyCPU</Platforms>
     </PropertyGroup>
 
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
         <DefineConstants>TRACE</DefineConstants>
     </PropertyGroup>

+ 6 - 0
inabox.mailer.exchange/InABox.Mailer.Exchange.csproj

@@ -6,6 +6,12 @@
         <Nullable>enable</Nullable>
     </PropertyGroup>
 
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
         <Compile Remove="archive\**" />
     </ItemGroup>

+ 6 - 0
inabox.mailer.imap/InABox.Mailer.IMAP.csproj

@@ -6,6 +6,12 @@
         <Nullable>enable</Nullable>
     </PropertyGroup>
 
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
         <Compile Remove="archive\**" />
     </ItemGroup>

+ 6 - 0
inabox.scripting/InABox.Scripting.csproj

@@ -5,6 +5,12 @@
         <Nullable>enable</Nullable>
     </PropertyGroup>
 
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
     <ItemGroup>
         <PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />
         <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" />

+ 5 - 0
inabox.websocket.shared/InABox.WebSocket.Shared.csproj

@@ -4,6 +4,11 @@
     <TargetFramework>netstandard2.1</TargetFramework>
     <Nullable>enable</Nullable>
   </PropertyGroup>
+  
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+  </PropertyGroup>
 
   <ItemGroup>
     <ProjectReference Include="..\InABox.Core\InABox.Core.csproj" />

+ 5 - 0
inabox.wpf/InABox.Wpf.csproj

@@ -6,6 +6,11 @@
         <UseWpf>true</UseWpf>
         <LangVersion>default</LangVersion>
     </PropertyGroup>
+    
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
     <ItemGroup>
         <Compile Remove="archive\**" />