diff options
author | chai <215380520@qq.com> | 2024-06-03 02:37:00 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2024-06-03 02:37:00 +0800 |
commit | 7f6da09963f256c2451839c53ed7a060d9e3d901 (patch) | |
tree | 4b7c31fb64169943a22921a55d66f90dccd38152 /Projects/Tools/UGEditor/UGEditor.csproj | |
parent | 6ba547fab573a8c0039f84050ba96bee61c5a310 (diff) |
+icon
Diffstat (limited to 'Projects/Tools/UGEditor/UGEditor.csproj')
-rw-r--r-- | Projects/Tools/UGEditor/UGEditor.csproj | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Projects/Tools/UGEditor/UGEditor.csproj b/Projects/Tools/UGEditor/UGEditor.csproj index a7fb71d..bee35ef 100644 --- a/Projects/Tools/UGEditor/UGEditor.csproj +++ b/Projects/Tools/UGEditor/UGEditor.csproj @@ -7,21 +7,35 @@ <TieredCompilation>false</TieredCompilation> </PropertyGroup> <PropertyGroup> + <ApplicationIcon>icon.ico</ApplicationIcon> <ApplicationManifest>app.manifest</ApplicationManifest> - <ApplicationIcon>Icon.ico</ApplicationIcon> + <PackageIcon>icon.png</PackageIcon> </PropertyGroup> <ItemGroup> <None Remove="Icon.ico" /> <None Remove="Icon.bmp" /> </ItemGroup> <ItemGroup> - <EmbeddedResource Include="Icon.ico" /> - <EmbeddedResource Include="Icon.bmp" /> + <Content Include="icon.ico" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Icon.ico"> + <LogicalName>Icon.ico</LogicalName> + </EmbeddedResource> + <EmbeddedResource Include="Icon.bmp"> + <LogicalName>Icon.bmp</LogicalName> + </EmbeddedResource> </ItemGroup> <ItemGroup> <PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.1.303" /> <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.1.303" /> </ItemGroup> + <ItemGroup> + <None Update="icon.png"> + <Pack>True</Pack> + <PackagePath>\</PackagePath> + </None> + </ItemGroup> <Target Name="RestoreDotnetTools" BeforeTargets="Restore"> <Message Text="Restoring dotnet tools" Importance="High" /> <Exec Command="dotnet tool restore" /> |