dotnet / dotnet/xcsync

No .NET SDKs were found.

Open
#186 1 comment 0 reactions 1 assignee Claimed by @mcumming View on GitHub
Dominant language
C#
Stars
25
Forks
10
Avg merge
12h 50m
Merged PRs (30d)
10

Description

Hi there,

I'm not able to run the `xcsnyc` command, the following error appears. Do I need to set a specific environment variable that `xcsync` finds the SDK?

```
xcsync -help
xcSync v1.0.0.0, (c) Microsoft Corporation. All rights reserved.

No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet/download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Unhandled exception. System.InvalidOperationException: Failed to find all versions of .NET Core MSBuild. Call to hostfxr_resolve_sdk2. There may be more details in stderr.
```

```
dotnet workload list

Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------
maui 9.0.14/9.0.100 SDK 9.0.100
```

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.