Unable to run Blazor app In VS for Mac(17.4 Preview)
We have a Blazor project which includes web app and MAUI-Blazor project.
While running the MAUI-Blazor app, we have following error in one of the linked project(it is net6.0 project)
/usr/local/share/dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(5,5): Error NETSDK1005: Assets file '/Users/newuser/Documents/POC/Client/PT.Components/obj/project.assets.json' doesn't have a target for 'net6.0'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. (NETSDK1005) (PT.Components)
While checking came to know that there was error while restoring nuget packages.
It was failing for some packages and throws below error,
Restoring packages for .NETCoreApp,Version=v6.0...
Failed to retrieve information
I have tried clearing Nuget Cache, Clearing telerik credentials from keychain, updating nuget package, but everying failed.
Kindly help to resolve the issue.
Please find below details
- Using Visual Studio for mac 17.4 preview
- Attached log for restoring 234878-restore-log.txt