简体   繁体   中英

Application settings in visual studio 2008 express edition, winforms

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 question 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?

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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