Hello
I’m getting strange errors while trying to debug app:
Error 15 (MSB4018) The "SmartCopy" task failed unexpectedly.
System.IO.IOException: The process cannot access the file 'pathToMyApp\myApp.app' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.OpenHandle(String path)
at System.IO.Directory.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
at System.IO.Directory.SetLastWriteTime(String path, DateTime lastWriteTime)
at RemObjects.Oxygene.MSBuild.Mono.SmartCopy.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() C:\Program Files (x86)\MSBuild\RemObjects Software\Oxygene\RemObjects.Oxygene.Nougat.targets 204 5 myApp
I got it maybe 10 times. Even on fresh VS run. Second run and all works. It’s random. Never say this kind of error.
b.r.