By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,269 Members | 1,332 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,269 IT Pros & Developers. It's quick & easy.

A project that doesn't switch to release mode

P: n/a
JB
Hi All,

I'm experiencing a strange behaviour in VB.NET 2005.
My solution contains 4 Projects. When I want to compile a release
version, I go to the Configuration Manager and change the Active
Solution Configuration to Release. I see all my project in the list
changing to Release.
However 1 of them (it's a class library) doesn't really change to
release and the DLL file is still generated in the Debug folder.
Furthermore when I go to the property page of that project, the
Compile Tab doesn't show the Active Configuration and Platform combo
box like the other projects do. In fact even when I manually change
the Build Output Path to Release, the DLL still gets generated in
Debug!

I'm obviously missing something...
Can somebody shade a light?

Thanks
JB
Sep 18 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I would stop using the GUI.

It's too slow, and prone to issues.

Check
http://groups.google.com/group/micro...1c5cf829?hl=en

for a .bat file that uses MSBUILD to build release versions.

"JB" <jb*********@gmail.comwrote in message
news:12**********************************@b2g2000p rf.googlegroups.com...
Hi All,

I'm experiencing a strange behaviour in VB.NET 2005.
My solution contains 4 Projects. When I want to compile a release
version, I go to the Configuration Manager and change the Active
Solution Configuration to Release. I see all my project in the list
changing to Release.
However 1 of them (it's a class library) doesn't really change to
release and the DLL file is still generated in the Debug folder.
Furthermore when I go to the property page of that project, the
Compile Tab doesn't show the Active Configuration and Platform combo
box like the other projects do. In fact even when I manually change
the Build Output Path to Release, the DLL still gets generated in
Debug!

I'm obviously missing something...
Can somebody shade a light?

Thanks
JB

Sep 18 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.