Jump to content
Sign in to follow this  
softtouch

MSBuild error when switching platforms and try to compile

Recommended Posts

With Delphi 11.1 update 1 and firemonkey platform, with targets Win and macOS, when I compile for Win, no issue, then I switch platform and try to compile for osx, and get the following error:

 

Quote

[MSBuild Error] The "BRCC32" task failed unexpectedly.
System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Borland.Build.Tasks.Common.CommandLineTask.CreateTempFileIfNecessary(ITaskItem basedOn)
at Borland.Build.Tasks.Common.CommandLineTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)
 

 

When I exit and restart the ide, I can compile for osx, but the same error comes up when switching back to Win64 target.

Share this post


Link to post

I get the same error when I change anything in the project options. Even setting the icon gives this error.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×