Sdk: Project configuration

This commit is contained in:
Ben Olden-Cooligan 2023-04-29 16:28:41 -07:00
parent 365afce2a4
commit 3c2e6a70a5
8 changed files with 56 additions and 19 deletions

View File

@ -8,8 +8,13 @@
<RootNamespace>NAPS2.Images.Gdi</RootNamespace>
<Title>NAPS2.Images.Gdi</Title>
<Product>NAPS2.Images.Gdi</Product>
<Description>Images based on System.Drawing.Bitmap for NAPS2.Sdk.</Description>
<PackageTags>naps2</PackageTags>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets"/>
<ItemGroup>
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />

View File

@ -7,8 +7,13 @@
<RootNamespace>NAPS2.Images.Gtk</RootNamespace>
<Title>NAPS2.Images.Gtk</Title>
<Product>NAPS2.Images.Gtk</Product>
<Description>Images based on Gdk.Pixbuf for NAPS2.Sdk.</Description>
<PackageTags>naps2</PackageTags>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets"/>
<ItemGroup>
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
<PackageReference Include="GtkSharp" Version="3.24.24.38" />

View File

@ -8,8 +8,13 @@
<RootNamespace>NAPS2.Images.Mac</RootNamespace>
<Title>NAPS2.Images.Mac</Title>
<Product>NAPS2.Images.Mac</Product>
<Description>Images based on AppKit.NSImage for NAPS2.Sdk.</Description>
<PackageTags>naps2</PackageTags>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets"/>
<ItemGroup>
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
<PackageReference Include="Eto.Platform.Mac64" Version="2.7.2" Condition="'$(TargetFramework)' == 'net6'" />

View File

@ -9,8 +9,13 @@
<Optimize>true</Optimize>
<Title>NAPS2.Images</Title>
<Product>NAPS2.Images</Product>
<Description>Base image abstraction for NAPS2.Sdk. Don't reference this project directly.</Description>
<PackageTags>naps2</PackageTags>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets"/>
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />

View File

@ -6,8 +6,13 @@
<RootNamespace>NAPS2</RootNamespace>
<Title>NAPS2.Internals</Title>
<Product>NAPS2.Internals</Product>
<Description>Internal code for NAPS2.Sdk. Don't reference this project directly.</Description>
<PackageTags>naps2</PackageTags>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets"/>
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />

View File

@ -1,27 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6</TargetFramework>
<TargetFrameworks>net462;net6</TargetFrameworks>
<RootNamespace>NAPS2.Sdk.Worker</RootNamespace>
<AssemblyName>NAPS2.Sdk.Worker</AssemblyName>
<Title>NAPS2.Sdk.Worker</Title>
<Product>NAPS2.Sdk.Worker</Product>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Ben Olden-Cooligan</Authors>
<Description>Worker process for NAPS2.Sdk</Description>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<!-- <PackageReadmeFile>README.md</PackageReadmeFile>-->
<RepositoryUrl>https://github.com/cyanfish/naps2</RepositoryUrl>
<PackageProjectUrl>https://github.com/cyanfish/naps2</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>naps2</PackageTags>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NAPS2.Setup\config\public_signing_key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets"/>
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets"/>
<ItemGroup>
<Compile Remove="*.*"/>
@ -33,8 +25,4 @@
<PackagePath>contentFiles</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE" Pack="true" PackagePath="\"/>
</ItemGroup>
</Project>

View File

@ -7,13 +7,18 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>NAPS2</RootNamespace>
<Title>NAPS2 - Not Another PDF Scanner</Title>
<Product>NAPS2 - Not Another PDF Scanner</Product>
<Configurations>Debug;Release;DebugLang</Configurations>
<Title>NAPS2.Sdk</Title>
<Product>NAPS2.Sdk</Product>
<Description>NAPS2.Sdk is a fully-featured scanning library, supporting WIA, TWAIN, SANE, and ESCL scanners on Windows, Mac, and Linux.</Description>
<PackageTags>naps2 sdk scanner wia twain sane escl</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets" />
<Import Project="..\NAPS2.Setup\targets\SdkUsers.targets" />
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets" />
<PropertyGroup Condition="'$(TargetFramework)' == 'net6-macos10.15'">
<DefineConstants>MAC</DefineConstants>
@ -74,9 +79,9 @@
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
<ProjectReference Include="..\NAPS2.Internals\NAPS2.Internals.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="ImportExport\Email\Oauth" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>

View File

@ -0,0 +1,19 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PackageVersion>0.1.0-alpha01</PackageVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Ben Olden-Cooligan</Authors>
<Company>NAPS2 Software</Company>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryUrl>https://github.com/cyanfish/naps2</RepositoryUrl>
<PackageProjectUrl>https://github.com/cyanfish/naps2</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<ItemGroup>
<None Include="LICENSE" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>