mirror of
https://github.com/soukoku/ntwain.git
synced 2025-05-07 15:17:46 +08:00
Removed unused dependency on CommonWin32.
This commit is contained in:
parent
15de55c631
commit
3a23f38b24
@ -1,12 +1,10 @@
|
|||||||
using System;
|
using NTwain.Properties;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using NTwain.Values;
|
using NTwain.Values;
|
||||||
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using NTwain.Properties;
|
|
||||||
using System.Security.Permissions;
|
using System.Security.Permissions;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
namespace NTwain.Data
|
namespace NTwain.Data
|
||||||
{
|
{
|
||||||
@ -14,7 +12,7 @@ namespace NTwain.Data
|
|||||||
//// This file contains custom logic added to the twain types.
|
//// This file contains custom logic added to the twain types.
|
||||||
//// Separating the field definitions out makes finding all the
|
//// Separating the field definitions out makes finding all the
|
||||||
//// custom code logic easier. Mostly this is just making the fields
|
//// custom code logic easier. Mostly this is just making the fields
|
||||||
//// checked and .net friendly properties.
|
//// into .net friendly properties.
|
||||||
|
|
||||||
//// potentially unit tests for the twain types only need to target
|
//// potentially unit tests for the twain types only need to target
|
||||||
//// code in this file since everything else is just interop and
|
//// code in this file since everything else is just interop and
|
||||||
|
@ -46,10 +46,6 @@
|
|||||||
<AssemblyOriginatorKeyFile>Sign.snk</AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>Sign.snk</AssemblyOriginatorKeyFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="CommonWin32, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a0a4edcfe233918d, processorArchitecture=MSIL">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>..\packages\CommonWin32.2.0.4\lib\net35-Client\CommonWin32.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
@ -127,7 +123,6 @@
|
|||||||
<None Include="NTwain.nuspec" />
|
<None Include="NTwain.nuspec" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="packages.config" />
|
|
||||||
<None Include="Sign.snk" />
|
<None Include="Sign.snk" />
|
||||||
<None Include="Triplets\WhatsThis.txt" />
|
<None Include="Triplets\WhatsThis.txt" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
<title>$title$</title>
|
<title>$title$</title>
|
||||||
<authors>$author$</authors>
|
<authors>$author$</authors>
|
||||||
<owners>$author$</owners>
|
<owners>$author$</owners>
|
||||||
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
|
<licenseUrl>https://bitbucket.org/soukoku/ntwain/src/15de55c6314f14ab2b1cb22f64397d9487c783d0/LICENSE.txt?at=master</licenseUrl>
|
||||||
<projectUrl>https://bitbucket.org/soukoku/ntwain</projectUrl>
|
<projectUrl>https://bitbucket.org/soukoku/ntwain</projectUrl>
|
||||||
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
|
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>$description$</description>
|
<description>$description$</description>
|
||||||
<releaseNotes>This release is updated for TWAIN 2.3.</releaseNotes>
|
<releaseNotes>V0.8 release is updated for TWAIN 2.3 and contains some renamed types.</releaseNotes>
|
||||||
<copyright>$copyright$</copyright>
|
<copyright>$copyright$</copyright>
|
||||||
<tags>TWAIN</tags>
|
<tags>twain scan</tags>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<file src="bin\$configuration$\$id$.pdb" target="lib\net35-client"/>
|
<file src="bin\$configuration$\$id$.pdb" target="lib\net35-client"/>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using NTwain.Values;
|
||||||
using NTwain.Data;
|
using System;
|
||||||
using NTwain.Values;
|
|
||||||
|
|
||||||
namespace NTwain.Triplets
|
namespace NTwain.Triplets
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
using NTwain.Data;
|
using NTwain.Data;
|
||||||
using NTwain.Values;
|
using NTwain.Values;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace NTwain.Triplets
|
namespace NTwain.Triplets
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using NTwain.Values;
|
||||||
using NTwain.Data;
|
using System;
|
||||||
using NTwain.Values;
|
|
||||||
|
|
||||||
namespace NTwain.Triplets
|
namespace NTwain.Triplets
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Data Group (DG), Data Argument Type (DAT), and Message (MSG)
|
Data Group (DG), Data Argument Type (DAT), and Message (MSG)
|
||||||
triplets. Rather than letting consumers of this lib deal
|
triplets. Rather than letting consumers of this lib deal
|
||||||
with all the combinations themselves and risk passing the
|
with all the combinations themselves and risk passing the
|
||||||
wrong thing, all defined triplet combinations are simply
|
wrong thing, all valid triplet combinations are simply
|
||||||
made available under this namespace.
|
made available under this namespace.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="CommonWin32" version="2.0.4" targetFramework="net35-Client" />
|
|
||||||
</packages>
|
|
@ -1,16 +1,13 @@
|
|||||||
TWAIN Application-Side Library in Dotnet
|
TWAIN Application-Side Library
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
Background
|
Info
|
||||||
--------------------------------------
|
|
||||||
This is a library created to learn more about TWAIN.
|
|
||||||
It's a learning project that should result in real and useful code.
|
|
||||||
|
|
||||||
|
|
||||||
Project Info
|
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
This is a dotnet library created to work with [TWAIN](http://twain.org/) interface on Windows.
|
||||||
This project follows these general goals:
|
This project follows these general goals:
|
||||||
|
|
||||||
* Targets latest TWAIN version (2.3 so far)
|
* Targets latest TWAIN version (2.3 at the moment)
|
||||||
* Supports all the TWAIN commands in the spec (or those that are possible)
|
* Supports all the TWAIN commands in the spec (or those that are possible)
|
||||||
|
|
||||||
|
The solution contains sample projects in both winforms and wpf. A nuget package is also
|
||||||
|
[available here](https://www.nuget.org/packages/ntwain)
|
||||||
|
Loading…
Reference in New Issue
Block a user