-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from mhutch/aspire-schemas
Add .NET Aspire schemas
- Loading branch information
Showing
12 changed files
with
139 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
MonoDevelop.MSBuild/Schemas/AspireAppHost.buildschema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"license": "Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.", | ||
"properties": { | ||
"AspireGeneratedClassesVisibility": { | ||
"description": "Controls the visibility of generated .NET Aspire classes, as a C# keyword", | ||
"type": { | ||
"values": { | ||
"public": "The generated class will have `public` visibility", | ||
"internal": "The generated class will have `internal` visibility" | ||
} | ||
}, | ||
"defaultValue": "public" | ||
}, | ||
"SkipValidateAspireHostProjectResources": { | ||
"description": "Skip validation of .NET Aspire AppHost project references", | ||
"type": "bool", | ||
"defaultValue": "false" | ||
}, | ||
"AspirePublisher": { | ||
"description": "Sets the publisher to be invoked by the `GenerateAspireManifest` target", | ||
"type": "string", | ||
"defaultValue": "manifest" | ||
}, | ||
"AspireManifestPublishOutputPath": { | ||
"description": "The path to the output directory for the .NET Aspire manifest publish", | ||
"type": "folder-with-slash" | ||
} | ||
}, | ||
"targets": { | ||
"GenerateAspireManifest": "Generates a .NET Aspire manifest file for the project at the path indicated by the `AspireManifestPublishOutputPath` property " | ||
}, | ||
"types": { | ||
"aspire-apphost-warning": { | ||
"baseType": "warning-code", | ||
"values": { | ||
"ASPIRE004": "Project referenced by Aspire AppHost is not an executable" | ||
} | ||
} | ||
}, | ||
} |
13 changes: 13 additions & 0 deletions
13
MonoDevelop.MSBuild/Schemas/AspireDashboardSdk.buildschema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"license": "Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.", | ||
"properties": { | ||
"AspireDashboardDir": { | ||
"description": "The directory where the .NET Aspire Dashboard is located", | ||
"type": "folder-with-slash" | ||
}, | ||
"AspireDashboardPath": { | ||
"description": "The path to the .NET Aspire Dashboard binary", | ||
"type": "file" | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
MonoDevelop.MSBuild/Schemas/AspireHostingOrchestration.buildschema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"license": "Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.", | ||
"properties": { | ||
"DcpDir": { | ||
"description": "The path to the directory containing the DCP tools.", | ||
"type": "folder-with-slash" | ||
}, | ||
"DcpExtensionsDir": { | ||
"description": "The path to the directory containing the DCP tool extensions.", | ||
"type": "folder-with-slash" | ||
}, | ||
"DcpBinDir": { | ||
"description": "The path to the directory containing the DCP tool extension binaries.", | ||
"type": "folder-with-slash" | ||
}, | ||
"DcpCliPath": { | ||
"description": "The path to the DCP CLI executable.", | ||
"type": "file" | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
MonoDevelop.MSBuild/Schemas/AspireHostingSdk.buildschema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"license": "Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.", | ||
"types": { | ||
"aspire-hosting-sdk-warning": { | ||
"baseType": "warning-code", | ||
"values": { | ||
"ASPIRE002": "Aspire AppHost project has missing dependencies", | ||
"ASPIRE003": "Visual Studio version is too old for Aspire AppHost project" | ||
} | ||
} | ||
}, | ||
"metadata": [ | ||
{ | ||
"$appliesTo": [ "ProjectReference" ], | ||
"IsAspireProjectResource":{ | ||
"type": "bool", | ||
"description": "Indicates that the referenced project should be orchestrated by the .NET Aspire AppHost, instead of referencing its output assembly.", | ||
"defaultValue": "true" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters