mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-22 05:10:29 +03:00
254 lines
12 KiB
XML
254 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.21022</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{EAC4A133-93BE-4400-BFA9-CEB1615693C4}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>NAPS2</RootNamespace>
|
|
<AssemblyName>NAPS2</AssemblyName>
|
|
<ApplicationIcon>scanner-app.ico</ApplicationIcon>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<UpgradeBackupLocation>
|
|
</UpgradeBackupLocation>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<RestorePackages>true</RestorePackages>
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<WebPage>publish.htm</WebPage>
|
|
<AutorunEnabled>true</AutorunEnabled>
|
|
<ApplicationRevision>5</ApplicationRevision>
|
|
<ApplicationVersion>0.9.0.%2a</ApplicationVersion>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
<LangVersion>latest</LangVersion>
|
|
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ManifestCertificateThumbprint>C8F5581951AECD73BCA215500C4A83D3DCBE30C2</ManifestCertificateThumbprint>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ManifestKeyFile>NAPS_TemporaryKey.pfx</ManifestKeyFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<GenerateManifests>false</GenerateManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignManifests>false</SignManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<TargetZone>LocalIntranet</TargetZone>
|
|
</PropertyGroup>
|
|
<PropertyGroup />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerEXE|x86'">
|
|
<OutputPath>bin\InstallerEXE\</OutputPath>
|
|
<DefineConstants>TRACE;INSTALLER INSTALLER_EXE</DefineConstants>
|
|
<Optimize>false</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerMSI|x86'">
|
|
<OutputPath>bin\InstallerMSI\</OutputPath>
|
|
<DefineConstants>TRACE;INSTALLER INSTALLER_MSI</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Standalone|x86' ">
|
|
<OutputPath>bin\Standalone\</OutputPath>
|
|
<DefineConstants>TRACE;STANDALONE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLang|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\DebugLang\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLang|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\DebugLang\</OutputPath>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Deployment" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.IO, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Microsoft.Bcl.1.1.8\lib\net40\System.IO.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Net" />
|
|
<Reference Include="System.Runtime, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Microsoft.Bcl.1.1.8\lib\net40\System.Runtime.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.Threading.Tasks, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Microsoft.Bcl.1.1.8\lib\net40\System.Threading.Tasks.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<EmbeddedResource Include="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<Compile Include="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
<DesignTime>True</DesignTime>
|
|
</Compile>
|
|
<None Include="App.config" />
|
|
<None Include="packages.config" />
|
|
<None Include="Properties\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
</None>
|
|
<Compile Include="Properties\Settings.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
<None Include="Setup\Build-Test.ps1" />
|
|
<None Include="Setup\Test-Lang.ps1" />
|
|
<None Include="Setup\LanguageComponents.tt">
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
<LastGenOutput>LanguageComponents.wxs</LastGenOutput>
|
|
</None>
|
|
<None Include="Setup\license.rtf" />
|
|
<None Include="Setup\naps2.ps1" />
|
|
<None Include="Setup\ps.bat" />
|
|
<None Include="Setup\Publish-NAPS2.ps1" />
|
|
<None Include="Setup\setup.languagefiles.tt">
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
<LastGenOutput>setup.languagefiles.iss</LastGenOutput>
|
|
</None>
|
|
<None Include="Setup\Update-Resources.ps1" />
|
|
<None Include="Setup\Update-Templates.ps1" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="appsettings.xml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<SubType>Designer</SubType>
|
|
</Content>
|
|
<Content Include="Setup\LanguageComponents.wxs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>LanguageComponents.tt</DependentUpon>
|
|
</Content>
|
|
<Content Include="Setup\lib\64\twaindsm.dll" />
|
|
<Content Include="Setup\lib\NTwain.dll" />
|
|
<Content Include="Setup\lib\twaindsm.dll" />
|
|
<Content Include="Setup\setup.iss" />
|
|
<Content Include="Setup\setup.languagefiles.iss">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>setup.languagefiles.tt</DependentUpon>
|
|
</Content>
|
|
<None Include="Setup\lib\Interop.WIA.dll" />
|
|
<None Include="Setup\lib\PdfSharp.dll" />
|
|
<Content Include="scanner-app.ico" />
|
|
<Content Include="Setup\license.txt" />
|
|
<None Include="Setup\lib\wiaaut.dll" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NAPS2.Core\NAPS2.Core.csproj">
|
|
<Project>{968378fa-a649-4058-a928-1fcd97b23070}</Project>
|
|
<Name>NAPS2.Core</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\NAPS2.DI\NAPS2.DI.csproj">
|
|
<Project>{4d349529-149b-498b-8a55-373e6a67e1f0}</Project>
|
|
<Name>NAPS2.DI</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\NAPS2.Worker\NAPS2.Worker.csproj">
|
|
<Project>{ba9a65a0-00fe-4bf4-a023-7d804817453f}</Project>
|
|
<Name>NAPS2.Worker</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
|
<PropertyGroup>
|
|
<PostBuildEvent Condition="'$(OS)' == 'Windows_NT'">call "%25vsappiddir%25..\..\VC\Auxiliary\Build\vcvars32.bat" x86
|
|
editbin /LARGEADDRESSAWARE "$(TargetPath)"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
|
|
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
|
|
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
|
|
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
|
|
</Target>
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
<Import Project="..\NAPS2\Setup\CommonTargets.targets"/>
|
|
</Project> |