You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X-Platform Building does not work. Seems to be a problem with Ready2Run (R2R).
This problem occurred for me after updating to 9.31.2.
For debugging, I tired the following test of both My Project and the Demo Project
Version: 9.31.2.0
.NET Core: 3.1.301
Target: See Table
Before 9.31.2
Build Platform
Target Win
Target Linux
Target OSX
Windows
✔️
✔️
❌ *
Linux
✔️
✔️
✔️
OSX
❔
❔
❔
* Windows to OSX was never supported due to symlinks
As of 9.31.2
Build Platform
Target Win
Target Linux
Target OSX
Windows
✔️
❌
❌ *
Linux
❌
✔️
❌
OSX
❔
❔
❔
* Windows to OSX was never supported due to symlinks
Now when building cross-platform targets, I get the following message:
error NETSDK1095: Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false.
Note: I will include the full error messages for the different platforms below.
The ReadyToRun compiler doesn't currently support cross-targeting. You must compile on a given target. For example, if you want R2R images for Windows x64, you need to run the publish command on that environment.
Before updating to 9.31.2, I was able to build targets for other systems.
X-Platform Building does not work. Seems to be a problem with Ready2Run (R2R).
This problem occurred for me after updating to 9.31.2.
For debugging, I tired the following test of both My Project and the Demo Project
Before 9.31.2
* Windows to OSX was never supported due to symlinks
As of 9.31.2
* Windows to OSX was never supported due to symlinks
Now when building cross-platform targets, I get the following message:
Note: I will include the full error messages for the different platforms below.
According to docs.microsoft.com,
Before updating to 9.31.2, I was able to build targets for other systems.
* Windows to OSX was never supported due to symlinks
Turning off R2R
To turn off R2R, the /PublishReadyToRun flag was set to false:
This caused a new set of errors:
Summery
I don't have access to an OSX box, so I cannot test that aspect. Maybe someone here can?
I don't know what to make of these error messages. I will continue to try to decipher them, but there is a lot of "terminal vomit" involved with this.
The text was updated successfully, but these errors were encountered: