From 7a1c6cd4e8c5d199b208388d8bfe61937893c877 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Thu, 27 Jun 2024 10:10:18 -0700 Subject: [PATCH] Install csharp parser tool during deplpyment --- src/dotnet/APIView/apiview.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dotnet/APIView/apiview.yml b/src/dotnet/APIView/apiview.yml index 26ee15b5e40..3e8d08b605e 100644 --- a/src/dotnet/APIView/apiview.yml +++ b/src/dotnet/APIView/apiview.yml @@ -60,6 +60,8 @@ extends: value: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1" - name: CosmosEmulatorConnectionString value: "AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==" + - name: AzureSdkForNetDevOpsFeed + value: "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json" - name: TestingDataContainer value: "https://apiviewuitest.blob.core.windows.net/testingdata" - ${{ if ne(variables['System.TeamProject'], 'internal') }}: @@ -311,6 +313,7 @@ extends: echo Installing npm packages call npm install --prefix D:\home\site\wwwroot --force call npm run-script build --prefix D:\home\site\wwwroot --force + call dotnet tool install --global --add-source '$(AzureSdkForNetDevOpsFeed)' --version 1.0.0-dev.20240626.4 CSharpAPIParser call D:\home\site\wwwroot\Python\python -m pip uninstall api-stub-generator call D:\home\site\wwwroot\Python\python -m pip install pylint==2.13.9 pylint-guidelines-checker==0.0.6 api-stub-generator==0.3.2 --index-url "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" enableCustomDeployment: true