Skip to content

Commit 61107da

Browse files
sellakumaranclaude
andauthored
fix: Enable .NET runtime roll-forward for compatibility with newer versions (#276)
Add RollForward property to support running CLI on .NET 9, 10, and future versions without requiring exact .NET 8.0 installation. Changes: - Add <RollForward>Major</RollForward> to CLI csproj - Update README.md with .NET 8.0+ system requirements - Update CLAUDE.md to reflect cross-version compatibility - Update .NET badge to show "8.0+" instead of "8.0" Fixes issue where users with only newer .NET versions (e.g., 10.0.3) couldn't run the CLI without installing .NET 8.0 specifically. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1b73523 commit 61107da

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Project Overview
66

7-
Microsoft Agent 365 DevTools CLI (`a365`) - A .NET 8.0 CLI tool for deploying and managing Microsoft Agent 365 applications on Azure. Supports .NET, Node.js, and Python applications with auto-detection.
7+
Microsoft Agent 365 DevTools CLI (`a365`) - A .NET CLI tool built on .NET 8.0 with support for running on .NET 8.0 or higher (e.g., .NET 9, 10). Used for deploying and managing Microsoft Agent 365 applications on Azure. Supports .NET, Node.js, and Python applications with auto-detection.
88

99
## Build Commands
1010

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Downloads](https://img.shields.io/nuget/dt/Microsoft.Agents.A365.DevTools.Cli?label=Downloads&color=green)](https://www.nuget.org/packages/Microsoft.Agents.A365.DevTools.Cli)
55
[![Build Status](https://img.shields.io/github/actions/workflow/status/microsoft/Agent365-devTools/.github/workflows/ci.yml?branch=main&label=Build&logo=github)](https://github.com/microsoft/Agent365-devTools/actions)
66
[![License](https://img.shields.io/badge/License-MIT-blue)](LICENSE)
7-
[![.NET](https://img.shields.io/badge/.NET-8.0-512BD4)](https://dotnet.microsoft.com/)
7+
[![.NET](https://img.shields.io/badge/.NET-8.0+-512BD4)](https://dotnet.microsoft.com/)
88
[![Contributors](https://img.shields.io/github/contributors/microsoft/Agent365-devTools?label=Contributors)](https://github.com/microsoft/Agent365-devTools/graphs/contributors)
99

1010
> **Note:**
@@ -37,6 +37,11 @@ This project is currently in active development. The CLI is being actively devel
3737

3838
### Prerequisites
3939

40+
**System Requirements:**
41+
- **.NET 8.0 or higher**: The CLI requires .NET 8.0 runtime or any newer version (e.g., .NET 9, 10). [Download .NET](https://dotnet.microsoft.com/download)
42+
43+
**Entra ID App Registration:**
44+
4045
Before using the Agent365 CLI, you must create a custom Entra ID app registration with specific Microsoft Graph API permissions:
4146

4247
1. **Custom Client App Registration**: Create an app in your Entra ID tenant

src/Microsoft.Agents.A365.DevTools.Cli/Microsoft.Agents.A365.DevTools.Cli.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace>Microsoft.Agents.A365.DevTools.Cli</RootNamespace>
77

8+
<!-- Runtime Configuration: Allow running on newer .NET versions -->
9+
<RollForward>Major</RollForward>
10+
811
<!-- Package as .NET Tool -->
912
<IsPackable>true</IsPackable>
1013
<PackAsTool>true</PackAsTool>

0 commit comments

Comments
 (0)