diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 8f06f838906..dfae76e0a0e 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -56,15 +56,12 @@ extends: displayName: 'Enable long paths in git' - checkout: self - task: UseDotNet@2 - displayName: 'Use .NET 8.x sdk' + displayName: 'Use .NET 8 and 10 sdk' inputs: packageType: sdk - version: 8.x - - task: UseDotNet@2 - displayName: 'Use .NET 6.x (for code signing tasks)' - inputs: - packageType: sdk - version: 6.x + version: | + 8.x + 10.x - task: DotNetCoreCLI@2 displayName: 'dotnet restore' inputs: diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index aa437fcc995..984837b5dcf 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1 +1,29 @@ This repository is used to capture generated code files. The code files are generated using microsoft/kiota. The primary purpose of the copilot reviewer is to identify any changes that can cause a regressions for an application that uses this library. You are required to create a comment anytime a code change occurs that changes an APIs signature in a way that is not additive. + +- Use only tools, commands, and workflows that are available in this repository's context. +- Do not instruct contributors or users to enable external tools that are not defined or documented in this repository. +- When reviewing changes, prioritize identifying regressions and non-additive API signature changes in generated code. + +## Commit Messages + +Always use conventional commit format: +- Format: `(): ` +- Types: feat, fix, build, chore, ci, docs, style, refactor, perf, test +- Keep subject line under 72 characters +- Use imperative mood ("add" not "added") + +Use conventional commits with these types: +- `feat:` - New features or capabilities +- `fix:` - Bug fixes +- `build:` - Build system or dependency changes +- `ci:` - CI/CD pipeline changes +- `docs:` - Documentation only changes +- `refactor:` - Code changes that neither fix bugs nor add features +- `test:` - Adding or updating tests +- `chore:` - Maintenance tasks + +Examples: +- `feat(users): add user profile endpoint` +- `fix(auth): resolve token refresh bug` +- `build: update .NET SDK to version 10.x` +- `docs: clarify authentication requirements` \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..a33887447e4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "azure-pipelines.1ESPipelineTemplatesSchemaFile": true +} \ No newline at end of file diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index e06e92b59db..a4e4926a566 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -52,7 +52,7 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md - +