Re: Setup file looking for wrong .NET framework.
- From: asadikhan@xxxxxxxxx
- Date: 7 Jun 2006 08:20:58 -0700
Thank you. This worked perfectly.
Asad
Michael Nemtsev wrote:
Hello asadikhan@xxxxxxxxx,
Use <supportedRuntime> attribute of the config file to specify required version
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a
whole application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.
(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs
list, but the renamed folder is still sitting there :S).
It's the problem, because renaming of folder don't remove .net fw - there
are some libraries in the system that don't correspond to you removed folder.
I recomend you to read my article about CLR intantiating to understand how
you app stars and determinate which version of .NET to use
see it there http://spaces.msn.com/laflour/blog/cns!7575E2FFC19135B4!393.entry
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
.
- References:
- Setup file looking for wrong .NET framework.
- From: asadikhan
- Re: Setup file looking for wrong .NET framework.
- From: Michael Nemtsev
- Setup file looking for wrong .NET framework.
- Prev by Date: Re: DateTime.ParseExact weird behavior
- Next by Date: Re: Unable to pass Dictionary class instance over Webservice
- Previous by thread: Re: Setup file looking for wrong .NET framework.
- Next by thread: Re: DefinePropery with instance keyword...
- Index(es):
Loading