164 lines
6.1 KiB
XML
164 lines
6.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net462</TargetFramework>
|
|
<Platforms>x86;x64</Platforms>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Work</RootNamespace>
|
|
<AssemblyName>29WxOrderWork</AssemblyName>
|
|
<LangVersion>12</LangVersion>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<Deterministic>true</Deterministic>
|
|
<UseWPF>true</UseWPF>
|
|
|
|
<!-- Properties\AssemblyInfo.cs already contains assembly attributes,
|
|
so disable the SDK's auto-generated AssemblyInfo to avoid duplicates. -->
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
|
|
<!-- Match original output location -->
|
|
<!--<BaseOutputPath>..\Bin\</BaseOutputPath>-->
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendPlatformToOutputPath>false</AppendPlatformToOutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x86'">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<LangVersion>12</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Framework assemblies not already implied by UseWindowsForms -->
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="System.IO.Compression.FileSystem" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Local (non-NuGet) assembly references -->
|
|
<Reference Include="DevComponents.DotNetBar2">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\DllReference\DevComponents.DotNetBar2.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="NaiBa.CefHelper.138">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\DllReference\NaiBa.CefHelper.138.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="NaiBa.Util">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\DllReference\NaiBa.Util.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="NaiBa.Util.Winform">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\DllReference\NaiBa.Util.Winform.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CefSharp.Common" Version="138.0.340" />
|
|
<PackageReference Include="CefSharp.WinForms" Version="138.0.340" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
|
|
<PackageReference Include="WPFCommon" Version="1.1.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AllBase\29WxOrderAllBase.csproj" />
|
|
<ProjectReference Include="..\WxOrder.Framework\WxOrder.Framework.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
SDK-style projects glob all .cs files (**/*.cs) and .resx files (**/*.resx)
|
|
automatically, so the previous explicit <Compile Include="..."/> list and
|
|
the per-form <EmbeddedResource Include="..."><DependentUpon>...</DependentUpon>
|
|
entries have been removed. Visual Studio still nests Form.cs / Form.Designer.cs /
|
|
Form.resx together in Solution Explorer based on the standard naming
|
|
convention, with no metadata required.
|
|
|
|
Properties\Resources.resx keeps its strongly-typed code generator below;
|
|
the SDK's default glob already includes the .resx as EmbeddedResource, so
|
|
"Update" (not "Include") is used to just attach the generator metadata.
|
|
-->
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Image/icon assets under Resources\ need explicit Build Actions
|
|
(Resource / Content / None) that differ from the SDK's default "None"
|
|
glob, so the folder is excluded from the default glob first and then
|
|
re-added here with the original Build Actions preserved.
|
|
-->
|
|
<ItemGroup>
|
|
<None Remove="Resources\**" />
|
|
|
|
<Resource Include="Resources\29wx.ico" />
|
|
|
|
<Content Include="Resources\BaseMsgErr.png" />
|
|
<Content Include="Resources\BaseMsgInfo.png" />
|
|
<Content Include="Resources\BaseMsgQue.png" />
|
|
<Content Include="Resources\btncheckoff1.png" />
|
|
<Content Include="Resources\btncheckon1.png" />
|
|
<Content Include="Resources\close.hover.png" />
|
|
<Content Include="Resources\close.png" />
|
|
<Content Include="Resources\errpic.png" />
|
|
<Content Include="Resources\loading_blue.gif" />
|
|
<Content Include="Resources\max.hover.png" />
|
|
<Content Include="Resources\max.png" />
|
|
<Content Include="Resources\min.hover.png" />
|
|
<Content Include="Resources\min.png" />
|
|
<Content Include="Resources\normal.hover.png" />
|
|
<Content Include="Resources\normal.png" />
|
|
<Content Include="Resources\weixin_icon.png" />
|
|
<Content Include="Resources\x-2.0.png" />
|
|
<Content Include="Resources\x-2.1.png" />
|
|
<Content Include="Resources\x-3.0.png" />
|
|
<Content Include="Resources\x-3.1.png" />
|
|
<Content Include="Resources\x-4.0.png" />
|
|
<Content Include="Resources\x-4.1.png" />
|
|
<Content Include="Resources\x-5.0.png" />
|
|
<Content Include="Resources\x-5.1.png" />
|
|
<Content Include="Resources\x-6.0.png" />
|
|
<Content Include="Resources\x-6.1.png" />
|
|
|
|
<None Include="Resources\icon.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Views\" />
|
|
<Folder Include="ViewModels\" />
|
|
</ItemGroup>
|
|
|
|
<!-- app.config is picked up automatically by the SDK's default None glob
|
|
and MSBuild's app.config handling (based on the filename), so no
|
|
explicit item is needed. packages.config is no longer used since
|
|
NuGet packages are declared as PackageReference above. -->
|
|
|
|
</Project> |