使用Windows Desktop App Converter,可以从Windows启动吗?

编程入门 行业动态 更新时间:2024-10-28 12:27:02
本文介绍了使用Windows Desktop App Converter,可以从Windows启动吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经使用Windows桌面应用程序转换器将WPF应用程序转换为商店应用程序.

I have used Windows Desktop App Converter to convert my WPF app to a store app.

除了我的从Windows开始"功能以外,所有其他功能均有效.我解决此问题的方法是在我的应用程序的"C:\ Users \ %% USER %% \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ Startup"目录中创建一个快捷方式,但似乎是这种方法不再起作用(快捷方式不会出现).

It all works apart from my "start with windows" feature. The way I was solving this was to create a shortcut in the "C:\Users\%%USER%%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" directory to my app but it seems like this method doesn't work any more (the shortcut doesn't appear).

那么如何使您的应用程序在Windows上启动就可以重启了?

So how does one go about getting your app to launch on windows boot any more?

干杯, 迈克

推荐答案

那么如何使您的应用程序在Windows上启动就可以重启了?

So how does one go about getting your app to launch on windows boot any more?

在通用Windows平台上,创建快捷方式与经典桌面应用程序不同,请参见以下问题:如何使用Powershell为Windows 10通用应用程序创建桌面快捷方式?

On the Universal Windows Platform, creating shortcut is a different story from the classic desktop application, see this question: How can I create a desktop shortcut for a Windows 10 Universal app using powershell?

以下讨论对此进行了讨论: UWP应用在启动时自动启动

And this discussion talked about it: UWP app start automatically at startup

在RS1中引入了一个新的WinRT API,称为Windows.ApplicationModel.FullTrustProcessLauncher.它允许您从UWP应用程序在同一软件包中启动完全信任的应用程序,请参见此处.您可以利用此功能来创建计划任务以执行Powershell

There's a new WinRT API being introduced in RS1 called Windows.ApplicationModel.FullTrustProcessLauncher. It allows you to launch a full-trust application within the same package from a UWP app, see here. You may utilize this feature to create a schedule task to execute a powershell

更多推荐

使用Windows Desktop App Converter,可以从Windows启动吗?

本文发布于:2023-11-06 04:20:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1562703.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Desktop   Windows   Converter   App

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!