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

Debugging a .NET1.1 application in a. .NET2.0 process.

P: n/a
hvj
I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe
starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005.
But when I try to open the .NET1.1 project, Visual Studio wants to
convert it to .NET2.0 what I don't want.

How can I make Visual Studio open a .NET1.1 project for me in order to
attach to a .NET2.0 process in which it runs to debug it?

Or is there a better way to reach my goal: debugging a .NET1.1
application in a .NET2.0 process? Can Visual Studio 2003 attach to a
..NET2.0 process for instance?

Regards

Apr 28 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
hvj
No one an idea how I can debug a .NET1.1 application in a .NET2.0
process?
hv*@paralax.nl schreef:
I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe
starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005.
But when I try to open the .NET1.1 project, Visual Studio wants to
convert it to .NET2.0 what I don't want.

How can I make Visual Studio open a .NET1.1 project for me in order to
attach to a .NET2.0 process in which it runs to debug it?

Or is there a better way to reach my goal: debugging a .NET1.1
application in a .NET2.0 process? Can Visual Studio 2003 attach to a
.NET2.0 process for instance?

Regards


May 3 '06 #2

P: n/a
Why do you need to open the project to debug?

devenv <exe name> /debugexe

will debug the process.
--
Thanks,
Nick
"hv*@paralax.nl" wrote:
No one an idea how I can debug a .NET1.1 application in a .NET2.0
process?
hv*@paralax.nl schreef:
I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe
starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005.
But when I try to open the .NET1.1 project, Visual Studio wants to
convert it to .NET2.0 what I don't want.

How can I make Visual Studio open a .NET1.1 project for me in order to
attach to a .NET2.0 process in which it runs to debug it?

Or is there a better way to reach my goal: debugging a .NET1.1
application in a .NET2.0 process? Can Visual Studio 2003 attach to a
.NET2.0 process for instance?

Regards


May 4 '06 #3

P: n/a
Or you can use VS 2005 to attach to the .NET 1.1 exe running under the 2.0 clr.
--
Thanks,
Nick
"nickdu" wrote:
Why do you need to open the project to debug?

devenv <exe name> /debugexe

will debug the process.
--
Thanks,
Nick
"hv*@paralax.nl" wrote:
No one an idea how I can debug a .NET1.1 application in a .NET2.0
process?
hv*@paralax.nl schreef:
I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe
starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005.
But when I try to open the .NET1.1 project, Visual Studio wants to
convert it to .NET2.0 what I don't want.

How can I make Visual Studio open a .NET1.1 project for me in order to
attach to a .NET2.0 process in which it runs to debug it?

Or is there a better way to reach my goal: debugging a .NET1.1
application in a .NET2.0 process? Can Visual Studio 2003 attach to a
.NET2.0 process for instance?

Regards


May 4 '06 #4

P: n/a
hvj
Thanks Nick for your reaction. If I want to connect from VS2005 to a
..NET1.1 proces and put break points in the code, VS2005 first forces me
to convert to .NET2.0 and after conversion VS2005 does not see the code
as belongen to the process, so my breakpoints are corrupted.

By the way, the problem is not urgent to me anymore, so don't put more
time in it.

Thanks,
Hvj


"hv*@paralax.nl" wrote:
No one an idea how I can debug a .NET1.1 application in a .NET2.0
process?
hv*@paralax.nl schreef:

> I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe
> starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005.
> But when I try to open the .NET1.1 project, Visual Studio wants to
> convert it to .NET2.0 what I don't want.
>
> How can I make Visual Studio open a .NET1.1 project for me in order to
> attach to a .NET2.0 process in which it runs to debug it?
>
> Or is there a better way to reach my goal: debugging a .NET1.1
> application in a .NET2.0 process? Can Visual Studio 2003 attach to a
> .NET2.0 process for instance?
>
> Regards


May 17 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.