Net 2.0 program published with VS2008 now requires Net 3.5

T

Tim Sprout

I am a hobbiest C# programer. I wrote and published a database image
browser in Visual Studio express 2005 using DotNet 2.0.

I made a minor change and then re-published using Visual Studio Express
2008.

Now installations on user machines puke, requiring users to install DotNet
3.5.

How do I publish a program from VSE 2008 that only requires older DotNet
2.0 libraries?

Thanks much,

--Tim Sprout
 
T

Tim Sprout

Peter Duniho said:
[...]
How do I publish a program from VSE 2008 that only requires older DotNet
2.0 libraries?

Assuming the Express version of VS is the same as the retail version in
this respect, you just need to go to the project properties (the same page
where the type of output is specified) and choose the appropriate .NET
Framework version as your target.

Now that I think about, it's possible you might have to remove unused .NET
3.5 references from your project as well. I'm not sure about that.

In any case, once you find the right settings in your project, it should
take less than a minute to get everything working right. :)

Pete

That was easy! Thanks, Peter

--Tim Sprout
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top