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