# Compiler Warning ASPIRE010

<Badge
  text="Version introduced: 13.5"
  variant="note"
  size="large"
  class:list={'mb-1'}
/>

> '[ProjectName]' is configured with AspireUseCliBundle=false. Some Aspire features require the Aspire CLI bundle. Set AspireUseCliBundle=true to enable those features, or suppress ASPIRE010 to continue without the bundle. See https://aka.ms/aspire/diagnostics/aspire010 for more information.

This diagnostic warning is reported when a non-C# AppHost project, such as an F# (`.fsproj`) or Visual Basic (`.vbproj`) project, has `AspireUseCliBundle` set to `false`. Because `false` is the default for these projects, the warning is also reported when the property isn't set. Features that depend on the CLI bundle — such as resolving DCP and the Aspire Dashboard from the installed Aspire CLI instead of NuGet packages — remain unavailable.

C# AppHosts require the CLI bundle and report error [`ASPIRE013`](/diagnostics/aspire013/) instead. The two diagnostics are mutually exclusive.

## Example

The following configuration in a non-C# AppHost produces `ASPIRE010`:

```xml title="MyApp.AppHost.fsproj"
<PropertyGroup>
  <AspireUseCliBundle>false</AspireUseCliBundle>
</PropertyGroup>
```

## To correct this warning

Set `AspireUseCliBundle` to `true` to opt in to CLI bundle delegation:

```xml title="MyApp.AppHost.fsproj"
<PropertyGroup>
  <AspireUseCliBundle>true</AspireUseCliBundle>
</PropertyGroup>
```

When you opt in, an explicit `AspireCliPath` is authoritative. Otherwise, the default `Path` invocation mode selects a compatible `aspire` on `PATH`, with the SDK-paired Aspire CLI package through DNX as a fallback. Setting `AspireCliInvocationMode=Dnx` selects the unversioned package through DNX so a tool manifest can apply, while `DnxPinned` selects the version paired with the AppHost SDK. `AspireCliBundlePath` is a bundle-layout input, not an executable invocation candidate.

An unresolved bundle layout reports [`ASPIRE009`](/diagnostics/aspire009/). [`ASPIRE011`](/diagnostics/aspire011/) is limited to the run preflight when `Dnx` or `DnxPinned` mode can't find `dnx`; it doesn't represent every CLI resolution failure.

If you intend to keep using NuGet-restored orchestration dependencies, suppress `ASPIRE010`:

```xml title="MyApp.AppHost.fsproj"
<PropertyGroup>
  <AspireUseCliBundle>false</AspireUseCliBundle>
  <NoWarn>$(NoWarn);ASPIRE010</NoWarn>
</PropertyGroup>
```

For more information, see [Use the Aspire CLI bundle for orchestration dependencies](/get-started/aspire-sdk/#use-the-aspire-cli-bundle-for-orchestration-dependencies).