mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-21 12:49:43 +03:00
245 lines
12 KiB
XML
245 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.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.6.1</TargetFrameworkVersion>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<TargetFrameworkProfile>
|
|
</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>8</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>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerEXE|AnyCPU'">
|
|
<OutputPath>bin\InstallerEXE\</OutputPath>
|
|
<DefineConstants>TRACE;INSTALLER INSTALLER_EXE</DefineConstants>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerMSI|AnyCPU'">
|
|
<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|AnyCPU'">
|
|
<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|AnyCPU'">
|
|
<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>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Deployment" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Net" />
|
|
<Reference Include="System.ServiceModel" />
|
|
<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>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="appsettings.xml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<SubType>Designer</SubType>
|
|
</Content>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\dbg\win64\NAPS2.WIA.dll">
|
|
<CopyToOutputDirectory Condition=" '$(Configuration)' == 'Debug' Or '$(Configuration)' == 'DebugLang' ">PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\dbg\win64\NAPS2.WIA.dll</Link>
|
|
<TargetPath>_win64\NAPS2.WIA.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\win64\NAPS2.WIA.dll">
|
|
<CopyToOutputDirectory Condition=" '$(Configuration)' != 'Debug' And '$(Configuration)' != 'DebugLang' ">PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\win64\NAPS2.WIA.dll</Link>
|
|
<TargetPath>_win64\NAPS2.WIA.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\dbg\win32\NAPS2.WIA.dll">
|
|
<CopyToOutputDirectory Condition=" '$(Configuration)' == 'Debug' Or '$(Configuration)' == 'DebugLang' ">PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\dbg\win32\NAPS2.WIA.dll</Link>
|
|
<TargetPath>_win32\NAPS2.WIA.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\win32\NAPS2.WIA.dll">
|
|
<CopyToOutputDirectory Condition=" '$(Configuration)' != 'Debug' And '$(Configuration)' != 'DebugLang' ">PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\win32\NAPS2.WIA.dll</Link>
|
|
<TargetPath>_win32\NAPS2.WIA.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\win64\pdfium.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\win64\pdfium.dll</Link>
|
|
<TargetPath>_win64\pdfium.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\win32\pdfium.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\win32\pdfium.dll</Link>
|
|
<TargetPath>_win32\pdfium.dll</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\linux\libpdfium.so">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\linux\libpdfium.so</Link>
|
|
<TargetPath>_linux\libpdfium.so</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<ContentWithTargetPath Include="..\NAPS2.Setup\lib\osx\libpdfium.dylib">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Link>lib\osx\libpdfium.dylib</Link>
|
|
<TargetPath>_osx\libpdfium.dylib</TargetPath>
|
|
</ContentWithTargetPath>
|
|
<Content Include="scanner-app.ico" />
|
|
</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.App.Worker\NAPS2.App.Worker.csproj">
|
|
<Project>{ba9a65a0-00fe-4bf4-a023-7d804817453f}</Project>
|
|
<Name>NAPS2.App.Worker</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\NAPS2.Lib.Common\NAPS2.Lib.Common.csproj">
|
|
<Project>{4d349529-149b-498b-8a55-373e6a67e1f0}</Project>
|
|
<Name>NAPS2.Lib.Common</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\NAPS2.Lib.WinForms\NAPS2.Lib.WinForms.csproj">
|
|
<Project>{95a03b74-a235-42a4-a433-e3884e180be4}</Project>
|
|
<Name>NAPS2.Lib.WinForms</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\NAPS2.Sdk\NAPS2.Sdk.csproj">
|
|
<Project>{968378fa-a649-4058-a928-1fcd97b23070}</Project>
|
|
<Name>NAPS2.Sdk</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>
|
|
<LargeAddressAware>true</LargeAddressAware>
|
|
</PropertyGroup>
|
|
<!-- 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" />
|
|
<Import Project="..\packages\LargeAddressAware.1.0.3\build\LargeAddressAware.targets" Condition="Exists('..\packages\LargeAddressAware.1.0.3\build\LargeAddressAware.targets')" />
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>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=322105.The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('..\packages\LargeAddressAware.1.0.3\build\LargeAddressAware.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LargeAddressAware.1.0.3\build\LargeAddressAware.targets'))" />
|
|
</Target>
|
|
</Project> |