开发者

Application settings in visual studio 2008 express edition, winforms

开发者 https://www.devze.com 2023-01-16 14:37 出处:网络
In the application settings screen for the express edition, the Configuration combo box is disabled, so I can\'t change things like the assembly name and description depending on the configuration.

In the application settings screen for the express edition, the Configuration combo box is disabled, so I can't change things like the assembly name and description depending on the configuration.

The first ques开发者_如何学编程tion is, is this box enabled in the full version?

Secondly, to get around this, I edited the AssemblyInfo file manually and used preprocessor directives to change the assembly description depending on the configuration.

This works, and each configuration compiles correctly. If I then right click each dll, I can see that the description is different for each one.

My question is, is it ok to do this or might I run into problems at some point?


IMHO, this is OK. Even if you change these settings using application dialog, they are also written into the assembly.cs as you did manually.

I personally prefer to do it manually.


It is OK to do this, but the Properties UI does not support it. (Even in higher versions)

0

精彩评论

暂无评论...
验证码 换一张
取 消