MAUI - Error

0 Answers 502 Views
General Discussions
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 15 Mar 2022, 06:38 AM

Hi,

I get this error.

It connected to VS preview ?

To project itself ?

To telerik controls ?

How is can be solved ?

Severity	Code	Description	Project	File	Line	Suppression State
Error	NETSDK1047	Assets file 'D:\Applications\Backups\AutomationClient\AutomationClient.MAUI\obj\project.assets.json' doesn't have a target for 'net6.0-ios/ios-arm64'. Ensure that restore has run and that you have included 'net6.0-ios' in the TargetFrameworks for your project. You may also need to include 'ios-arm64' in your project's RuntimeIdentifiers.	AutomationClient.MAUI	C:\Program Files\dotnet\sdk\6.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267	


Carey
Top achievements
Rank 1
commented on 15 Mar 2022, 08:03 PM

I hit something similar to this, close the project and run the following command from a command prompt:

dotnet workload install ios

 

Lance | Senior Manager Technical Support
Telerik team
commented on 15 Mar 2022, 08:26 PM

You can also use `dotnet workload install maui --ignore-failed-sources` to install everything needed.

Note: If you're using a connected Mac, make sure the Mac has everything installed as well. Open Terminal there and run the same command.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Share this question
or