← 返回列表
全部 Skill›工具 Tools›logicapps-custom-code-net10-migration

logicapps-custom-code-net10-migration

作者 @github · 语言 en
Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project/package configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.
工具 Tools调试工具通用读写文件待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
41,524
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Logic Apps custom code .NET 10 migration

Read the migration procedure before editing. Resolve bundled

files relative to this skill, not the target repository. Python 3.11+ is required only

for the helper; do not install dependencies or start services merely by activating this skill.

Procedure

  1. Establish the solution root, custom-code .csproj, and Logic Apps host.json root.

Infer existing names/layout; ask only about ambiguous project selection or effects.

Read repository instructions and affected configuration, including dirty changes,

inherited build/package/SDK settings, workspace and tool paths. Do not inspect C#

contents unless separately authorized to diagnose a build failure.

  1. Run the bundled helper in its default dry-run mode:

```powershell

python "<skill root>\scripts\migrate.py" --root "<solution root>"

```

Use --project "<csproj path>" to select among multiple custom-code projects.

The helper resolves LogicAppFolderToPublish; it does not require Functions

or LogicApps folder names. Read all reported blockers/warnings. It prints no

settings values and writes nothing in dry-run mode.

Default edits cover framework/SDK/publication/runtime alignment, not reference

dependency parity. Preserve absent Worker packages and existing debugger configuration.

Use --integrated-debug only when coordinated launching is requested/needed.

  1. For a requested migration, apply the reviewed plan with the same coordinates and

--apply. Do not apply for a comparison/plan-only request. The helper guards changed

files and rolls back its own completed writes on failure; it is not an atomic

multi-file transaction or a persistent backup. Preserve unrelated user edits.

  1. If the helper refuses central/conditional/imported configuration, newer unreviewed

SDK targets, or an unfamiliar debugger/layout, do not bypass the guard. Read the

owning configuration, resolve scope with the user when shared projects are affected,

and make targeted agent edits using repository tools. Never claim universal helper

coverage. Repeat the dry run to check idempotency for supported layouts.

  1. Validate with the repository's build/analyzers and approved package source. Use the

exact SDK selected by VS Code, not just PATH. Verify assembly/dependency publication

and generated local-function metadata. Review custom build/publication hooks and

obtain separate authorization for any deployment/network effects before building;

a disposable copy does not neutralize those hooks. Obtain permission for trigger/connector

effects before host startup or workflow execution. Follow the installed Logic Apps

runtime skill/procedure when available; otherwise perform ownership-aware VS Code

launch and verify actual execution, not just debugger attachment.

If the SDK's directory scan fails on a clean build, rerun the helper dry run/apply

with --ensure-output-directory, then repeat the failed build. Do not introduce

the guard as a universal framework requirement. Resolve genuine missing-dependency

errors individually; do not add Worker/HTTP/telemetry packages just to match a sample.

  1. Report changed configuration, dry-run/apply/tests, and separate states:

configuration migrated, build verified, local-function execution verified.

State blockers plainly. Always report the later deployment prerequisite:

Azure app settings must carry LOGIC_APPS_CUSTOMCODE_DOTNETVERSION=net10.0 and

FUNCTIONS_INPROC_NET8_ENABLED=1. Deployment through the Logic Apps extension

in VS Code copies these settings; pipelines must explicitly include them.

A local settings file alone does not configure Azure. Do not deploy, change

Azure app settings, or assert cloud/production support.

Invariants

  • Only upgrade the custom-code library; preserve host .NET 8 configuration.
  • Preserve names, workflows, connections, authentication, storage, unrelated dependencies,

workspace/task conventions, comments and secret exclusions.

  • Do not add sample-only HTTP, telemetry or framework references.
  • Do not introduce Program.cs or an executable worker host. Library Main() is

not automatically executed; source preservation is intent, not verified API compatibility.

  • No C# rewrites, SDK installation, restore, host start, Azure mutation or persistent

secret backups inside the configuration helper.

  • Do not silently downgrade packages, rewrite shared package management, suppress

restore/build errors, copy .NET 10 DLLs to net472, or manufacture passing checks.

Installation and test commands are in README.md.

Bundled resources include the migration helper,

regression tests, and MIT license.

评论
Ggithub
github
github/awesome-copilot
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@github
所属大类工具 Tools / 调试工具
国内可用性通用
最近源活动—
风险提示读写文件
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。