-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NETSDK1139 when restoring any macOS project #135
Comments
I have also same issue error NETSDK1139: The target platform identifier ios was not recognized. |
@wjk do you have this file:
If not, just create it (it is a feature flag). The Android workload creates this file for you, but the other workloads don't. We should hopefully be removing the need for it completely in the next preview. @Divyeshpatel6073 your issue might be the same, but you would need to check the build log to know what file it's looking for. |
@jonathanpeppers Worked great! Thanks! |
@jonathanpeppers where am i check build log file? |
@Divyeshpatel6073 if you are running
You could also try installing the Android workload to see if that fixes it for you. |
@Divyeshpatel6073 can you file a new issue? Add |
@jonathanpeppers |
I have version 6.0.100-preview.3.21202.5 of the .NET SDK installed. I have created a sample project using the
dotnet new macos -o macos_test
command. But when I rundotnet restore
on that project, I get the following error (wrapped for readability):This occurs on any project using that TFM. What can be done about this?
msbuild.binlog
dotnet --info
output:The text was updated successfully, but these errors were encountered: