没有窗口创建UWP应用程序? [英] Creating UWP App without a window?
问题描述
我可以在没有窗口的情况下创建UWP应用程序吗?
我希望创建一个App Service,它提供带有directx渲染的窗口和连接到服务的客户端,客户端不显示窗口。
这可能吗?
我从客户端应用程序中删除了所有代码,但它仍然显示一个小窗口。
我想到的项目涉及多个连接到服务的客户端和提供directx呈现的服务。
像在Windows桌面环境中运行的多个应用程序一样,我希望提供多个应用程序在我的项目环境中运行。
谢谢。
$
嗨!
我很确定这是不可能的。
因为当我们看看App时.xaml.cs,在OnLaunched方法上,rootFrame导航指向页面。
很遗憾,您无法在应用程序的起始页面中将Visibility值应用于Collapsed。我尝试过它不起作用
而且UWP的方法与控制台应用程序不同,你可以像dll一样运行。
UWP需要显示一个工作的屏幕(对于IoT,我不知道,但我认为它是一样的。)
希望它有用。
如果它对你有好处,你能否将这个答案标记为你的问题的答案?
在Twitter上关注我: https://twitter.com/NordineMhoumadi
S orry
如果我的英语不够好
Can I create a UWP App without a window?
I wish to create an App Service that provides the window with directx rendering and the client to connect to the service , the client does not display a window.
Is this possible?
I removed all the code from the client app but it still displays a window though it is small.
The project I have in mind involves multiple clients connecting to the service and the service providing the directx rendering.
Like multiple applications can run in windows desktop enviroment I wish to provide multiple applications to run in my project enviroment.
Thanks.
Hi!
I'm pretty sure that it's not possible.
Because when we have a look of the App.xaml.cs, on the OnLaunched method, the rootFrame navigation point to a page.
And unfortunately you can't apply the Visibility value to Collapsed in the start page of your application. I tried and it doesn't work
And the approach of a UWP it's not like a console application that you can run like a dll.
The UWP needs to display a screen to work (for IoT, I don't know but I think it's the same thing).
Hope it wil be useful.
If it's good for you, can you mark this answer as answer of your question please?
Follow me on twitter : https://twitter.com/NordineMhoumadi
Sorry if my English is not good enough
这篇关于没有窗口创建UWP应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!