This is the integral error I receive.
However, I noticed that if I create a new project on disk C the error does not occur. I get this error from projects created on the Google synchronized folder. But only in this last week, it was working before.
I have no alternative to using Drive, so how can I solve it?
Errore MSB4018 errore imprevisto dell'attività "CreateAppHost". System.IO.IOException: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta. in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in System.IO.MemoryMappedFiles.MemoryMappedFile.CreateCore(SafeFileHandle fileHandle, String mapName, HandleInheritability inheritability, MemoryMappedFileSecurity memoryMappedFileSecurity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, Int64 capacity) in System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileSecurity memoryMappedFileSecurity, HandleInheritability inheritability, Boolean leaveOpen) in Microsoft.NET.HostModel.ResourceUpdater.Update() in Microsoft.NET.HostModel.AppHost.HostWriter.<>c__DisplayClass2_0.<CreateAppHost>b__1() in Microsoft.NET.HostModel.RetryUtil.RetryOnIOError(Action func) in Microsoft.NET.HostModel.AppHost.HostWriter.CreateAppHost(String appHostSourceFilePath, String appHostDestinationFilePath, String appBinaryFilePath, Boolean windowsGraphicalUserInterface, String assemblyToCopyResourcesFrom, Boolean enableMacOSCodeSign) in Microsoft.NET.Build.Tasks.CreateAppHost.ExecuteCore() in Microsoft.NET.Build.Tasks.TaskBase.Execute() in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() in Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() test C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 709