为什么我在 Office 解决方案属性中看不到安全选项卡? [英] Why am i not seeing the security tab in my Office Solution properties?

查看:41
本文介绍了为什么我在 Office 解决方案属性中看不到安全选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近发布了一个办公解决方案,作为在我的一个驱动器上单击一次的应用程序.我的客户从那里下载了它,当他尝试安装时,它给了他这个错误.

I recently published an office solution as a click once application on my one drive. My client downloaded it from there and when he tried to install, it gave him this error.

我想通过使其成为完全信任的应用程序来重新发布它,但我在项目属性中找不到安全选项卡.

I want to republish it by making it a full trust application but i cannot find the security tab in project properties.

提前致谢.

推荐答案

我遇到了同样的问题,解决方案非常烦人.另一个网站上有人提到安全"选项卡仅与某些类型的 ClickOnce 应用程序相关,因此我开始尝试各种选项并弄清楚.

I had the same issue and the solution was super annoying to figure out. Someone on another website mentioned that the Security tab is only relevant for certain types of ClickOnce applications so I started playing around with various options and figured it out.

  1. 应用程序选项卡中,对于应用程序类型,从下拉菜单(其他下拉菜单中选择Windows 窗体应用程序向下选项可能也有效,但还没有尝试过)

  1. In the Application tab, for Application Type, select Windows Forms Application from the drop-down menu (other drop-down options might also work but haven't tried them)

保存所有内容:在 Visual Studio 的主菜单栏中,单击文件 > 全部保存.

Save everything: In the main menu bar of Visual Studio, click File > Save All.

关闭您的项目属性"窗口(即我们刚刚修改的带有应用程序"选项卡的窗口)

Close your project Properties window (i.e. the one with the Application tab that we were just modifying)

再次打开您的项目属性窗口:在您的解决方案资源管理器中,选择您的项目,转到主菜单栏,点击项目,点击属性.

Open your project Properties window again: in your Solution Explorer, select your project, go to the main menu bar, click Project, click Properties.

瞧!它应该在那里.:)

Voila! It should be there. :)

这篇关于为什么我在 Office 解决方案属性中看不到安全选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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