LebGeeks

A community for technology geeks in Lebanon

You are not logged in.

#1 May 6 2011

ali.koubeissi

[.NET Framework 4] It's like the framework is not installed!

I'm getting an error each time something requires the .net framework 4:

Unable to generate a temporary class (result=1).
error CS0009: Metadata file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' could not be opened -- 'Error importing module '' of assembly 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' -- The system cannot find the path specified. '

All the files are there but I have no idea why nothing is able to see the framework. NuGet is not working, Expression Studio is not working ... All the same error but sometimes different dll file.

Offline

#2 May 6 2011

MSD

Re: [.NET Framework 4] It's like the framework is not installed!

It could be a permissions problem

Offline

#3 May 6 2011

ali.koubeissi

Re: [.NET Framework 4] It's like the framework is not installed!

MSD please illustrate, I checked the permissions and nothing looks out of the ordinary. This problem is now, everything was working fine like a week ago *Sighs*.

Offline

#4 May 6 2011

Dark_angel
Banned

Re: [.NET Framework 4] It's like the framework is not installed!

You should re-install .NET 4 framework again.

Before installing, check if all prerequisites are validated true.

Last edited by Dark_angel (May 6 2011)

Offline

#5 May 6 2011

ali.koubeissi

Re: [.NET Framework 4] It's like the framework is not installed!

problem solved. I had to re-install the framework.

Offline

#6 May 6 2011

Dark_angel
Banned

Re: [.NET Framework 4] It's like the framework is not installed!

ali.koubeissi wrote:

problem solved. I had to re-install the framework.

How did you know that you need to re-install it ?

Offline

#7 May 6 2011

Kassem

Re: [.NET Framework 4] It's like the framework is not installed!

Dark_angel wrote:
ali.koubeissi wrote:

problem solved. I had to re-install the framework.

How did you know that you need to re-install it ?

Isn't that natural thing to do?

Offline

#8 May 6 2011

ali.koubeissi

Re: [.NET Framework 4] It's like the framework is not installed!

Dark_angel wrote:
ali.koubeissi wrote:

problem solved. I had to re-install the framework.

How did you know that you need to re-install it ?

I tried everything and nothing worked. The only thing left to is re-installing. I have no idea why it worked or why it broke in the first place.

Offline

Board footer