| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProjectGuid>{A7E4C1D9-3B62-4F58-9D10-6C2E8F5A1B73}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <RootNamespace>BeiJingComService</RootNamespace>
- <AssemblyName>BeiJingComService</AssemblyName>
- <ApplicationIcon>app.ico</ApplicationIcon>
- <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <Deterministic>true</Deterministic>
- <TargetFrameworkProfile />
- <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <!-- 医保厂商 COM/OCX 组件绝大多数为 32 位,保持 32 位优先;若组件确为 64 位,改为 false -->
- <Prefer32Bit>true</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <Prefer32Bit>true</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
- <DebugSymbols>true</DebugSymbols>
- <OutputPath>bin\x86\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <PlatformTarget>x86</PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
- <OutputPath>bin\x86\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <Optimize>true</Optimize>
- <PlatformTarget>x86</PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Configuration" />
- <Reference Include="System.Configuration.Install" />
- <Reference Include="System.Core" />
- <Reference Include="System.ServiceProcess" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Drawing" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Client\ComClient.cs" />
- <Compile Include="Core\CardReaderFlow.cs" />
- <Compile Include="Core\ComGateway.cs" />
- <Compile Include="Core\ComResult.cs" />
- <Compile Include="Core\DialogTopmostWatcher.cs" />
- <Compile Include="Core\GatewayHost.cs" />
- <Compile Include="Core\IComGateway.cs" />
- <Compile Include="Core\ScanBuffer.cs" />
- <Compile Include="Hosts\IApplicationHost.cs" />
- <Compile Include="Hosts\ProjectInstaller.cs">
- <SubType>Component</SubType>
- </Compile>
- <Compile Include="Hosts\ServiceApplicationHost.cs">
- <SubType>Component</SubType>
- </Compile>
- <Compile Include="Hosts\TrayApplicationHost.cs" />
- <Compile Include="Infrastructure\AppConfig.cs" />
- <Compile Include="Infrastructure\Logger.cs" />
- <Compile Include="Infrastructure\SensitiveDataMasker.cs" />
- <Compile Include="Infrastructure\SingleInstanceGuard.cs" />
- <Compile Include="Infrastructure\TradeLogger.cs" />
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Protocols\HttpProtocol.cs" />
- <Compile Include="Protocols\ITransportProtocol.cs" />
- <Compile Include="WinForms\ScanWatcher.cs" />
- <Compile Include="WinForms\DiagnosticForm.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="WinForms\TrayIconForm.cs">
- <SubType>Form</SubType>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <Content Include="Readme.md" />
- <None Include="App.config" />
- <EmbeddedResource Include="app.ico" />
- <!-- HTML 调试页(托盘「HTML 调试」→ http://127.0.0.1:5001/debug)
- 同时内嵌与随包复制:
- · 内嵌 = 部署漏拷 Html 目录也不会 404(兜底)
- · Content + CopyToOutputDirectory = 现场可直接改 Html\com-debug.html,刷新浏览器即生效 -->
- <EmbeddedResource Include="Html\com-debug.html" />
- <Content Include="Html\com-debug.html">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include=".NETFramework,Version=v4.8">
- <Visible>False</Visible>
- <ProductName>Microsoft .NET Framework 4.8 %28x86 和 x64%29</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- </Project>
|