Replaced db project readme file with opening a doc in browser after project is created (#19543)

This commit is contained in:
Leila Lali
2022-05-27 08:24:00 -07:00
committed by GitHub
parent 1d276d90e0
commit 6b10ecd588
23 changed files with 33 additions and 105 deletions

View File

@@ -1,20 +0,0 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as path from 'path';
export interface ProjectAssets {
readmeFolder?: string
}
export let targetPlatformToAssets: Map<string, ProjectAssets>;
export function loadAssets(assetsFolderPath: string) {
targetPlatformToAssets = new Map<string, ProjectAssets>([
['AzureV12', {
readmeFolder: path.join(assetsFolderPath, 'AzureV12')
}],
]);
}

View File

@@ -44,7 +44,8 @@ export class SqlDatabaseProjectProvider implements dataworkspace.IProjectProvide
defaultTargetPlatform: sqldbproj.SqlTargetPlatform.sqlAzure,
icon: IconPathHelper.azureSqlDbProject,
sdkStyleOption: true,
sdkStyleLearnMoreUrl: constants.sdkLearnMoreUrl
sdkStyleLearnMoreUrl: constants.sdkLearnMoreUrl,
learnMoreUrl: constants.azureDevOpsLink
},
{
id: constants.emptySqlDatabaseProjectTypeId,