[英]Windows app works when run in Visual Studio 2019, works after I build and run locally, but when submitted to app store and downloaded, it doesn't run
I've built a small windows form app that opens a crm of choice to that customer account by running a command with the incoming phone number to the pbx that is connected to the app.我已经构建了一个小型 windows 表单应用程序,该应用程序通过向连接到该应用程序的 pbx 运行带有传入电话号码的命令来打开该客户帐户的 crm 选择。 It hangs out in the task bar and runs in the background.
它挂在任务栏中并在后台运行。
This app runs beautifully in the IDE visual studio, and then once built and ran from the.exe it runs great too.这个应用程序在 IDE 视觉工作室中运行良好,然后从 .exe 构建并运行它也运行良好。 However, when submitting it to the Microsoft store and then downloading it, the app doesn't even open.
但是,将其提交到 Microsoft 商店然后下载时,该应用程序甚至都无法打开。 The window doesn't pop up and close immediately even.
window 甚至不会立即弹出和关闭。 There is no action at all.
根本没有任何动作。
I'm confused because it has passed the tests from the store itself but still doesn't work.我很困惑,因为它已经通过了商店本身的测试,但仍然无法正常工作。 I've even tried submitting a practically empty app (removing much functionality) so that I could just see if the window would pop up when I run the app, but still nothing.
我什至尝试提交一个几乎是空的应用程序(删除很多功能),这样我就可以查看在我运行应用程序时是否会弹出 window,但仍然没有。
I'm fairly new at playing around with these things, but I've spent so much time online in the past two weeks trying to figure out the problem I thought it would be worth asking the great group here.我在玩这些东西方面还很陌生,但是在过去的两周里,我在网上花了很多时间试图找出问题所在,我认为值得在这里向伟大的团队提问。
If you think you need some code, please ask.如果你认为你需要一些代码,请询问。 At this point, I don't even know what would be helpful to share.
在这一点上,我什至不知道分享什么会有帮助。
Thanks!谢谢!
if you use .net framework you should insert the framework into the installation file.如果您使用 .net 框架,您应该将框架插入到安装文件中。 or if you use database you should check connection string and insert the database into the installation file and insert the local database( by database version )on the Customer system.
或者如果您使用数据库,您应该检查连接字符串并将数据库插入安装文件并在客户系统上插入本地数据库(按数据库版本)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.