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.