acad-dotnetlisted
Install: claude install-skill autodesk-platform-services/skills
# Scaffold Skill — AutoCAD .NET Plugins
Agentic steps to create a new plugin project end-to-end. Execute these steps in order.
All csproj patterns here are verified against AutoCAD 2027 / .NET 10.
## Step 0 — Identify the target product
| User says | Target | Template | Extra packages |
|-----------|--------|----------|----------------|
| "AutoCAD plugin" / "acad add-in" | AutoCAD 2027 | `acad` | `AutoCAD.NET 26.0.0` |
| "Civil 3D plugin" / "c3d add-in" | Civil 3D 2027 | `civil` | `Civil3D.NET 13.9.628` |
| "Plant 3D plugin" / "plant add-in" | Plant 3D 2027 | *(manual)* | `AutoCAD.NET.Core 26.0.0` + SDK DLL refs |
| "Design Automation" / "DA" | Any (headless) | `acad` | Use `.Core` + `.Model` only (no AcMgd) |
---
## Step 1 — Scaffold
### AutoCAD
```bash
dotnet new acad -n <ProjectName> -o <ProjectName>
cd <ProjectName>
```
### Civil 3D
```bash
dotnet new civil --rootNamespace=<ProjectName> -o <ProjectName>
cd <ProjectName>
```
### Plant 3D (manual)
Create `<ProjectName>/<ProjectName>.csproj` — see Plant 3D section below.
---
## Step 2 — Fix csproj (CRITICAL)
Templates may generate outdated or incorrect settings. Apply all of these fixes:
### Target framework
If the template generated `net8.0-windows` or `net6.0-windows`, change to `net10.0-windows`.
### Platform target — x64 preferred over RuntimeIdentifier
```xml
<!-- WRONG for most plugins — creates RID subfolder, assembly won't load in AutoCAD -->
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<!-- CORREC