Visual Studio 2013 can't run c# files

c#, visual-studio-2013

Solution

This link suggests that you have trouble writing to the temp directory.

http://social.msdn.microsoft.com/Forums/vstudio/en-US/73e67f3a-c575-4c73-a71d-ed7a2aeabb50/csc-error-cs2001-source-file-cwindowstempnetframeworkversionv40assemblyattributescs?forum=msbuild

Grant permissions read/write/execute to the temp folder, or maybe try running visual studio as administrator to see if it is permissions related.

Problem

I've recently downloaded vs 2013, and when I hit Start(with or without debugging) when working on console applications the Error is : ``` Error 1 Source file 'C:\Windows\TEMP\.NETFramework,Version=v4.5.AssemblyAttributes.cs' could not be found +path of the project ``` What can I do? I tried to repair the .net framework on my computer but it's still the same.

Original source