How To Make A Release Build In VS Express 2010
Aug 17, 2010How do I make a release build in visual studio express 2010 (VB) ?
View 1 RepliesHow do I make a release build in visual studio express 2010 (VB) ?
View 1 RepliesI am using 2008 Express Edition. I am trying to make a Release build instead of a Debug build.Under Tools->Options, Projects and Solutions->General - I checked Show advanced build configurations. The option to switch configurations does not show up in the IDE.
After this, I went to the Project Properties->Compile and switched the Configuration from Active(Debug) to Release.After building, I looked in my project directory, however only in the Debug sub-directory was the .exe and nothing in the Release sub-directory.I have used Visual C++ Express Edition, where I noticed that if you do not change to Release in the IDE than after changing to Release in properties, resets the project to the last configuration setting which is usually Debug.how to make the Debug/Release box available in the IDE, since Tools/Options does not make it show up?
I've searched the VS settings and haven't discovered why the bin.Release folder is empty after a build. The bin.Debug folder output is normal. The same occurs with the obj.* folder.
View 4 RepliesI have a Form with a Media Player in it. Which plays a Song.
[Code]...
It's playing in the background since the Form is hidden. When I play itin Debug, everything works fine. When I run the app outside Debug, I get this error: [URL] The Music File is there, but strangely, there comes this weird error.
I have some very simple questions about making a release build exe in vb.net using MS VB 2010 Express.
I realize that my project's executable is built in the bin/debug folder. However, when I copy this to any other location on my computer or someone else's, this executable does not function. I have read that I need to create a release build but in MS VB 2010 Express, when I use the Project-Properties menu and change the Compile tab configuration to Release and the path to binRelease, I still get the exe in the binDebug folder and not the binRelease folder.
1) Is it normal that exe's from the debug folder do not function outside of the debug folder?
2) Most importantly, if the release build produces a faster exe, could someone please explain step by step how to do this with MS VB 2010 Express ? I do not see any button on the compile tab in the project properties that actually builds the release.
An application that has 3 Webbrowsers instantiated at design time navigates to webbrowser2 15 times every minute with a different webpage. Webbrowser2 is disposed of after each web page is received and processed. The size of the private application memory continues to grow as when the disposal was not instigated. The application memory grows to 1GB and then the program stops responding. Any suggestions? [Code]
View 1 RepliesI was able to build both debug and release versions of my VB code before now I no longer have the option to build a release version. How do I turn it back on
View 3 RepliesI wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I've released the code as a Google Code project. It's easy for a developer to get the source but I'd like to make it easy to install too.
What I did was make a release build then zip up what it created, this included a setup.exe. There was also an option to "publish" my project which looks like it can enable update checks and other stuff.
I have a dll library that I built to help reduce the amount of boilerplate code copied over from project to project. There is a timer running in the dll to maintain the connection to our machinery via RPC. When I debug my project and break the RPC connection my code gracefully tosses a disconnect event from the dll library and my main form catches the event and handles it appropriately.Now, build for release. When I break the RPC connection a unhandled exception is tossed from the library that apparently is not caught elsewhere.
The weird part is that the code that is throwing the exception is in the timer and the calls are all wrapped in try/catch blocks and the catch block swallows the exception and does other cleanup work.I don't get how in debug mode everything is fine but in release it is not. That part doesn't make sense to me. I tried looking at the exception object and setting a handled property on it but it's not available. Is this normal behavior what I am seeing?
I just recently started utilizing numerous libraries in my projects to keep my solutions more trimmed and easy to follow. Hopefully this isn't a problem with libraries I had not considered.
I have a form and I drag and drop a control in VB.NET. I have a line say,
private WithEvents radioButton RadioButton
Also, I have a handler like,
private void click(.....) Handles radioButton.Click {
...
}
Now, When I build this is .NET 3.5 in release mode, and see the generated code in reflector tool, the code is something like:
Private Overridable Property radioButton As RadioButton
.
.
.
<AccessedThroughProperty("radioButton")> _
Private _radioButton As RadioButton
And how do I avoid the generation of new properties and fields?
Every time I compile a new release build in vb.net 2009, the file version number of my main exe is correct, but the assembly version number is the same as the last build instead of the current version even though I manually change the file and assembly version in the design studio to be the same prior to compiling.The only way I can get the assembly version to be correct is to close Visual Studio and delete the obj folder. Then if I open the solution and recompile, all is well.
Here is the information copied from the About box in VS:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
[code]....
Is there a way to make the express version do a "clean build"?
Some of my project compilations have developed a problem which prevents debugging.
"The breakpoint that isn't working will display a message if highilighted with the mouse. The breakpoint will not currently be hit. No symbols have been loaded for this document."
The difference I've seen between the project folders for an app that will debug vs one that will not debug is that there is no ".pdb" file in the folder where the application to be debugged is running.Debug (F5) or "Build" no longer create this file.
Many of the discussion participants suggest deleting the "obj" and "bin" folders before compiling - on the assumption that this will "force" a "clean build" - is that supposed to be true? My express version has no "clean build" option, and deleting the obj and bin folders doesn't cuase them to be completely rebuilt.
Is "msbuild" the only way to force a complete build when you have the express version?
Also - how do I determine/control which net framework vision vs2010 express is using?[code]...
I would like to make a sticky note using Visual basic 2010 express. Is that possible ?
View 1 RepliesI want to make an app in VB Express 2010 that receives emails. Once an email is received the program would auto reply and send one line of text from a textbox. Then next to the line in the textbox it will put the email address of the recipient and a forward slash. So look at it this way.
Textbox1.text Contains
87077-91290-20228-65481-60901
69214-41847-57634-63453-48975
[Code]....
When that finishes then the next email that comes in would receive line 2 in the textbox and line 2 in the textbox would change like above. I think i can use a message queue from the tools in vb. And the email client is gmail.
Visual Basic 2010. For a school assignment i had to make a application with XAML in it. I made the tutorial Math Quiz when starting up Visual Basic 2010. This was a Windows Form application that only needed VB programming language. Now i made the Math Quiz and finished it but there is no XAML included or what so ever. Can I still convert this to XAML or just see any XAML language somewhere. Cause I need to proove to my Teacher the application I made includes XAML.
View 1 RepliesI would like to know the basics of roguelike development in Basic, Visual Basic to be more specific. As stated in the title, I have Visual Basic 2010 Express Edition (fully paid). I do know about variables, if statements, basic math operators (Such as addition and powers), advanced math operators (such as PI and Sqrt), nested if statements, functions, subs, and all of the other basic stuff about Visual Basic. I am most effective with console applications, rather than windows form applications. My favorite roguelike is ADOM (Ancient Domains of Mystery), which, in my opinion, is much better than nethack. I would like to make a game similar to ADOM, but I don't even know how to make the player move around the screen and collide with walls. I am also most effective with Video Tutorials, rather than written tutorials, just cause I'm not a big reader. I have seen most of thenewboston's video tutorials on Visual Basic more than once, and I have all of the basic stuff nailed down in my brain. If anyone at all can help me, or even team up with me in my VB.Net project ATOR (Ancient Temple of Redhold), it would make me so happy I would burst out in tears of joy! Btw, I have created a bunch of unfinished text-based games before in the game engine ADRIFT 5, so I do know the basics of game development.
View 4 RepliesI am having extremely slow build times in a VB project, in VS 2008 Express. Sometimes it takes as long as 10 mins. It's so bad that I almost want to try re-installing VS 2008 Express. It seems to only occur in the one project.
[Code]...
The project must have different user and each has username and password will be saved in my database but only the admin can add users.
View 5 RepliesI Want A Picture Viewer With this Features : Editor, Zoom, Slide Show
View 12 RepliesI have just finished a VB2005 Express Edition program that I would like to distribute, but am encountering this error message during the execution of the setup.exe file on the destination computer:
[Code]...
i need to know about how to build connection with server and client? eg: my server is 140.134.5.1 and my client need to connect to it to do communication,how should i do?
View 6 RepliesI am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.
View 3 Repliesi made a some changes in my window application at local host , now i want same on clients machine where source code is not present only dll are present,, how i made changes there or how to make build???
[URL]
When the user releases the left mouse button (MouseUp) anywhere on the screen (whether it be outside of the form or not), I want a message to be shown. How do I do this?
View 5 RepliesI have a windows desktop app I'd like to release that would access data from a database on the web. Never done this before, so not sure what's needed either on the client side or the server side.
View 1 RepliesI tried to start using VB 2010 Express with a program I originally developed with VB 2005 Express that I moved to VB 2008 Express successfully a couple years ago. It uses a database file (*.mdf) that is on the computer ( not out on a server). When attempt to run the program in debug mode, I get the following error "An attempt to attach an auto-named database for file C:Documents and SettingsTomMy DocumentsQuizzing StuffQuestion Database 2010QuizQuest ionGameQuizQuestionGameinReleaseQuizQuestionDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."
I first made a copy of the entire project folder that was working in VB 2008 Express and gave it a different name. In VB2010 I opened the project in the copied folder and it said it successfully converted the project. I am able to open the Data Source inthe Designer and see the database structure as I expect. I think the project is still using SQL Server 2005 Express (because it is what is checked in the list of prerequisites on the Publish tab).
Note, I have programmed off and on for many years, but fairly new to using databases and SQL Server.
Here is the scoop: I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.
View 1 RepliesI am trying to re write a VB6 program using MS Access, many years ago, using VB 2010 express and SQL server 2008 R2 Express. I have a database with several tables, which I created using the designer. I am able to connect to the database and select data and display it in textboxes etc in vb code. What I have not been able to in code is to INSERT rows DELETE rows or UPDATE any data in the tables. I can do any of these operations using the Query Designer, but I want to do it in code. I can post some code if necessiary, but I thought it might just be some property that I had not set in the designer.
[Code]...
Is VB Express 2010 slower to compile and run that older versions of VB Express? I've installed it this weekend and it seems a little sluggish on my quad core computer with 1 gig of RAM. I have VB Express 2005 installed for my students at school and it seems to fly just fine. Those school computers are older P4s with 512k of RAM.
View 7 RepliesSo when i build or click debug on my program. No errors come up and its smooth. So i decide to publish my programme. However. I come up with a bunch of errors during the publishing.
Here they are:Error 1 Cannot publish because a project failed to build. 1 1 Simple CALC
Error 2 Unable to copy file "binReleaseSimple CALC.exe.manifest" to "binReleaseapp.publishApplication FilesSimple CALC_1_0_0_0Simple CALC.exe.manifest". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.