A:解决ICON展示问题

This commit is contained in:
jimmy committed 2025-08-18 14:53:43 +08:00
1 parent bc641a0e9e
commit 0198f91bac
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Remove="Assets\Icons\app.ico"/>
<EmbeddedResource Include="Assets\Icons\app.ico"/>
<Resource Include="Assets\Icons\app.ico"/>
<Content Include="wwwroot\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
@@ -10,7 +10,8 @@
mc:Ignorable="d"
Title="NetVizor Dashboard"
Height="900"
Width="1500">
Width="1500"
Icon="/Assets/Icons/app.ico">
<Grid>
<userControls:WebPanel />
</Grid>
@@ -12,7 +12,8 @@
MinWidth="560"
WindowStartupLocation="CenterScreen"
ResizeMode="NoResize"
Background="#F8F9FA">
Background="#F8F9FA"
Icon="/Assets/Icons/app.ico">
<!-- 窗口资源 -->
<Window.Resources>
@@ -11,7 +11,8 @@
Width="1200"
MinHeight="600"
MinWidth="800"
WindowStartupLocation="CenterScreen">
WindowStartupLocation="CenterScreen"
Icon="/Assets/Icons/app.ico">
<Border x:Name="WebContainer">
</Border>