473,394 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Cannot get VS2010 to compile release version

!NoItAll
297 100+
I just updated to VS2010 SP1, but I cannot be certain this problem didn't exist prior to the update.
When I build my project the version in /bin/debug builds, but nothing builds in /bin/release. I do not remember making any changes that would affect this, but nothing I do now will get the release version to build.
In the Application settings under "Compile" I have Configuration set to Release and the Build output path is "bin\Release\
For Debug I also have Configuration set to Release.
There doesn't seem to be anything else left to change/adjust - but no matter what I seem to do nothing builds in the bin/release folder.
I'm pulling my hair out...
Mar 14 '11 #1
1 5227
!NoItAll
297 100+
Well - there appears to be some new behavior with VB.NET in VS2010 SP1.
Previous to SP1 whenever I built my project it would build BOTH the debug and release versions. After talking to some C# friends this was apparently unique to VB.NET.
Now - with SP1 VB behaves the way C# does and you have to use the configuration manager to work in either debug or release mode. It appears you can no longer do both at the same time.
As in C# you work on the project in debug mode and when you are ready to do an actual release build you open the Configuration Manager (menu Build --> Configuration Manager) and switch to Release mode and do a build.
By default the debug version is built in ..\bin\debug and the release version is built in ..\bin\release.
You can add an easy shortcut to your toolbar to quickly switch back and forth from debug to release. This shortcut seems to be a default setting in C#, but in VB you have to go through several steps to manually get it on the tool bar.
Rant: So if MS went to all the trouble to make VB more consistent with C# then why on earth did they not automatically add this shortcut to the VB default toolbar? It took me nearly half a day to work through this issue. What a crock!
Also - I notice now that the debug and release versions are built in both locations (..\bin\debug & ..\bin\release). That's odd and appears that MS goofed up on this. I'm kinda thinking that this may be more of a bug now then a purposeful change...
Mar 16 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Duncan | last post by:
I am using the evaluation version of CE.NET 4.1. I had also installed the release version of the Compact Framework. I uninstalled the CE.NET 4.1, and then realized I needed it again and...
3
by: KeithO | last post by:
Problem: App works OK in debug both in VS.Net and build version. Also OK as release version in VS.net Not working as release version build. Gets to this line of code: (private func called...
6
by: Plumer | last post by:
Good morning everyone, I am having difficulty distributing a Release version of an application. System info C# DOTNET, MDE 2002, Version 7.0.9466 .Net Framework, version 1.0.3705 My...
2
by: Song | last post by:
Hi, gurus, I am new with visual studio... I am trying to build a standalone C++ project by MS visual C++, the problem that I have is: if compile it as "Release" version, it crashes by a...
3
by: Peter Steele | last post by:
I've written a C# DLL that I want to include in my other C# projects. What I want to do is include the Debug version of the DLL when I am building the other apps in debug mode and Release version...
10
by: babak | last post by:
Hi everybody I'm working with a project in embedded Visual Studio 4 and I have a general problem which I hope that somebody can help me with. My problem is the following: My project works fine in...
4
by: Daniel | last post by:
Hello everyone, Is there a way of detecting the line number of the error in a release version? When I look at the stack it shows the file and the procedure, but not the line number. Thank...
2
by: Ravi | last post by:
Hi everyone, I've a C# .NET application that works as expected when built in the debug mode. However, it behaves strangely when built in the Release mode. Having the .pdb file included makes...
0
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
3
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.