473,407 Members | 2,312 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,407 software developers and data experts.

Running .NET 2.0 Debug builds

Hi there,
after experimenting a bit with VS2005 and .NET forms, I learned
that .NET applications that are compiled as debug build don't run
on machines that don't have VS (or at least the .NET SDK) installed...
(even if the framework is installed). Is this correct?
The error message I get is "Error executing program" or something
similar, depending on the machine. Is there a way to circumvent this
problem (except for installing the entire sdk) ?

Thanks
Martin
Mar 20 '06 #1
4 1134

I forgot to say, I need to run the application _without_ having a
setup routine, just by copying the executable onto the target machine.
"Martin" <m@invalid.com> schrieb im Newsbeitrag
news:uA**************@TK2MSFTNGP14.phx.gbl...
Hi there,
after experimenting a bit with VS2005 and .NET forms, I learned
that .NET applications that are compiled as debug build don't run
on machines that don't have VS (or at least the .NET SDK) installed...
(even if the framework is installed). Is this correct?
The error message I get is "Error executing program" or something
similar, depending on the machine. Is there a way to circumvent this
problem (except for installing the entire sdk) ?

Thanks
Martin

Mar 20 '06 #2
Yes, you must have the .Net framework installed, and that goes for whether
you compile in Debug or Release mode.

There is a redistributible installer for the .net framework, just go to the
microsoft site and find the one for whatever version of VS you have (you say
2005, so you'll need the 2.0 framework). Have the users install once, and
you'll be good to go for xcopy deployment after that.

Robert

"Martin" <m@invalid.com> wrote in message
news:uA**************@TK2MSFTNGP14.phx.gbl...
Hi there,
after experimenting a bit with VS2005 and .NET forms, I learned
that .NET applications that are compiled as debug build don't run
on machines that don't have VS (or at least the .NET SDK) installed...
(even if the framework is installed). Is this correct?
The error message I get is "Error executing program" or something
similar, depending on the machine. Is there a way to circumvent this
problem (except for installing the entire sdk) ?

Thanks
Martin


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Mar 23 '06 #3
Martin,

Can you post the exception message and stack trace?

Brian

Martin wrote:
Hi there,
after experimenting a bit with VS2005 and .NET forms, I learned
that .NET applications that are compiled as debug build don't run
on machines that don't have VS (or at least the .NET SDK) installed...
(even if the framework is installed). Is this correct?
The error message I get is "Error executing program" or something
similar, depending on the machine. Is there a way to circumvent this
problem (except for installing the entire sdk) ?

Thanks
Martin


Mar 23 '06 #4

this actually does not work...like I said, the .net 2.0 framework
is installed on the target machine, still only the release build
will run.

martin

"n4ixt" <n4ixt@notabitofspam_direcway.com> schrieb im Newsbeitrag
news:11*************@sp6iad.superfeed.net...
Yes, you must have the .Net framework installed, and that goes for whether
you compile in Debug or Release mode.

There is a redistributible installer for the .net framework, just go to the microsoft site and find the one for whatever version of VS you have (you say 2005, so you'll need the 2.0 framework). Have the users install once, and
you'll be good to go for xcopy deployment after that.

Robert

"Martin" <m@invalid.com> wrote in message
news:uA**************@TK2MSFTNGP14.phx.gbl...
Hi there,
after experimenting a bit with VS2005 and .NET forms, I learned
that .NET applications that are compiled as debug build don't run
on machines that don't have VS (or at least the .NET SDK) installed...
(even if the framework is installed). Is this correct?
The error message I get is "Error executing program" or something
similar, depending on the machine. Is there a way to circumvent this
problem (except for installing the entire sdk) ?

Thanks
Martin


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet

News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption

=----
Mar 26 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kevin | last post by:
Hi All, Can someone please tell me what the difference is between DEBUG and TRACE. From what I can see, they are two different classes, but with the same members? Whats the purpose of have two...
14
by: cody | last post by:
Is there a way to do: #if APP_IS_RUN_IN_VS path = ".\..\..\..\myfile.rpt"; #else path = "myfile.rpt"; #endif I don't want to put the files into debug/bin dir since they woulbe be deleted...
7
by: Michael C | last post by:
Hi all, Just started having a problem with the IDE. When I try to 'start' code in the IDE the IDE locks up. It builds and re-builds OK, and I can run the generated EXE outside the IDE, but...
4
by: Wayne Calvert | last post by:
Hello All I hope you can help with running web applications in VB.NET. I have just started working with ‘Visual Basic .NET Black Book’. I am at page 12 have created the web application...
3
by: | last post by:
Since I need to dotfuscate my exe file anyway, does it make any difference if I use Debug or Release versions. Would a Debug version be easier to decompile/study/reverse engineer than a Release...
6
by: swartzbill2000 | last post by:
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to...
1
by: TheSteph | last post by:
Hi, Does anybody know what's the difference between the "Debug build" of a C# application and the "Release build" ? In my case, both are 774.144 bytes, and both seems to have the same
9
by: Bern McCarty | last post by:
I am porting stuff from MEC++ syntax to the new C++/CLI syntax. Something that we did in the old syntax that proved to be very valuable was to make sure that the finalizer would purposefully...
6
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++...
2
by: muriwai | last post by:
Hi, I have <compilation debug="true"in my web.config. The trouble is that I have to manually change this to "false" every time I publish the website. I tried moving this to global machine.config...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.