简体   繁体   English

Visual Studio中的XNA项目的属性中没有“设置”选项卡

[英]No Settings tab in Properties of XNA project in Visual Studio

When I've created Windows forms projects I have been able to store variables for use on relaunch of an application by creating them in the Settings tab in the project properties. 创建Windows窗体项目后,我可以通过在项目属性的“设置”选项卡中创建变量来存储要在重新启动应用程序时使用的变量。 I am currently working on an XNA project and want to do something similar to save the 'Hi-Score' in the game. 我目前正在研究XNA项目,并且想要做类似的事情以在游戏中保存“ Hi-Score”。 However, when I look in properties there is no Settings tab. 但是,当我查看属性时,没有“设置”选项卡。 Any idea if I can access this option in an XNA project? 我可以在XNA项目中访问此选项吗?

在解决方案资源管理器中右键单击您的项目,选择添加->组件,然后找到设置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM