muqing
f21ffd521a
在 `App.xaml.cs` 文件中,捕获 `Exception` 异常时,添加了调试输出信息,输出内容为“发生未知错误: ”加上异常信息。 在 `EditorWin.xaml` 文件中,将 `TreeView` 的 `CanReorderItems` 属性从 `True` 修改为 `False`。 在 `EditorWin.xaml` 文件中,`TabView` 控件添加了 `AddTabButtonClick` 和 `TabCloseRequested` 事件处理程序,并将 `IsAddTabButtonVisible` 属性设置为 `False`。 在 `EditorWin.xaml.cs` 文件中,添加了 `MyTabView_AddTabButtonClick` 和 `MyTabView_TabCloseRequested` 方法,用于处理添加和关闭选项卡的事件。 在 `RustTools.csproj` 文件中,调整了注释的格式,使其在 VS Code 中显示正确的图标,并调整了 `ItemGroup` 的格式。
56 lines
2.4 KiB
XML
56 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
<RootNamespace>RustTools</RootNamespace>
|
|
<Platform>x64</Platform>
|
|
<Platforms>x86;x64;arm64</Platforms>
|
|
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
|
|
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<UseWinUI>true</UseWinUI>
|
|
<EnableMsixTooling>true</EnableMsixTooling>
|
|
<AssemblyName>RustTools</AssemblyName>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<PackageIcon>tool.png</PackageIcon>
|
|
<ApplicationIcon>Assets\WindowIcon.ico</ApplicationIcon>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<DefaultLanguage>zh-cn</DefaultLanguage>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
|
<PackageReference Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.0.240109" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
|
|
<PackageReference Include="RestClient" Version="3.1024.23771" />
|
|
<PackageReference Include="RestSharp" Version="111.4.0" />
|
|
<PackageReference Include="squirrel.windows" Version="2.0.1" />
|
|
<PackageReference Include="System.Management" Version="8.0.0" />
|
|
<PackageReference Include="TinyPinyin" Version="1.1.0" />
|
|
<PackageReference Include="WinUIEx" Version="2.3.2" />
|
|
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.7" />
|
|
<!--<PackageReference
|
|
Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />-->
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
|
|
|
|
<Manifest Include="$(ApplicationManifest)" />
|
|
</ItemGroup>
|
|
|
|
<!--在vs
|
|
code 中必须加上不然没有任何图标-->
|
|
<ItemGroup>
|
|
<Content Include="Assets\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup
|
|
Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
|
<ProjectCapability Include="Msix" />
|
|
</ItemGroup>
|
|
|
|
</Project> |