installer
installer copied to clipboard
[17.4 Community Preview 2.1] SDK Resolver Failure
Hi, Yesterday, I installed the latest preview version. And then, I created a new Maui project with a template but I could not make it and got the error log.
error: SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildSdkResolver" failed while attempting to resolve the SDK "Microsoft.NET.Sdk". Exception: "System.FormatException: Invalid numeric identifier: 'new_6'.
How can I create it without any issues?
Before, I created it well on 17.4 Community Preview 2.0 Or, How can I install 17.4 Community Preview 2.0 again?
Could you help me? Thanks
@Redth any ideas? @sangwook96 can you search for "new_6" in the dotnet\sdk-manifests folder? Can you also run dotnet --info and share the results as well?
Is "new_6" in the project name? this could be potentially causing an issue too?
Could you share the project/solution that's failing to build?
@marcpopMSFT the path for the latest dotnet sdk and sdk-manifest folders are like below: sdk: C:\Program Files\dotnet\sdk\7.0.100-rc.2.22477.23 sdk-manifest: C:\Program Files\dotnet\sdk-manifests\7.0.100-rc.2 So, is it possible the Exception: "System.FormatException: Invalid numeric identifier is due the path as path have non-numeric characters?
@Redth we are using miengine code repo for custom debug-engine : https://github.com/microsoft/MIEngine.git you can clone and load it into VS2022Preview to get the error.
The same project (https://github.com/microsoft/MIEngine.git) loads well into VS2022 Community but not in latest Preview.
@Redth , @marcpopMSFT , HI Sorry, I did not see your answer. Now I saw it. After some days, my errors changed like NU1301: Unable to load the service index for source https://tizen.myget.org/F/dotnet/api/v3/index.json. NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. I can not download the nuget packages,so I can not build my project till now. I can not resolve it on 17.4 previews 2.1 and 3.0 and 4.0 till now.
Could you help me with the issue? Thanks
Those NU1301 usually means you don't have access to a particular feed but since those are online feeds, I'm not sure. @aortiz-msft @JonDouglas who may know more about the nuget errors.
Was this resolved in 17.4.0?
Old issue triage: No recent responses so closing.