我正在尝试将我的C#应用程序部署到我的Windows 8 Metro桌面.我可以在bin文件夹中看到已部署的文件但是当我尝试打开它时,我收到以下错误:
此应用程序只能在AppContainer的上下文中运行.
我检查了属性上下文菜单,我搜索了清单和项目设置文件.
我认为解决方案是以下之一
但我不知道如何解决这个问题,因为我无法在文档中找到错误.
我有点绝望.我一直试图解决以下几个小时的问题.
我开发了一个应用程序,我现在尝试使用Visual Studio 2015的安装向导扩展来安装.一切都在构建或(没有错误),但是当我打开应用程序时,它突出显示它只能在应用程序容器的上下文中打开.那是什么意思?任何建议都将受到高度赞赏!
该应用程序正在使用SQlite数据库.这可能与依赖关系有关吗?如果是这样,我怎么能解决这个问题呢?
更新:
# Culture = "en-US"
ConvertFrom-StringData @'
###PSLOC
PromptYesString = &Yes
PromptNoString = &No
BundleFound = Found bundle: {0}
PackageFound = Found package: {0}
CertificateFound = Found certificate: {0}
DependenciesFound = Found dependency package(s):
GettingDeveloperLicense = Acquiring developer license...
InstallingCertificate = Installing certificate...
InstallingPackage = \nInstalling app...
AcquireLicenseSuccessful = A developer license was successfully acquired.
InstallCertificateSuccessful = The certificate was successfully installed.
Success = \nSuccess: Your app was successfully installed.
WarningInstallCert = \nYou are about …Run Code Online (Sandbox Code Playgroud) 我使用Visual Studio Express 2012 RC开发了一个Windows 8 C#应用程序.我可以在我的电脑上运行它.但是,我想创建一个可执行文件,以便我的朋友也可以尝试该应用程序.当我单击bin/Release文件夹下的.exe文件时,它说:
此应用程序只能在app容器的上下文中运行.
如何手动或使用Visual Studio 2012创建应用程序容器?