You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an unpackaged WinUI C++ .exe project, which I created using the WinUI 3 blank template. I also have a setup/installer project, which I created using the Visual Studio Installer Projects 2022 extension. I've now added the WinUI project output to the installer project, but I've had a couple issues come up.
First of all, the installer project says that the .NET Framework is a necessary launch condition. So when the installer runs, it shows a prompt to download the .NET Framework. Is that correct? Does an unpackaged WinUI C++ application require .NET to run?
And second, when building the installer project, I get a series of these warnings:
WARNING: Unable to find dependency 'WINDOWS' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.UI.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.Security.AccessControl.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.System.Power.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.AppLifecycle.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.AppLifecycle.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.ApplicationModel.DynamicDependency.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.ApplicationModel.DynamicDependency.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Web.WebView2.Core.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION' (Signature='(null)' Version='4.0.0.0') of assembly 'Microsoft.Web.WebView2.Core.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Web.WebView2.Core.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.AppNotifications.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.AppNotifications.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.UI.Xaml.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.UI.Xaml.winmd'
WARNING: Unable to find dependency 'WINDOWS' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Foundation.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.AppNotifications.Builder.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.AppNotifications.Builder.winmd'
WARNING: Unable to find dependency 'WINDOWS.APPLICATIONMODEL.CALLS.BACKGROUND.CALLSBACKGROUNDCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Windows.ApplicationModel.Calls.CallsPhoneContract.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.UI.Text.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.UI.Text.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.Widgets.winmd'
WARNING: Unable to find dependency 'WINDOWS' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Graphics.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.System.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.PushNotifications.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.PushNotifications.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.UNIVERSALAPICONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.ApplicationModel.Resources.winmd'
WARNING: Unable to find dependency 'WINDOWS.FOUNDATION.FOUNDATIONCONTRACT' (Signature='(null)' Version='255.255.255.255') of assembly 'Microsoft.Windows.ApplicationModel.Resources.winmd'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have an unpackaged WinUI C++ .exe project, which I created using the WinUI 3 blank template. I also have a setup/installer project, which I created using the Visual Studio Installer Projects 2022 extension. I've now added the WinUI project output to the installer project, but I've had a couple issues come up.
First of all, the installer project says that the .NET Framework is a necessary launch condition. So when the installer runs, it shows a prompt to download the .NET Framework. Is that correct? Does an unpackaged WinUI C++ application require .NET to run?
And second, when building the installer project, I get a series of these warnings:
Does anyone know how to solve those issues?
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions