AutoRest.CSharp.V3
see https://aka.ms/autorest
Setup
Build
dotnet build
(at root)
./eng/Generate.ps1
(at root in PowerShell Core)
Configuration
# autorest-core version
version: 3.0.6198
use-extension:
"@autorest/modelerfour": "4.3.144"
pipeline:
csharpgen:
input: modelerfour/identity
csharpgen/emitter:
input: csharpgen
scope: output-scope
output-scope:
output-artifact: source-file-csharp
pipeline:
csharpproj:
input: modelerfour/identity
csharpproj/emitter:
input: csharpproj
scope: output-scope
csharpproj/emitter/command:
input:
- csharpgen/emitter
- csharpproj/emitter
run: dotnet build $(title).csproj --verbosity quiet /nologo