473,769 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A project that doesn't switch to release mode

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
1 1485
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*********@gm ail.comwrote in message
news:12******** *************** ***********@b2g 2000prf.googleg roups.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2360
by: cody | last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I want to start the project I have to wait nearly over 1 minute for the compiler to complete building. This is unaccaptable. I thought about loading only the project I need into visual studio and not the whole solution. The problem is that the compiler tells me it cannot find the referenced dlls (project references) although they are all lying in their bin and obj...
1
1712
by: Jim Heavey | last post by:
I set the Icon property for the project to a particular icon, but when I run the project in debug mode, the icon does not show up. Does the icon not show up? I compiled a "release version" of the application and then went to the bin folder to execute the program hoping the icon would show up, but when I double clicked on the "exe" file , I get an "Application generated an exception that could not be handled - Process ID )xdb4, Thread id...
2
1692
by: Jerry | last post by:
I have an SDI document that runs fine in Debug Mode but crashes in Release Mode. I have set up my project so I can debug in Release Mode. The project has a tab view Here is what is happening OnInitDialog calls this // parent is Tab Control, grandparent is Tab Vie m_pTabViewWnd = (CTabVw *)GetGrandParent() //this is the function CWnd* CSmsPropPage::GetGrandParent(
4
7274
by: Brian B. | last post by:
Hi, I have an ASP.NET project written in VB.NET on a server. I have made a few changes to some files using notepad while remotely connected to the server. How can I compile the project on the server (that doesn't have VS.NET installed on it) so that the changes take affect? I've tried playing around with vbc.exe but I couldn't get the parameters right - it kept reporting missing references etc.
2
1807
by: job | last post by:
I put my StrongNameKey.snk in my root foler. in my assemblyinfo.vb I have: <Assembly: AssemblyKeyFileAttribute("StrongNameKey.snk")> I get the error "Error creating assembly manifest: Error reading key file 'StrongNameKey.snk' -- The system cannot find the file specified." ???
0
5576
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
6
9142
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
5
3856
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
Hi I have a solution with 50 projects. They are all compiled in DEBUG mode and the output path has been modified to a custom directory I now want to build RELEASE mode and the Output Path needs to be reset for all the project to the custom directory Is there an easy way to do this besides opening 50 projects???
6
2878
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
9590
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9424
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10223
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10051
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10000
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3968
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.