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

Running .NET 2.0 Debug builds

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a

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

P: n/a
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

P: n/a
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

P: n/a

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 discussion thread is closed

Replies have been disabled for this discussion.