I am not using my code for iPhone and i am not using any file read or right funtion in any of my code yet i get this exeption every time i start my project and the exeption does not refer to any of my code? here is the whole error message:
UnauthorizedAccessException: Access to the path “C:\Users\Boomfood\Documents\Programming\Unity\Tests\Assembly-CSharp-firstpass.csproj” is denied.
System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options)
System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
(wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.StreamWriter…ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize)
System.IO.StreamWriter…ctor (System.String path, Boolean append, System.Text.Encoding encoding)
(wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding)
System.IO.File.WriteAllText (System.String path, System.String contents)
UnityEditor.VisualStudioIntegration.SolutionSynchronizer.SyncFileIfNotChanged (System.String filename, System.String newContents) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:164)
UnityEditor.VisualStudioIntegration.SolutionSynchronizer.SyncProject (MonoIsland island, System.String otherAssetsProjectPart) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:154)
UnityEditor.VisualStudioIntegration.SolutionSynchronizer.Sync () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:133)
UnityEditor.SyncVS.SyncVisualStudioProjectIfItAlreadyExists () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/SyncProject.cs:89)