Sfoglia il codice sorgente

Tweaks for Release Mode builds

frogsoftware 3 settimane fa
parent
commit
f9ecfc64d0

+ 12 - 6
BluetoothLENet-master/BluetoothLeNet/BluetoothLeNet.csproj

@@ -1,11 +1,17 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
-  <PropertyGroup>
-    <OutputType>Library</OutputType>
-    <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>   
-    <ImplicitUsings>enable</ImplicitUsings>
-    <Nullable>enable</Nullable>
-  </PropertyGroup>
+    <PropertyGroup>
+        <OutputType>Library</OutputType>
+        <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>   
+        <ImplicitUsings>enable</ImplicitUsings>
+        <Nullable>enable</Nullable>
+    </PropertyGroup>
+
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
 
   <ItemGroup>
     <None Include="..\.editorconfig" Link=".editorconfig" />

+ 8 - 12
fastreports.wpf/FastReport.WPF/FastReport.WPF.csproj

@@ -12,8 +12,8 @@
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
     <SignAssembly>false</SignAssembly>
     <AssemblyOriginatorKeyFile>..\FastReport.Net.snk</AssemblyOriginatorKeyFile>
-    <PackageIcon>.\frlogo192.png</PackageIcon>
-    <PackageLicenseFile>.\license.md</PackageLicenseFile>
+<!--    <PackageIcon>.\frlogo192.png</PackageIcon>-->
+<!--    <PackageLicenseFile>.\license.md</PackageLicenseFile>-->
 
     <FastReportFormsWPFProj>..\FastReport.Forms.WPF\FastReport.Forms.WPF.csproj</FastReportFormsWPFProj>
     <FastReportCompatWPFProj>..\FastReport.Compat\FastReport.Compat.WPF\FastReport.Compat.WPF.csproj</FastReportCompatWPFProj>
@@ -21,6 +21,12 @@
     <TargetFramework>net8.0-windows</TargetFramework>
   </PropertyGroup>
 
+
+    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+        <DefineConstants>$(DefineConstants)TRACE;PURGE</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+
   <PropertyGroup>
     <Title>FastReport</Title>
     <Description>FastReport WPF will help you generate reports and documents with all the advantages of Windows Presentation Foundation (WPF). Develop your business applications to meet the needs of your enterprise on Desktop and WEB platforms. It supports .NET Framework, .NET 6+</Description>
@@ -183,16 +189,6 @@
   </Target>
 
   <ItemGroup>
-    <None Include="..\license.md">
-      <Pack>True</Pack>
-      <Visible>false</Visible>
-      <PackagePath></PackagePath>
-    </None>
-    <None Include="..\Pack\frlogo192.png">
-      <Pack>True</Pack>
-      <Visible>false</Visible>
-      <PackagePath></PackagePath>
-    </None>
     <None Include="..\Pack\$(PackageId)\**">
       <Visible>false</Visible>
       <Pack>True</Pack>