Each time you start a managed application the default host is started. This
host has ability to determine which CLR version was used in building the
assembly. Host checks the registry for the version existence and delegates
call to the mscoree.dll.
Sounds like you've clobbered the mscoree ->CLR version process into thinking
you still have 2.0 installed, because you screwed up on uninstalling v2.0.
You could try deleting or renaming mscoree, reinstall .NET 1.1
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"asadikhan@gmail.com" wrote:
[color=blue]
> 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.
>
> Event Type: Error
> Event Source: .NET Runtime
> Event Category: None
> Event ID: 0
> Date: 06/06/2006
> Time: 3:32:02 PM
> User: N/A
> Computer: MIRSCP56579
> Description:
> The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
> found. The local computer may not have the necessary registry
> information or message DLL files to display messages from a remote
> computer. You may be able to use the /AUXSOURCE= flag to retrieve this
> description; see Help and Support for details. The following
> information is part of the event: Shim database version
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 doesn't have a matching
> runtime directory.
>
> (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).
>
> Asad
>
>[/color]