You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using shell/terminal tools, follow these rules strictly:
60
+
61
+
1. Treat non-zero terminal exit codes as immediate failures to investigate; do not continue as if the command succeeded.
62
+
2. If a bash session exits, assume it is dead and start a new command/session; do not wait for additional output from that session.
63
+
3. After any command expected to gather data, verify output was actually returned before proceeding.
64
+
4. If command execution failed, report the failure clearly and retry with a corrected command instead of waiting.
65
+
5. Avoid `set -e` in this automation context; prefer single-purpose commands with explicit follow-up checks so failures are visible without killing the shell unexpectedly.
66
+
6. Prefer shorter command batches over long chained scripts when collecting evidence; this makes bash exits easier to detect and recover from.
67
+
57
68
## Branch Naming
58
69
59
70
All branches created by AI agents **must** live under the `dev/automation/` prefix. Use a descriptive suffix, for example:
|`-p:Configuration=`|`Debug`|`Debug`, `Release`| Build configuration. Only applies if project and dependencies are being built. |
194
-
|`-p:NugetPath=`|`[blank]`| eg. `C:\my\nuget.exe`|_Only applies to `PackSqlClient`._ Path to `nuget.exe` to use. If not provided, defaults to `nuget.exe` in the PATH. |
195
191
|`-p:PackBuild=`|`true`|`true`, `false`| Whether or not to build the project before packing. If `false`, project must be built using the same parameters. |
196
192
|`-p:PackageVersion<TargetPackage>=`|`[blank]`| eg. `1.2.3-dev123`| Version to assign to the package, where `<TargetPackage>` can be one of: `['Abstractions', 'Azure', 'AkvProvider', 'Logging', 'SqlClient', 'SqlServer']`. If `PackBuild` is `true`, the assembly and file versions will be derived from this version. See Versioning for more details. |
197
193
194
+
For `PackSqlClient`, these additional parameters are optional overrides for dependency versions injected into the SqlClient nuspec during pack:
195
+
196
+
-`-p:PackageVersionAbstractions=<version>`
197
+
-`-p:PackageVersionLogging=<version>`
198
+
199
+
If omitted, `PackSqlClient` computes `AbstractionsPackageVersion` and `LoggingPackageVersion` from sibling projects using the current `BuildNumber` and `BuildSuffix` context.
200
+
198
201
#### Examples
199
202
200
203
Package Microsoft.Data.SqlClient.Internal.Logging into a NuGet package:
201
204
```bash
202
-
msbuild build.proj -t:PackLogging
205
+
dotnet build build.proj -t:PackLogging
203
206
```
204
207
205
-
Package Microsoft.Data.SqlClient if `nuget.exe` is not in the `$PATH` environment variable:
0 commit comments