Why am i not seeing the security tab in my Office Solution properties?

試著忘記壹切 提交于 2019-12-25 03:39:07

问题


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.

Thanks in advance.


回答1:


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. 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)

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

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

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

  5. Voila! It should be there. :)



来源:https://stackoverflow.com/questions/33496938/why-am-i-not-seeing-the-security-tab-in-my-office-solution-properties

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!