想要不弹出以上的提示框,最好是需要有WindowsAppSdkUndockedRegFreeWinRTInitialize功能 第二步,配置 csproj 项目文件,设置 WindowsAppSDKSelfContained 为 true 和设置 WindowsPackageType 为 None 值。默认情况下,将会在 WindowsAppSDKSelfContained 为 true 和 WindowsPackageType 属性为 None 值时,自动在 SDK 里面...
解决方法也是在 csproj 上配置 WindowsAppSDKSelfContained 和 WindowsPackageType 属性 配置之后的 csproj 大概如下 <ProjectSdk="Microsoft.NET.Sdk"><PropertyGroup><OutputType>WinExe</OutputType><TargetFramework>net8.0-windows10.0.22000</TargetFramework><Nullable>enable</Nullable><UseWPF>true</UseWPF><Platform...
Hi, i have a developer account and currently i published 2 apps into ms store, however i have some questions: 1.how should i publish my app into store? Self-Contained? or framework-dependent? i published asSelf-Containedand every msix file size is almost 80~100 mb which is a lot! I ...
进入到https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads下载页 下载安装 Windows App Runtime 安装包 WindowsAppRuntimeInstall.exe 文件修复此问题 方法二是构建为自包含方式,在 csproj 里面添加如下代码即可 <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> 详细请参考WinUI...
第二步,配置 csproj 项目文件,设置 WindowsAppSDKSelfContained 为 true 和设置 WindowsPackageType 为 None 值。默认情况下,将会在 WindowsAppSDKSelfContained 为 true 和 WindowsPackageType 属性为 None 值时,自动在SDK里面配置 WindowsAppSdkUndockedRegFreeWinRTInitialize 为 true 值 ...
方法二是构建为自包含方式,在 csproj 里面添加如下代码即可 <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> 1. 详细请参考WinUI 3 修复非打包应用运行提示缺少 Windows App Runtime 环境 此问题已经报告给官方,详细请看https://github.com/microsoft/WindowsAppSDK/issues/2443...
WindowsAppSdkSelfContained:为运行时自包含,添加此项后发布配置的部署模式需要选择“独立”参见文档:将...
我想在WinUI3中显示自定义光标(32x32)。似乎没有简单的方法可以从嵌入式资源加载 .cur 文件,或者有吗? 到目前为止,我尝试创建一个嵌入光标的 win32 .res 文件,然后尝试使用 InputDesktopResourceCursor.CreateFromModule (及其变体)来使用它们。 但是,当我将 Win32Resource 和 WindowsAppSDKSelfContained 放在同一...
* Settings Storage added * MSIX Packaging added * Self-Contained added * App Notifications added * Theme Selection added - Testing: MSTest not added Run Code Online (Sandbox Code Playgroud) 安装了 Microsoft.EntityFrameworkCore.SqlServer (以连接到我的 SQL Server)。 安装Microsoft.EntityFrameworkCor...
Select Create a new project and use the Blank App, Packaged (WinUI 3 in Desktop) project template to create a new project. Add the<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>parameter to the application .csproj file to indicate that the application should be self contained. ...