From 25b612633ca5ff5e96caf4c7a71b0f77a6f2fd6e Mon Sep 17 00:00:00 2001
From: Eugene Wang <8755753+soukoku@users.noreply.github.com>
Date: Sat, 6 Aug 2022 11:39:23 -0400
Subject: [PATCH] No code change, just added builds for net462 and
net6.0-windows and removed net3.5.
---
Make-package.cmd | 3 +++
NTwain.sln | 7 ++++---
src/NTwain/NTwain.csproj | 26 +++++++++++++++++++-------
3 files changed, 26 insertions(+), 10 deletions(-)
create mode 100644 Make-package.cmd
diff --git a/Make-package.cmd b/Make-package.cmd
new file mode 100644
index 0000000..7564eb9
--- /dev/null
+++ b/Make-package.cmd
@@ -0,0 +1,3 @@
+@echo off
+dotnet build -c Release src/NTwain/NTwain.csproj
+dotnet pack -c Release /p:ContinuousIntegrationBuild=true -o ./build src/NTwain/NTwain.csproj
diff --git a/NTwain.sln b/NTwain.sln
index b77a3d7..f223468 100644
--- a/NTwain.sln
+++ b/NTwain.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.30907.101
+# Visual Studio Version 17
+VisualStudioVersion = 17.2.32630.192
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NTwain", "src\NTwain\NTwain.csproj", "{0C5A6FB1-0282-4D61-8354-68DEB1515001}"
EndProject
@@ -16,6 +16,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{4CE0B9ED-2CD1-440F-B4EC-35ECA6D61EFE}"
ProjectSection(SolutionItems) = preProject
LICENSE.txt = LICENSE.txt
+ Make-package.cmd = Make-package.cmd
README.md = README.md
Spec\twain2.3.h = Spec\twain2.3.h
EndProjectSection
@@ -26,7 +27,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B77C17FE
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.Net5Console", "samples\Sample.Net5Console\Sample.Net5Console.csproj", "{DDEA155C-68E9-4B42-8390-01B060DB25DB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample.Net5Winform", "samples\Sample.Net5Winform\Sample.Net5Winform.csproj", "{5DA59B03-A286-4BC4-9F85-CDE893BB6C6F}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.Net5Winform", "samples\Sample.Net5Winform\Sample.Net5Winform.csproj", "{5DA59B03-A286-4BC4-9F85-CDE893BB6C6F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/src/NTwain/NTwain.csproj b/src/NTwain/NTwain.csproj
index 91c0f2c..1e2e133 100644
--- a/src/NTwain/NTwain.csproj
+++ b/src/NTwain/NTwain.csproj
@@ -2,7 +2,7 @@
NTwain
Library containing the TWAIN API for dotnet.
- net5.0-windows;net40;net35
+ net5.0-windows;net6.0-windows;net462;net40
https://github.com/soukoku/ntwain
twain scan
MIT
@@ -12,11 +12,11 @@
en-US
Eugene Wang
- true
- Sign.snk
+
+
3.0.0.0
- 3.7.1
- 3.7.1
+ 3.7.2
+ 3.7.2
7.1
@@ -33,7 +33,11 @@
true
true
-
+
+ true
+ true
+
+
@@ -41,7 +45,7 @@
-
+
@@ -49,6 +53,14 @@
+
True