AIGuiders.DotnetTools.PublishFixedTarget
0.1.2
dotnet tool install --global AIGuiders.DotnetTools.PublishFixedTarget --version 0.1.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local AIGuiders.DotnetTools.PublishFixedTarget --version 0.1.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AIGuiders.DotnetTools.PublishFixedTarget&version=0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package AIGuiders.DotnetTools.PublishFixedTarget --version 0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
aid-publish
aid-publish is a .NET tool that wraps dotnet publish with two pragmatic features:
- Mirrors the publish output into a fixed target directory (no-spaces friendly) so you can reliably point MCP configs or shortcuts to a stable path.
- Optionally kills the running app only if it is running from that target path (prevents file-lock publish failures).
Install (local tool)
From a repo root:
dotnet tool install AIGuiders.DotnetTools.PublishFixedTarget
Usage
dotnet aid-publish -Project path/to/app.csproj -Target D:\my-app-debug -Runtime win-x64 -Configuration Debug -SelfContained -KillRunning
Show help:
dotnet aid-publish -Help
Options (high level)
-Project:.csprojto publish (required)-Target: target directory to mirror into (required)-Runtime: RID (defaultwin-x64)-Configuration:DebugorRelease(defaultDebug)-SelfContained: publish self-contained-OutDir: publish output directory (default:publish-{configuration})-AppExeName: executable/process name if it differs from project file name-KillRunning: kill the app if it is running from the target path-MsbuildProp: repeatable/p:Name=Value-DotnetArg: repeatable extra args appended todotnet publish-RequireMirrorFile: repeatable relative path — after mirroring must exist as file underTarget. Example for RoslynMcp (Microsoft.CodeAnalysis.Workspaces.MSBuild):BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll— catches incomplete publish output before MCP fails at runtime.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.