面对UWP中单个包装中两个项目的包装问题。 [英] Facing issue which Packaging of two projects in single package in UWP.

查看:84
本文介绍了面对UWP中单个包装中两个项目的包装问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个徽章打印项目(SelfCheckIn),我在其中再使用了一个项目(PrintSilently)进行打印。现在我有两个项目,我想为此创建一个包。


所以我在同一个解决方案中创建了一个新项目(SelfCheckInPackage)并引用了两个项目并设置为入口点到SelfCheckIn。请看截图下面的链接

链接SelfCheckInPackage的截图: -  的https://lh3.googleusercontent.com/-1kTFQrM3b8w/XLRdTfNTvzI/AAAAAAAAA5Y/yv4xBox3oskEqJYHCMRqiE8eYUKWzO-owCK8BGAs/s0/2019-04-15.png


在之前的一切工作正常我还发布了微软商店的应用程序,但现在当我发布我的应用程序时工作不正常。我的PrintSilently项目没有给出打印件。我发现我的应用程序PrintSilently项目
无法正常工作与NBSP;


但是当我创建从&NBSP的应用程序包,里面我已经使用了PrintSilent SelfCheckIn项目。 exe和它在创建包之后工作正常。

链接其中的SelfCheckIn屏幕截图我使用了PrintSilently.exe: -   https://lh3.googleusercontent.com/-N9lsWRgfaBw/XLRfrIP6gHI/AAAAAAAAA5k/ZkjfmEoeDSwUFxngROLligVjH7lWo-xEgCK8BGAs/s0/2019-04 -15.png


在创建两个项目的包时,有人可以告诉我我错过了什么吗?

解决方案


所以你试图从你的WWP app-SelfCheckIn调用你的PrintSilently.exe,对吧?一开始,你说你的应用程序可以工作文件,你的意思是当从Visual Studio运行SelfCheckInPackage时,它可以运行良好吗?如果没有,我必须以
表示运行SelfCheckInPackage以调用PrintSilently并运行SelfCheckIn来调用PrintSilently之间存在一些差异。 您可以在自己喜欢的搜索引擎中搜索&strong; UWP with Desktop Extension-stefanwick
。您可以找到一个教程系列,演示如何从Windows应用程序包项目中的UWP应用程序调用桌面应用程序。这可能对你有所帮助。





祝你好运,


罗伊


Hi,

I have a Badges Printing project (SelfCheckIn) in which I have used one more project (PrintSilently) for the printing purpose. Now I have two projects and I want to create a single package for this.

So I have created a new project (SelfCheckInPackage) inside same solution and referenced the both project and set as entry point to SelfCheckIn. Please see the screenshot on below link.
Link for screenshot of SelfCheckInPackage:- https://lh3.googleusercontent.com/-1kTFQrM3b8w/XLRdTfNTvzI/AAAAAAAAA5Y/yv4xBox3oskEqJYHCMRqiE8eYUKWzO-owCK8BGAs/s0/2019-04-15.png

In prior all is working fine I have also publish the app of the Microsoft Store but now when I am publishing my application is not working correctly. My PrintSilently project is not giving the prints. I am finding my app PrintSilently project is not working correctly. 

But when I am creating the app package from the SelfCheckIn project inside it I have used the PrintSilent.exe and it working fine even after creating the package.
Link for screenshot of SelfCheckIn inside it I have used the PrintSilently.exe :- https://lh3.googleusercontent.com/-N9lsWRgfaBw/XLRfrIP6gHI/AAAAAAAAA5k/ZkjfmEoeDSwUFxngROLligVjH7lWo-xEgCK8BGAs/s0/2019-04-15.png

Can someone please tell me what am I missing while creating the package of both project?

解决方案

Hi,

So you are trying to call your PrintSilently.exe from yourUWP app-SelfCheckIn, right? At the beginning, you said that you app could work file, do you mean that when running the SelfCheckInPackage from Visual Studio, it could works well? If not, I have to say there are some differences between running SelfCheckInPackage to call PrintSilently and running SelfCheckIn to call PrintSilently.  You could search about UWP with Desktop Extension-stefanwick in your favorite search engine. You could find a tutorial series shows how to call desktop apps from UWP apps inside Windows Application Package Project. This might be helpful for you.


Best regards,

Roy


这篇关于面对UWP中单个包装中两个项目的包装问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆