技术决策: - VS 2022不支持.NET Framework 4.0和4.5.2 - 升级到4.6.1,获得VS 2022完整支持 - 平衡开发便利性和用户兼容性 版本选择优势: ✅ Visual Studio 2022完全支持 ✅ 大多数Windows 7已安装4.6.1(通过Windows Update) ✅ 更好的性能和安全性 ✅ 现代化开发环境和工具支持 更新内容: - SlideCombine.csproj: 目标框架 4.0 → 4.6.1 - build_win7.bat: 编译脚本更新 - GitHub Actions: 自动构建使用4.6.1 - 版本选择说明.md: 详细解释选择原因 用户体验: - 主流用户:已安装4.6.1,直接使用 - 少数用户:提示安装.NET Framework 4.6.1(40MB) - 安装链接:https://dotnet.microsoft.com/download/dotnet-framework/net461 这是兼顾开发效率和用户体验的最佳平衡点! 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
62 lines
2.4 KiB
XML
62 lines
2.4 KiB
XML
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{12345678-1234-1234-1234-123456789012}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>SlideCombine</RootNamespace>
|
|
<AssemblyName>SlideCombine</AssemblyName>
|
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Deployment" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="BookmarkExtractor.cs" />
|
|
<Compile Include="ContentFormatter.cs" />
|
|
<Compile Include="FileMerger.cs" />
|
|
<Compile Include="Form1.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Form1.Designer.cs">
|
|
<DependentUpon>Form1.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="MetadataModel.cs" />
|
|
<Compile Include="Program.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Form1.resx">
|
|
<DependentUpon>Form1.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="app.ico" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
</Project> |