From 7b17d0dbfe6c04ad85a0d085336066d28f13c222 Mon Sep 17 00:00:00 2001 From: MiYanni Date: Mon, 17 Dec 2018 14:43:03 -0800 Subject: [PATCH] Made the module output folder be 'artifacts' at the repo root. Updated all references to src/Package//ResourceManager/AzureResourceManager/ that I could find. Removed legacy/unused files or logic that used this old output pathing. --- .dockerignore | 4 +- .gitignore | 2 +- .travis.yml | 3 - Dockerfile | 2 +- Repo.props | 2 +- build.proj | 79 +- .../Debugging-StaticAnalysis-Errors.md | 6 +- .../azure-powershell-developer-guide.md | 5 +- .../generate-format.ps1xml-file.md | 34 +- .../development-docs/help-generation.md | 8 +- documentation/troubleshoot-ci.md | 2 +- src/Az.props | 2 +- .../Commands.StorageSync.csproj.user | 13 - .../Commands.StorageSync/debug.Netcore.ps1 | 4 +- .../Commands.StorageSync/debug.ps1 | 223 ------ .../StorageSync/Tools/storageSyncDevops.psm1 | 10 +- tools/BuildDrop.ps1 | 2 +- tools/BuildInstaller.ps1 | 2 +- .../AuthenticodeSignedTaskSmokeTest.proj | 1 - tools/CheckAssemblies.ps1 | 4 +- tools/CheckBinScope.ps1 | 10 +- tools/CheckPoliCheck.ps1 | 6 +- tools/CleanupBuild.ps1 | 15 +- tools/CreateRegistryEntry.ps1 | 2 +- tools/Docs/Get-AllCommands/.gitignore | 2 - .../Docs/Get-AllCommands/Get-AllCommands.ps1 | 695 ------------------ .../Templates/PSProject_Template.xml | 22 - .../Get-AllCommands/Templates/ProjectList.xml | 4 - tools/GenerateHelp.ps1 | 8 +- tools/Installer/generate.ps1 | 5 +- tools/LegacyScripts/Build.ps1 | 18 - tools/LegacyScripts/InstallLatestSdk.ps1 | 70 -- tools/LegacyScripts/RunCheckInTests.ps1 | 19 - .../LegacyScripts/RunMockedScenarioTests.ps1 | 18 - tools/LegacyScripts/SetupEnv.ps1 | 71 -- tools/LegacyScripts/SetupHttpRecordEnv.ps1 | 16 - .../SetupLiveScenarioTestEnv.ps1 | 46 -- tools/LegacyScripts/SetupTestEnv.ps1 | 28 - tools/LegacyScripts/VerifyAzureSDK.ps1 | 23 - tools/Modules/Run-UnitTests.ps1 | 148 ---- .../NetCoreCsProjGenerator.cs | 2 +- tools/NewHelpIndex.ps1 | 18 +- tools/NewOutputTypeIndex.ps1 | 3 +- tools/PublishModules.ps1 | 10 +- .../Exceptions/Az.Aks/MissingAssemblies.csv | 4 +- .../Az.AnalysisServices/MissingAssemblies.csv | 4 +- .../Az.ApiManagement/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Az.Automation/MissingAssemblies.csv | 4 +- .../AssemblyVersionConflict.csv | 1 - .../Az.AzStackAdmin/BreakingChangeIssues.csv | 1 - .../Az.AzStackAdmin/ExtraAssemblies.csv | 1 - .../Exceptions/Az.AzStackAdmin/HelpIssues.csv | 3 - .../Az.AzStackAdmin/MissingAssemblies.csv | 1 - .../Az.AzStackAdmin/SignatureIssues.csv | 1 - .../AssemblyVersionConflict.csv | 1 - .../BreakingChangeIssues.csv | 1 - .../Az.AzStackStorage/ExtraAssemblies.csv | 1 - .../Az.AzStackStorage/HelpIssues.csv | 2 - .../Az.AzStackStorage/MissingAssemblies.csv | 1 - .../Az.AzStackStorage/SignatureIssues.csv | 1 - .../Az.Batch/AssemblyVersionConflict.csv | 4 +- .../Exceptions/Az.Batch/MissingAssemblies.csv | 4 +- .../Az.Billing/MissingAssemblies.csv | 4 +- .../Exceptions/Az.Cdn/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Az.Compute/AssemblyVersionConflict.csv | 2 +- .../Az.Compute/MissingAssemblies.csv | 4 +- .../Az.Consumption/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Az.DataFactoryV2/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Az.DataLakeStore/MissingAssemblies.csv | 4 +- .../Az.DataMigration/MissingAssemblies.csv | 4 +- .../Az.DataMigration/SignatureIssues.csv | 16 +- .../Az.DevSpaces/MissingAssemblies.csv | 4 +- .../Az.DevTestLabs/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Exceptions/Az.Dns/MissingAssemblies.csv | 4 +- .../Az.EventGrid/MissingAssemblies.csv | 4 +- .../Az.EventHub/MissingAssemblies.csv | 4 +- .../Az.FrontDoor/MissingAssemblies.csv | 4 +- .../Az.FrontDoor/SignatureIssues.csv | 22 +- .../Az.HDInsight/AssemblyVersionConflict.csv | 1 - .../Az.HDInsight/MissingAssemblies.csv | 4 +- .../Az.Insights/MissingAssemblies.csv | 4 +- .../Az.IotCentral/MissingAssemblies.csv | 4 +- .../Az.IotHub/MissingAssemblies.csv | 4 +- .../Az.KeyVault/MissingAssemblies.csv | 4 +- .../Az.LogicApp/MissingAssemblies.csv | 4 +- .../Az.MachineLearning/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Exceptions/Az.Maps/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Exceptions/Az.Media/MissingAssemblies.csv | 4 +- .../Az.Network/MissingAssemblies.csv | 4 +- .../Az.NotificationHubs/MissingAssemblies.csv | 4 +- .../MissingAssemblies.csv | 4 +- .../Az.PolicyInsights/MissingAssemblies.csv | 4 +- .../Az.PowerBIEmbedded/MissingAssemblies.csv | 4 +- .../Az.Profile/MissingAssemblies.csv | 6 +- .../Az.RecoveryServices/MissingAssemblies.csv | 4 +- .../Az.RedisCache/AssemblyVersionConflict.csv | 2 +- .../Az.RedisCache/MissingAssemblies.csv | 4 +- .../Exceptions/Az.Relay/MissingAssemblies.csv | 4 +- .../Az.Reservations/MissingAssemblies.csv | 4 +- .../Az.ResourceGraph/MissingAssemblies.csv | 4 +- .../Az.Resources/MissingAssemblies.csv | 4 +- .../Az.Search/MissingAssemblies.csv | 4 +- .../Az.Security/MissingAssemblies.csv | 4 +- .../Az.ServiceBus/MissingAssemblies.csv | 4 +- .../Az.ServiceFabric/MissingAssemblies.csv | 4 +- .../Az.SignalR/MissingAssemblies.csv | 4 +- .../Exceptions/Az.Sql/MissingAssemblies.csv | 4 +- .../Az.Storage/AssemblyVersionConflict.csv | 26 +- .../Az.Storage/MissingAssemblies.csv | 6 +- .../Az.StorageSync/MissingAssemblies.csv | 4 +- .../Az.StreamAnalytics/MissingAssemblies.csv | 4 +- .../Az.Subscription/MissingAssemblies.csv | 4 +- .../Exceptions/Az.Tags/MissingAssemblies.csv | 4 +- .../Az.TrafficManager/MissingAssemblies.csv | 4 +- .../Az.UsageAggregates/MissingAssemblies.csv | 4 +- .../Az.Websites/MissingAssemblies.csv | 4 +- tools/StaticAnalysis/Program.cs | 7 +- .../StaticAnalysis.Netcore.csproj | 2 +- tools/StaticAnalysis/StaticAnalysis.csproj | 4 +- tools/TestModuleLoading.ps1 | 4 +- tools/TestNet472Modules.ps1 | 4 +- tools/Tools.Common/Tools.Common.csproj | 4 +- tools/UpdateBreakingChangeDocs.ps1 | 28 +- tools/UpdateChangeLog.ps1 | 30 +- tools/UpdateModules.ps1 | 6 +- .../Models/VersionFileHelper.cs | 18 +- tools/VersionController/Program.cs | 16 +- .../VersionController.csproj | 2 +- 139 files changed, 296 insertions(+), 1844 deletions(-) delete mode 100644 src/ResourceManager/StorageSync/Commands.StorageSync/Commands.StorageSync.csproj.user delete mode 100644 src/ResourceManager/StorageSync/Commands.StorageSync/debug.ps1 delete mode 100644 tools/Docs/Get-AllCommands/.gitignore delete mode 100644 tools/Docs/Get-AllCommands/Get-AllCommands.ps1 delete mode 100644 tools/Docs/Get-AllCommands/Templates/PSProject_Template.xml delete mode 100644 tools/Docs/Get-AllCommands/Templates/ProjectList.xml delete mode 100644 tools/LegacyScripts/Build.ps1 delete mode 100644 tools/LegacyScripts/InstallLatestSdk.ps1 delete mode 100644 tools/LegacyScripts/RunCheckInTests.ps1 delete mode 100644 tools/LegacyScripts/RunMockedScenarioTests.ps1 delete mode 100644 tools/LegacyScripts/SetupEnv.ps1 delete mode 100644 tools/LegacyScripts/SetupHttpRecordEnv.ps1 delete mode 100644 tools/LegacyScripts/SetupLiveScenarioTestEnv.ps1 delete mode 100644 tools/LegacyScripts/SetupTestEnv.ps1 delete mode 100644 tools/LegacyScripts/VerifyAzureSDK.ps1 delete mode 100644 tools/Modules/Run-UnitTests.ps1 delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/AssemblyVersionConflict.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/BreakingChangeIssues.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/ExtraAssemblies.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/HelpIssues.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/MissingAssemblies.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/SignatureIssues.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackStorage/AssemblyVersionConflict.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackStorage/BreakingChangeIssues.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackStorage/ExtraAssemblies.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackStorage/HelpIssues.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackStorage/MissingAssemblies.csv delete mode 100644 tools/StaticAnalysis/Exceptions/Az.AzStackStorage/SignatureIssues.csv diff --git a/.dockerignore b/.dockerignore index 1b13e164f9e6..a101a852ec1f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,6 +2,6 @@ **/* # Include the build. -!src/Package/Release/ResourceManager/**/* -!src/Package/Debug/ResourceManager/**/* +!artifacts/Release/**/* +!artifacts/Debug/**/* !tools/InstallationTests/NetcoreTests/**/* \ No newline at end of file diff --git a/.gitignore b/.gitignore index 531014c99340..0b3fe6e84db4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # Azure PowerShell specific src/Publish/ -src/Package/ +artifacts/ src/Stack/ src/local-artifacts/* /tools/AzureRM/AzureRM.psm1 diff --git a/.travis.yml b/.travis.yml index d7806bc4d9d2..d6a667698f71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,9 +25,6 @@ before_install: # https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-383489298 script: - sudo dotnet msbuild build.proj /t:Full /p:Configuration=$CONFIG || travis_terminate 1 - # - sudo dotnet src/Package/StaticAnalysis/StaticAnalysis.Netcore.dll -p $TRAVIS_BUILD_DIR/src/Package/$CONFIG -r $TRAVIS_BUILD_DIR/src/Package/StaticAnalysis -u || travis_terminate 1 - # - sudo pwsh -NonInteractive -NoLogo -NoProfile -File tools/TestModuleLoading.ps1 || travis_terminate 1 - # - sudo dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter "AcceptanceType=CheckIn&RunType!=DesktopOnly" --configuration $CONFIG --framework netcoreapp2.0 after_success: - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then diff --git a/Dockerfile b/Dockerfile index a70d8739f4dd..77bf9141445c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,5 @@ FROM mcr.microsoft.com/powershell ARG CONFIG=Release -COPY src/Package/${CONFIG}/ResourceManager/AzureResourceManager /usr/local/share/powershell/Modules +COPY artifacts/${CONFIG} /usr/local/share/powershell/Modules COPY tools/InstallationTests/NetcoreTests /azpstests diff --git a/Repo.props b/Repo.props index 6bc6321aa3ad..973277ac7fa0 100644 --- a/Repo.props +++ b/Repo.props @@ -3,7 +3,7 @@ $(MSBuildThisFileDirectory) $(RepoRoot)src\ - $(RepoSrc)Package\ + $(RepoRoot)artifacts\ $(RepoRoot)tools\ diff --git a/build.proj b/build.proj index 759701fad16b..5fd084958e25 100644 --- a/build.proj +++ b/build.proj @@ -1,47 +1,47 @@ - - - + - --> + @@ -255,15 +255,6 @@ - - - - - - - - - @@ -430,7 +421,7 @@ -s - + @@ -449,7 +440,7 @@ -s - + @@ -514,7 +505,7 @@ - + @@ -523,7 +514,7 @@ - + diff --git a/documentation/Debugging-StaticAnalysis-Errors.md b/documentation/Debugging-StaticAnalysis-Errors.md index c59d1b778d31..a8afebf2d40b 100644 --- a/documentation/Debugging-StaticAnalysis-Errors.md +++ b/documentation/Debugging-StaticAnalysis-Errors.md @@ -12,16 +12,16 @@ Our StaticAnalysis tools help us ensure our modules follow PowerShell guidelines ## How to know if you have a StaticAnalysis Error If your build is failing, click on the Jenkins job inside the PR (marked as "Default" within checks). Then check the Console Output within the Jenkins job. If you have this error, then you have failed StaticAnalysis: ``` -d:\workspace\powershell\build.proj(511,5): error MSB3073: The command "d:\workspace\powershell\src\Package\StaticAnalysis.exe d:\workspace\powershell\src\Package\Debug d:\workspace\powershell\src\Package true false" exited with code 255. +d:\workspace\powershell\build.proj(511,5): error MSB3073: The command "d:\workspace\powershell\artifacts\StaticAnalysis.exe d:\workspace\powershell\artifacts\Debug d:\workspace\powershell\artifacts true false" exited with code 255. ``` ## Where to find StaticAnalysis reports The StaticAnalysis reports could show up in two different places in the CI build: - On the status page in Jenkins, under the Build Artifacts: the relevant files are `BreakingChangeIssues.csv`, `SignatureIssues.csv`, and/or `HelpIssues.csv`. -- On the status page in Jenkins, click Build Artifacts then navigate to src/Package. You will see `BreakingChangeIssues.csv`, `SignatureIssues.csv`, and/or `HelpIssues.csv`. +- On the status page in Jenkins, click Build Artifacts then navigate to artifacts. You will see `BreakingChangeIssues.csv`, `SignatureIssues.csv`, and/or `HelpIssues.csv`. -Locally, the StaticAnalysis report will show up under Azure-PowerShell/src/Package. You will see `BreakingChangeIssues.csv`, `SignatureIssues.csv`, and/or `HelpIssues.csv`. You can generate these files by running +Locally, the StaticAnalysis report will show up under Azure-PowerShell/artifacts. You will see `BreakingChangeIssues.csv`, `SignatureIssues.csv`, and/or `HelpIssues.csv`. You can generate these files by running ``` msbuild build.proj ``` diff --git a/documentation/development-docs/azure-powershell-developer-guide.md b/documentation/development-docs/azure-powershell-developer-guide.md index de64a1071b20..69133a684ecd 100644 --- a/documentation/development-docs/azure-powershell-developer-guide.md +++ b/documentation/development-docs/azure-powershell-developer-guide.md @@ -168,7 +168,6 @@ Now, you'll need to edit the solution file. Open the `.sln` in your tex After the solution file is updated, save and close it. Now, open the solution file in Visual Studio. Right click on the `Commands.` project in the `Solution Explorer` and select `Unload project`. Right click on the unloaded project and select `Edit Commands..csproj`. Once opened, ensure that the following things are changed: - The `AssemblyNamespace` and `RootNamespace` attributes of the project _must_ be changed to `Microsoft.Azure.PowerShell.Cmdlets.`. If these changes are not made, then the assembly produced from this project is not be signed and results in errors when users try to use your module. -- Change the `OutputPath` attribute to `$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.\` - Change the particular `` containing `` Right click on the project and select `Reload project`, and then build the solution by either right clicking on the solution and selecting `Rebuild Solution` or, from the top of Visual Studio, selecting `Build > Rebuild Solution`. If the build does not succeed, open the `.csproj` file and ensure there are no errors. @@ -198,7 +197,7 @@ To import modules automatically when debug has started, follow the below steps: - In the **Debug** tab mentioned previously, go to **Start Options** - Import the Profile module, along with the module you are testing, by pasting the following in the **Command line arguments** box (_note_: you have to update the and values provided below): - - `-NoExit -Command "Import-Module /src/Package/Debug/ResourceManager/AzureResourceManager/Az.Accounts/Az.Accounts.psd1;Import-Module /src/Package/Debug/ResourceManager/AzureResourceManager/Az./Az..psd1;$VerbosePreference='Continue'"` + - `-NoExit -Command "Import-Module /artifacts/Debug/Az.Accounts/Az.Accounts.psd1;Import-Module /artifacts/Debug/Az./Az..psd1;$VerbosePreference='Continue'"` - **Note**: if you do not see all of the changes you made to the cmdlets when importing your module in a PowerShell session (_e.g.,_ a cmdlet you added is not recognized as a cmdlet), you may need to delete any existing Azure PowerShell modules that you have on your machine (installed through the PowerShell Gallery) before you import your module. ## Adding Help Content @@ -303,7 +302,7 @@ $subcriptions = $job | Receive-Job ## Argument Completers -PowerShell uses Argument Completers to provide tab completion for users. At the moment, Azure PowerShell has two specific argument completers that should be applied to relevant parameters, and one generic argument completer that can be used to tab complete with a given list of values. To test the completers, run a complete build after you have added the completers (`msbuild build.proj`) and ensure that the psm1 file (`Az..psm1`) has been added to the psd1 file found in `src/Package/Debug/ResourceManager/AzureResourceManager/AzureRM./AzureRM..psd1` under "Root Module". +PowerShell uses Argument Completers to provide tab completion for users. At the moment, Azure PowerShell has two specific argument completers that should be applied to relevant parameters, and one generic argument completer that can be used to tab complete with a given list of values. To test the completers, run a complete build after you have added the completers (`msbuild build.proj`) and ensure that the psm1 file (`Az..psm1`) has been added to the psd1 file found in `artifacts/Debug/Az./Az..psd1` under "Root Module". ### Resource Group Completer diff --git a/documentation/development-docs/generate-format.ps1xml-file.md b/documentation/development-docs/generate-format.ps1xml-file.md index 0657e1a1e79a..45159f74a90c 100644 --- a/documentation/development-docs/generate-format.ps1xml-file.md +++ b/documentation/development-docs/generate-format.ps1xml-file.md @@ -315,13 +315,13 @@ This will place the column at the very beginning of the table. PS E:\git\azure-powershell> msbuild build.proj /p:SkipHelp=true ``` -* After the build is completed you can find build artifacts in the ```.\src\Package\Debug``` folder: +* After the build is completed you can find build artifacts in the ```.\artifacts\Debug``` folder: ```Powershell -PS E:\git\azure-powershell> ls .\src\Package\Debug\ +PS E:\git\azure-powershell> ls .\artifacts\Debug\ - Directory: E:\git\azure-powershell\src\Package\Debug + Directory: E:\git\azure-powershell\artifacts\Debug Mode LastWriteTime Length Name @@ -340,15 +340,15 @@ d----- 4/25/2018 4:35 PM Storage PS E:\git\azure-powershell> Import-Module E:\git\azure-powershell\tools\RepoTasks\RepoTasks.Cmdlets\bin\Debug\RepoTasks.Cmdlets.dll ``` 3. Run the **New-FormatPs1Xml** cmdlet. -* The cmdlet has one required argument **-ModulePath** - a path to a module manifest (psd1) file. Since in our example we are using the Get-AzSubscription cmdlet from the Az.Profile module we need to specify path to the Az.Profile module manifest which is +* The cmdlet has one required argument **-ModulePath** - a path to a module manifest (psd1) file. Since in our example we are using the Get-AzSubscription cmdlet from the Az.Accounts module we need to specify path to the Az.Accounts module manifest which is ``` -E:\git\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Profile\Az.Profile.psd1 +E:\git\azure-powershell\artifacts\Debug\Az.Accounts\Az.Accounts.psd1 ``` * Also with the cmdlet we need to use **-OnlyMarkedProperties** switch. * You may also want to specify an output path for the generated file with the **-OutputPath** argument. If not specified this is current folder. ``` -PS E:\git\azure-powershell> New-FormatPs1Xml -ModulePath .\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Profile\Az.Profile.psd1 -OnlyMarkedProperties +PS E:\git\azure-powershell> New-FormatPs1Xml -ModulePath .\artifacts\Debug\Az.Accounts\Az.Accounts.psd1 -OnlyMarkedProperties E:\git\azure-powershell\Microsoft.Azure.Commands.Profile.generated.format.ps1xml ``` @@ -356,17 +356,17 @@ E:\git\azure-powershell\Microsoft.Azure.Commands.Profile.generated.format.ps1xml # How to test the format.ps1xml file. -**Note:** All the paths used in the example in the section are under **_azure-powershell/src/Package/Debug_** +**Note:** All the paths used in the example in the section are under **_azure-powershell/artifacts/Debug_** 1. **Copy** the generated format.ps1xml file to the built module folder (this is where your module manifest file psd1 is located). In our example the module folder is ``` -E:\git\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Profile +E:\git\azure-powershell\artifacts\Debug\Az.Accounts ``` 2. Modify your module manifest file. -* In our example the module manifest is Az.Profile.psd1: +* In our example the module manifest is Az.Accounts.psd1: ``` -E:\git\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Profile\Az.Profile.psd1 +E:\git\azure-powershell\artifacts\Debug\Az.Accounts\Az.Accounts.psd1 ``` * In the module manifest file there is a variable called **FormatsToProcess** to reference format.ps1xml files. @@ -387,9 +387,9 @@ FunctionsToExport = @() # script omitted for brevity ``` -3. Open a **PowerShell window** and **import** your module. In our example it is Az.Profile: +3. Open a **PowerShell window** and **import** your module. In our example it is Az.Accounts: ```Powershell -PS C:\> Import-Module E:\git\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Profile\Az.Profile.psd1 +PS C:\> Import-Module E:\git\azure-powershell\artifacts\Debug\Az.Accounts\Az.Accounts.psd1 ``` 4. Try your cmdlet out. In our example it is Get-AuzreRmSubsription: @@ -423,8 +423,8 @@ c9cbd920-c00c-427c-852b-c329e824c3a8 Azure SDK Powershell Test Enabled 72f988bf- Designer PreserveNewest - - AzureRM.Profile.psd1 + + Az.Accounts.psd1 PreserveNewest @@ -433,12 +433,10 @@ c9cbd920-c00c-427c-852b-c329e824c3a8 Azure SDK Powershell Test Enabled 72f988bf- - - - + ``` -3. Add the generated format.ps1xml file to your source module manifest **FormatsToProcess** variable. In our example this is [src/ResourceManager/Profile/Az.Profile.psd1](https://github.com/Azure/azure-powershell/blob/master/src/ResourceManager/Profile/Az.Profile.psd1) file: +3. Add the generated format.ps1xml file to your source module manifest **FormatsToProcess** variable. In our example this is [src/ResourceManager/Profile/Az.Accounts.psd1](https://github.com/Azure/azure-powershell/blob/master/src/ResourceManager/Profile/Az.Accounts.psd1) file: ```Powershell # script omitted for brevity diff --git a/documentation/development-docs/help-generation.md b/documentation/development-docs/help-generation.md index 011886e6abb0..78c53ca92fac 100644 --- a/documentation/development-docs/help-generation.md +++ b/documentation/development-docs/help-generation.md @@ -25,9 +25,9 @@ Register-PSRepository -Name PSGallery -SourceLocation https://www.powershellgall ### Importing your module -Before you run the `platyPS` cmdlets to update your markdown help files, you will need to first import the module containing the changes that you have made to your cmdlets into your current PowerShell session. Once you have built your project (either through Visual Studio or with `msbuild`), you can locate the module manifest that you will need to import in the `src/Package/Debug` folder of your local repository. +Before you run the `platyPS` cmdlets to update your markdown help files, you will need to first import the module containing the changes that you have made to your cmdlets into your current PowerShell session. Once you have built your project (either through Visual Studio or with `msbuild`), you can locate the module manifest that you will need to import in the `artifacts/Debug` folder of your local repository. -For example, if you have made changes to the `Profile` module, you will find the corresponding module manifest in `src/Package/Debug/ResourceManager/AzureResourceManager/Az.Profile/Az.Profile.psd1`. +For example, if you have made changes to the `Profile` module, you will find the corresponding module manifest in `artifacts/Debug/Az.Profile/Az.Profile.psd1`. Once you have located the module manifest, you can import it in your current PowerShell session by running the following command: @@ -67,9 +67,9 @@ Update-MarkdownHelpModule -Path $PathToHelpFolder -RefreshModulePage -Alphabetic If you would like to update the inputs/outputs for a markdown file, please run this cmdlet with the -UpdateInputOutput parameter. Keep in mind that this will overwrite any customized descriptions of inputs and outputs, so you will need to add these descriptions back if still relevant. -This will update all of the markdown files with public interface changes made to corresponding cmdlets, add markdown files for any new cmdlets, remove markdown files for any deleted cmdlets, and update the module page (_e.g.,_ `Az.Profile.md`) with any added or removed cmdlets. +This will update all of the markdown files with public interface changes made to corresponding cmdlets, add markdown files for any new cmdlets, remove markdown files for any deleted cmdlets, and update the module page (_e.g.,_ `Az.Accounts.md`) with any added or removed cmdlets. -_This seems to work better when run from within the `help` folder itself (For e.g. to generate the help files for the [`Network`](https://github.com/Azure/azure-powershell/tree/master/src/ResourceManager/Network) module run the cmd from under [`Commands.Network/help`](https://github.com/Azure/azure-powershell/tree/master/src/ResourceManager/Network/Commands.Network/help)). Also, you will have to import the profile module from under /src/Package/Debug/ResourceManager/AzureResourceManager/Az.Profile/Az.Profile.psd1_ +_This seems to work better when run from within the `help` folder itself (For e.g. to generate the help files for the [`Network`](https://github.com/Azure/azure-powershell/tree/master/src/ResourceManager/Network) module run the cmd from under [`Commands.Network/help`](https://github.com/Azure/azure-powershell/tree/master/src/ResourceManager/Network/Commands.Network/help)). Also, you will have to import the Accounts module from under /artifacts/Debug/Az.Accounts/Az.Accounts.psd1_ #### Updating a single markdown file diff --git a/documentation/troubleshoot-ci.md b/documentation/troubleshoot-ci.md index 9343e3a7b31e..3154786eb4d2 100644 --- a/documentation/troubleshoot-ci.md +++ b/documentation/troubleshoot-ci.md @@ -27,7 +27,7 @@ Regenerate MD help files [this way](documentation/development-docs/help-generati ### Message -> c:\workspace\powershell\build.proj(597,5): error MSB3073: The command "c:\workspace\powershell\src\Package\\**StaticAnalysis.exe** -p c:\workspace\powershell\src\Package\Debug -r c:\workspace\powershell\src\Package -m Az.Network" exited with code 255.c:\workspace\powershell\build.proj(609,5): error : StaticAnalysis has failed. Please follow the instructions on this doc: [https://github.com/Azure/azure-powershell/blob/master/documentation/Debugging-StaticAnalysis-Errors.md](documentation/Debugging-StaticAnalysis-Errors.md) +> c:\workspace\powershell\build.proj(597,5): error MSB3073: The command "c:\workspace\powershell\artifacts\\**StaticAnalysis.exe** -p c:\workspace\powershell\artifacts\Debug -r c:\workspace\powershell\artifacts -m Az.Network" exited with code 255.c:\workspace\powershell\build.proj(609,5): error : StaticAnalysis has failed. Please follow the instructions on this doc: [https://github.com/Azure/azure-powershell/blob/master/documentation/Debugging-StaticAnalysis-Errors.md](documentation/Debugging-StaticAnalysis-Errors.md) ### Reasons diff --git a/src/Az.props b/src/Az.props index 753c282322ae..9023340a9e3e 100644 --- a/src/Az.props +++ b/src/Az.props @@ -15,7 +15,7 @@ false true false - $(RepoArtifacts)$(Configuration)\ResourceManager\AzureResourceManager\Az.$(PsModuleName)\ + $(RepoArtifacts)$(Configuration)\Az.$(PsModuleName)\ true diff --git a/src/ResourceManager/StorageSync/Commands.StorageSync/Commands.StorageSync.csproj.user b/src/ResourceManager/StorageSync/Commands.StorageSync/Commands.StorageSync.csproj.user deleted file mode 100644 index 70d8b72a2ac9..000000000000 --- a/src/ResourceManager/StorageSync/Commands.StorageSync/Commands.StorageSync.csproj.user +++ /dev/null @@ -1,13 +0,0 @@ - - - - Program - C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe - -NoExit . ..\..\..\..\..\ResourceManager\StorageSync\Commands.StorageSync\debug.ps1 Debug - - - Program - C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe - -NoExit . ..\..\..\..\..\ResourceManager\StorageSync\Commands.StorageSync\debug.ps1 Release - - \ No newline at end of file diff --git a/src/ResourceManager/StorageSync/Commands.StorageSync/debug.Netcore.ps1 b/src/ResourceManager/StorageSync/Commands.StorageSync/debug.Netcore.ps1 index e9401f8f3482..4641edaeec4b 100644 --- a/src/ResourceManager/StorageSync/Commands.StorageSync/debug.Netcore.ps1 +++ b/src/ResourceManager/StorageSync/Commands.StorageSync/debug.Netcore.ps1 @@ -12,10 +12,10 @@ if (gcm Invoke-AzureRmStorageSyncCompatibilityCheck -ErrorAction SilentlyContinu throw "Invoke-AzureRmStorageSyncCompatibilityCheck is already available. Cannot continue with module debugging." } -$azProfilePath = Join-Path $scriptDirectory "..\..\..\..\src\Package\$Configuraton\ResourceManager\AzureResourceManager\Az.Profile\Az.Profile.psd1" +$azProfilePath = Join-Path $scriptDirectory "..\..\..\..\artifacts\$Configuraton\Az.Accounts\Az.Accounts.psd1" Import-Module $azProfilePath -Verbose -$azStorageSyncPath = Join-Path $scriptDirectory "..\..\..\..\src\Package\$Configuraton\ResourceManager\AzureResourceManager\Az.StorageSync\Az.StorageSync.psd1" +$azStorageSyncPath = Join-Path $scriptDirectory "..\..\..\..\artifacts\$Configuraton\Az.StorageSync\Az.StorageSync.psd1" Import-Module $azStorageSyncPath -Verbose $VerbosePreference='Continue' diff --git a/src/ResourceManager/StorageSync/Commands.StorageSync/debug.ps1 b/src/ResourceManager/StorageSync/Commands.StorageSync/debug.ps1 deleted file mode 100644 index cfdc7bf0b77c..000000000000 --- a/src/ResourceManager/StorageSync/Commands.StorageSync/debug.ps1 +++ /dev/null @@ -1,223 +0,0 @@ -param( - [Parameter(Mandatory=$true)] - $Configuraton) - -$ErrorActionPreference = "Stop" -$scriptpath = $MyInvocation.MyCommand.Path -$scriptDirectory = Split-Path $scriptpath -$scriptFileName = Split-Path $scriptpath -Leaf - -if (gcm Invoke-AzureRmStorageSyncCompatibilityCheck -ErrorAction SilentlyContinue) -{ - throw "Invoke-AzureRmStorageSyncCompatibilityCheck is already available. Cannot continue with module debugging." -} - -Import-Module "..\..\..\..\..\..\src\Package\$Configuraton\ResourceManager\AzureResourceManager\AzureRM.StorageSync\AzureRM.Profile.psd1" -Verbose -Import-Module "..\..\..\..\..\..\src\Package\$Configuraton\ResourceManager\AzureResourceManager\AzureRM.StorageSync\AzureRM.StorageSync.psd1" -Verbose - -$VerbosePreference='Continue' - -function prompt { return "PS> " } - -Write-Verbose 'Your debugger is attached to current PowerShell instance' -Write-Verbose 'To recreate a test data set and perform an evaluation run' -Write-Verbose ' Perform-Test -Full' -Write-Verbose 'To perform an evaluation for an already created dataset run' -Write-Verbose ' Perform-Test' -Write-Verbose 'Use Get-DataSetLocation to find location of the dataset' - -function Get-Configuration -{ - Get-Content -Raw -Path (Join-Path $scriptDirectory "config.json") | ConvertFrom-Json -} - -function Build-CharacterTable -{ - param ($Configuration) - - $blacklistOfCodePoints = $Configuration.BlacklistOfCodePoints - $whitelistOfCodePointRanges = $Configuration.WhitelistOfCodePointRanges - - $arraySize = 0x10FFFF + 1 - $blacklistedCodePointsTable = new-object bool[] $arraySize - for ($i = 0; $i -lt $arraySize; $i += 1) - { - $blacklistedCodePointsTable[$i] = $blacklistOfCodePoints.Contains($i) -or - ($whitelistOfCodePointRanges.Where({ ($_.Start -le $i) -and ($_.End -ge $i) }).Count -eq 0); - } - return $blacklistedCodePointsTable -} - -function CreateItem -{ - param ($path, $name, $itemType) - - $fullpath = Join-Path $path $name - - try - { - if (Test-Path $fullpath) - { - return - } - - if (!(Test-Path $path)) - { - New-Item -Path $path -ItemType Directory | Out-Null - } - - New-Item -Path $path -Name $name -ItemType $itemType | Out-Null - } - catch - { - throw "Couldn't handle path:$path, name:$name, itemType:$itemType" - } -} - -function CreateItemsWithInvalidCharacters -{ - param ($path, $configuration, $blockedCharactersTable, $itemType) - - Write-Verbose "Creating items of type $itemType with invalid characters" - $skippedCodePoints = 0 - $succeededCodePoints = 0 - for ($i = 0; $i -lt $blockedCharactersTable.Count; $i += 1) - { - $isBlocked = $blockedCharactersTable[$i]; - if ($isBlocked) - { - $invalid_character_or_surrogate_pair = "" - try - { - $invalid_character_or_surrogate_pair = [char]::ConvertFromUtf32($i) - if ($invalid_character_or_surrogate_pair.Length -gt 1) - { - CreateItem -path $path -name ("{1}invalidSurrogatePair_occurence1_{0}_occurence2_{0}" -f $invalid_character_or_surrogate_pair, $itemType) -itemType $itemType - } - else - { - CreateItem -path $path -name ("{1}invalidChar_occurence1_{0}_occurence2_{0}" -f $invalid_character_or_surrogate_pair, $itemType) -itemType $itemType - } - $succeededCodePoints += 1 - } - catch - { - Write-Warning ("Skipping blocked codepoint #{0} as hex 0x{0:X} '{1}' : blocked '{2}'. Error: {3}" -f $i, $invalid_character_or_surrogate_pair, $isBlocked, $_) - $skippedCodePoints += 1 - } - } - } - - Write-Verbose "Created $succeededCodePoints items, skipped $skippedCodePoints" -} - -function Ensure-RobocopySampleLocation -{ - $sampleDir = Join-Path $env:TEMP "robocopy-sample" - - if (Test-Path $sampleDir) - { - Remove-Item $sampleDir -Recurse | Out-Null - } - - New-Item $sampleDir -ItemType Directory | Out-Null - - return $sampleDir -} - -function CreateDirectoryWithRobocopy -{ - param ($targetDir) - - $sampleDir = Ensure-RobocopySampleLocation - - Write-Verbose ". robocopy.exe $sampleDir $targetDir /MIR" - - . robocopy.exe $sampleDir $targetDir /MIR -} - -function Get-DataSetLocation -{ - return Join-Path $env:TEMP "EvalToolDataSet" -} - -function Clear-DataSetLocation -{ - CreateDirectoryWithRobocopy -targetDir (Get-DataSetLocation) -} - -function Perform-Test -{ - param ([switch]$Full, [switch]$SkipInvalidCharacters, [switch]$TrailingSlash, [switch]$AlternateSlash) - - $dataSetLocation = Get-DataSetLocation - $dataSetLocationForTest = $dataSetLocation - - $slashCharacter = if ($AlternateSlash) { "/" } else { "\" } - - if ($TrailingSlash) - { - $dataSetLocationForTest = "$($dataSetLocation)$($slashCharacter)" - } - - if ($AlternateSlash) - { - $dataSetLocationForTest = $dataSetLocationForTest.Replace("\", $slashCharacter) - $dataSetLocationForTest = $dataSetLocationForTest.Replace("/", $slashCharacter) - } - - if ($Full) - { - Write-Verbose "Getting configuration" - $configuration = Get-Configuration - - if (! $SkipInvalidCharacters) - { - Write-Verbose "Creating blocked character table" - $table = Build-CharacterTable -Configuration $configuration - - Write-Verbose "Creating invalid files" - $pathForInvalidFileNameCharacters = Join-Path $dataSetLocation "InvalidFileNameCharacters" - CreateItemsWithInvalidCharacters -path $pathForInvalidFileNameCharacters -configuration $configuration -blockedCharactersTable $table -itemType File - - Write-Verbose "Creating invalid dirs" - $pathForInvalidDirNameCharacters = Join-Path $dataSetLocation "InvalidDirNameCharacters" - CreateItemsWithInvalidCharacters -path $pathForInvalidDirNameCharacters -configuration $configuration -blockedCharactersTable $table -itemType Directory - } - else - { - Write-Verbose "Skip invalid characters dataset creation" - } - - Write-Verbose "Creating directory violating depth requirement" - $pathWithInvalidDepth = "x\" * 300 - CreateDirectoryWithRobocopy -targetDir (Join-Path (Get-DataSetLocation) $pathWithInvalidDepth) - - Write-Verbose "Creating directory violating max path requirement" - $pathWithInvalidFileName = "maximum path length validation\" * 70 - CreateDirectoryWithRobocopy -targetDir (Join-Path (Get-DataSetLocation) $pathWithInvalidFileName) - } - else - { - if (!(Test-Path $dataSetLocation)) - { - throw "Cannot access: $dataSetLocation" - } - } - - Write-Verbose "Invoking evaluation tool with path $dataSetLocation" - $result = Invoke-AzureRmStorageSyncCompatibilityCheck -Path $dataSetLocationForTest -SkipSystemChecks - - # displaying report - $result | Format-Custom - - # handling check results - $results = $result.Results - Write-Verbose "Number of results: $($results.Count)" - - $reportLocation = Join-Path $env:TEMP "EvalReport.csv" - Write-Verbose "Exporting as CSV at $reportLocation" - $results | Select-Object -Property Type, Path, Level, Description, Result | Export-Csv -Path $reportLocation -NoTypeInformation -Encoding Utf8 - - Write-Verbose "Done" -} \ No newline at end of file diff --git a/src/ResourceManager/StorageSync/Tools/storageSyncDevops.psm1 b/src/ResourceManager/StorageSync/Tools/storageSyncDevops.psm1 index 1f284cabb9c9..1e51b1432b9e 100644 --- a/src/ResourceManager/StorageSync/Tools/storageSyncDevops.psm1 +++ b/src/ResourceManager/StorageSync/Tools/storageSyncDevops.psm1 @@ -5,7 +5,7 @@ function Get-RepositoryRootDirectory function Get-BuildOutputDirectory { - return (Join-Path (Get-RepositoryRootDirectory) "src\Package") + return (Join-Path (Get-RepositoryRootDirectory) "artifacts") } function Build-StorageSync @@ -85,11 +85,11 @@ function Update-StorageSyncHelp [ValidateSet("DEBUG", "RELEASE")] [string]$BuildConfig) - $PathToModuleManifest = Join-Path (Get-BuildOutputDirectory) "$($BuildConfig)\ResourceManager\AzureResourceManager\AzureRM.StorageSync\AzureRM.Profile.psd1" + $PathToModuleManifest = Join-Path (Get-BuildOutputDirectory) "$($BuildConfig)\Az.Accounts\Az.Accounts.psd1" Write-Verbose "Loading manifest: $PathToModuleManifest" Import-Module $PathToModuleManifest -Scope Global - $PathToModuleManifest = Join-Path (Get-BuildOutputDirectory) "$($BuildConfig)\ResourceManager\AzureResourceManager\AzureRM.StorageSync\AzureRM.StorageSync.psd1" + $PathToModuleManifest = Join-Path (Get-BuildOutputDirectory) "$($BuildConfig)\Az.StorageSync\Az.StorageSync.psd1" Write-Verbose "Loading manifest: $PathToModuleManifest" Import-Module $PathToModuleManifest -Scope Global @@ -109,8 +109,8 @@ function Update-StorageSyncHelp } finally { - Write-Verbose "Removing module: AzureRm.StorageSync" - Remove-Module -Name AzureRm.StorageSync + Write-Verbose "Removing module: Az.StorageSync" + Remove-Module -Name Az.StorageSync } return $status diff --git a/tools/BuildDrop.ps1 b/tools/BuildDrop.ps1 index c786dd8af4a3..5b1eb0ec467b 100644 --- a/tools/BuildDrop.ps1 +++ b/tools/BuildDrop.ps1 @@ -224,7 +224,7 @@ Copy-Item "$PathToShared\PSReleaseDrop\*" "$PathToShared\$entryName" -Recurse # Copy the msi and packages into the new folder Copy-Item $msiFile.FullName "$PathToShared\$entryName" -Copy-Item "$BuildArtifactsPath\src\Package\*.nupkg" "$PathToShared\$entryName\pkgs" +Copy-Item "$BuildArtifactsPath\artifacts\*.nupkg" "$PathToShared\$entryName\pkgs" # ================================================================================================== # Update other xml files using Build.sh and copy them to entry diff --git a/tools/BuildInstaller.ps1 b/tools/BuildInstaller.ps1 index e2b3093a7453..56a55e89890b 100644 --- a/tools/BuildInstaller.ps1 +++ b/tools/BuildInstaller.ps1 @@ -15,7 +15,7 @@ $scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent . ($scriptFolder + '.\SetupEnv.ps1') -$packageFolder="$env:AzurePSRoot\src\Package" +$packageFolder="$env:AzurePSRoot\artifacts" if (Test-Path $packageFolder) { Remove-Item -Path $packageFolder -Recurse -Force } diff --git a/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Tests/AuthenticodeSignedTaskSmokeTest.proj b/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Tests/AuthenticodeSignedTaskSmokeTest.proj index 675c24267a12..b2adcb14f74c 100644 --- a/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Tests/AuthenticodeSignedTaskSmokeTest.proj +++ b/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Tests/AuthenticodeSignedTaskSmokeTest.proj @@ -46,7 +46,6 @@ - diff --git a/tools/CheckAssemblies.ps1 b/tools/CheckAssemblies.ps1 index 065cac18c2a9..584c4bcea32f 100644 --- a/tools/CheckAssemblies.ps1 +++ b/tools/CheckAssemblies.ps1 @@ -17,8 +17,8 @@ param( [System.String]$BuildConfig ) -$ProjectPaths = @( "$PSScriptRoot\..\src\Package\$BuildConfig\ResourceManager" ) -$DependencyMapPath = "$PSScriptRoot\..\src\Package\DependencyMap.csv" +$ProjectPaths = @( "$PSScriptRoot\..\artifacts\$BuildConfig" ) +$DependencyMapPath = "$PSScriptRoot\..\artifacts\DependencyMap.csv" $DependencyMap = Import-Csv -Path $DependencyMapPath diff --git a/tools/CheckBinScope.ps1 b/tools/CheckBinScope.ps1 index 49af14f6dbe4..641a81737357 100644 --- a/tools/CheckBinScope.ps1 +++ b/tools/CheckBinScope.ps1 @@ -8,15 +8,15 @@ param( [string] $CIToolsPath ) -$RMFolders = Get-ChildItem $PSScriptRoot/../src/Package/$BuildConfig/ResourceManager/AzureResourceManager -Directory +$RMFolders = Get-ChildItem $PSScriptRoot/../artifacts/$BuildConfig -Directory $RMFolders | ForEach-Object { $dlls = Get-ChildItem $_.FullName -Recurse | Where-Object { $_ -like "*dll" } | ForEach-Object { $_.FullName }; - & "$CIToolsPath/tools/BinScope/BinScope7.0.7/BinScope.exe" $dlls /OutDir "$PSScriptRoot/../src/Package/BinScope/" /html | Out-Null + & "$CIToolsPath/tools/BinScope/BinScope7.0.7/BinScope.exe" $dlls /OutDir "$PSScriptRoot/../artifacts/BinScope/" /html | Out-Null } $shouldThrow = $false -$binscopeFolders = Get-ChildItem $PSScriptRoot/../src/Package/BinScope +$binscopeFolders = Get-ChildItem $PSScriptRoot/../artifacts/BinScope $binscopeFolders | ForEach-Object { $binscopeReport = Get-Content $_.FullName if ($binscopeReport -like "*No failed checks*") @@ -31,9 +31,9 @@ $binscopeFolders | ForEach-Object { if ($shouldThrow) { - throw "Binscope failed, please check the files in src/Package/BinScope" + throw "Binscope failed, please check the files in artifacts/BinScope" } else { - Remove-Item $PSScriptRoot/../src/Package/BinScope + Remove-Item $PSScriptRoot/../artifacts/BinScope } diff --git a/tools/CheckPoliCheck.ps1 b/tools/CheckPoliCheck.ps1 index 7c0abf7e18e5..18add068ac23 100644 --- a/tools/CheckPoliCheck.ps1 +++ b/tools/CheckPoliCheck.ps1 @@ -8,10 +8,10 @@ param( [string] $CIToolsPath ) -& "$CIToolsPath\tools\PoliCheck\PoliCheck5.8.1\PoliCheck.exe" /F:"$PSScriptRoot\..\src\Package" /T:"9" /O:"$PSScriptRoot\..\src\Package\PoliCheck-Scan.xml" +& "$CIToolsPath\tools\PoliCheck\PoliCheck5.8.1\PoliCheck.exe" /F:"$PSScriptRoot\..\artifacts" /T:"9" /O:"$PSScriptRoot\..\artifacts\PoliCheck-Scan.xml" -$poliCheckReport = Get-Content $PSScriptRoot\..\src\Package\PoliCheck-Scan.xml +$poliCheckReport = Get-Content $PSScriptRoot\..\artifacts\PoliCheck-Scan.xml if ($poliCheckReport -like "*Severity=`"1`"*") { - throw "PoliCheck failed with a Severity 1 issue, please check the report at in src/Package/PoliCheck-Scan.html" + throw "PoliCheck failed with a Severity 1 issue, please check the report at in artifacts/PoliCheck-Scan.html" } \ No newline at end of file diff --git a/tools/CleanupBuild.ps1 b/tools/CleanupBuild.ps1 index 86a7aed7dd9f..38cd16c67c27 100644 --- a/tools/CleanupBuild.ps1 +++ b/tools/CleanupBuild.ps1 @@ -5,17 +5,12 @@ Param [string]$BuildConfig ="Debug" ) -$output = Join-Path (Get-Item $PSScriptRoot).Parent.FullName "src\Package\$BuildConfig" +$output = Join-Path (Get-Item $PSScriptRoot).Parent.FullName "artifacts\$BuildConfig" Write-Verbose "The output folder is set to $output" -$resourceManagerPath = Join-Path $output "ResourceManager\AzureResourceManager" -$outputStack = Join-Path (Get-Item $PSScriptRoot).Parent.FullName "src\Stack\$BuildConfig" -$stackPath = Join-Path $outputStack "ResourceManager\AzureResourceManager" +$resourceManagerPath = $output $outputPaths = @($output) -if(Test-Path $outputStack) -{ - $outputPaths += $outputStack -} + foreach ($path in $outputPaths) { Write-Verbose "Removing generated NuGet folders from $path" @@ -38,10 +33,6 @@ foreach ($path in $outputPaths) } $resourceManagerPaths = @($resourceManagerPath) -if (Test-Path $stackPath) -{ - $resourceManagerPaths += $stackPath -} foreach($RMPath in $resourceManagerPaths) { diff --git a/tools/CreateRegistryEntry.ps1 b/tools/CreateRegistryEntry.ps1 index 78743ef155d5..3ae27f4e89ed 100644 --- a/tools/CreateRegistryEntry.ps1 +++ b/tools/CreateRegistryEntry.ps1 @@ -24,7 +24,7 @@ Copy-Item "$PathToLastRelease\webpiReg.reg" "$PathToCurrentRelease" Copy-Item "$PathToLastRelease\wpilauncher.exe" "$PathToCurrentRelease" Copy-Item "$PathToBuildArtifacts\signed\AzurePowerShell.msi" "$PathToCurrentRelease" -Copy-Item "$PathToBuildArtifacts\src\Package\*.nupkg" "$PathToCurrentRelease\pkgs" +Copy-Item "$PathToBuildArtifacts\artifacts\*.nupkg" "$PathToCurrentRelease\pkgs" Rename-Item $PathToCurrentRelease\AzurePowerShell.msi azure-powershell.$PSVersion.msi diff --git a/tools/Docs/Get-AllCommands/.gitignore b/tools/Docs/Get-AllCommands/.gitignore deleted file mode 100644 index 9c9b9c274789..000000000000 --- a/tools/Docs/Get-AllCommands/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -Output/ -Null/ diff --git a/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 b/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 deleted file mode 100644 index b186accc03b9..000000000000 --- a/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 +++ /dev/null @@ -1,695 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -function Test-BuildMamlFolder { - - Param - ( - [CmdletBinding()] - [parameter(Mandatory=$true)] - [String] - $MamlFolderPath, - [parameter(Mandatory=$true)] - [String] - $ModuleName, - [parameter(Mandatory=$false)] - [string[]] - $MissingCommands - ) - - #$MamlFolderPath = "\\srvua\PSPush2x\Main\DXPowerShellBlue\AGPM_Cmdlets\PSMAML\" - $MamlFileNames = (Get-ChildItem -Path $MamlFolderPath | Where-Object { $_.Name -like "*.xml"}).Name - - $CmdletCount = 0 - $ParmCount = 0 - $ShortDescCount = 0 - $LongDescCount = 0 - $InputObjectDesccount = 0 - $OutputObjectDesccount = 0 - $MissingContent = 0 - - $jsonObject = New-Object -TypeName psobject - $jsonObject | Add-Member -MemberType NoteProperty -Name "ModuleHelpFound" -Value "true" - - $OutArray = @() - if($MissingCommands) - { - $array = $MissingCommands.Split(',') - $missingCommandsJsonObject = New-Object -TypeName psobject - - foreach($missingCommand in $array) - { - $missingCommandsJsonObject | Add-Member -MemberType NoteProperty -Name $missingCommand -Value 0 -Force - } - - $jsonObject | Add-Member -MemberType NoteProperty -Name "MissingCommands" -Value $missingCommandsJsonObject -Force - } - - foreach ($MamlFile in $MamlFileNames) - { - - $internalJsonObject = New-Object -TypeName psobject - - $FullName = $MamlFolderPath + $MamlFile - - [xml]$MamlXml = Get-Content $FullName - - $CmdletCount += 1 - $WarnCount = 0 - - $CmdletName = $MamlXml.command.details.name - $CmdletName = $CmdletName.Trim() - - - # Short Description - # Updated for PS MAML Files - - $ShortDescription = $MamlXml.command.details.description.para - - if ($ShortDescription.Length -gt 10 -and $ShortDescription) - { - $ShortDescCount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No short description for $CmdletName." - $WarnCount += 1 - $internalJsonObject | Add-Member -MemberType NoteProperty -Name 'ShortDescription' -value 1 -Force - - } - } - - # Long Description - # Updated for PS MAML Files - - $LongDescription = $MamlXml.command.description.para - if ($LongDescription.Length -gt 10 -and $LongDescription) - { - $LongDescCount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No long description for $CmdletName." - $WarnCount += 1 - $internalJsonObject | Add-Member -MemberType NoteProperty -Name 'LongDescription' -value 1 -Force - } - } - - # PS MAML Examples Count Check - #Updated for PS MAML Files - - $MamlExamples = $MamlXml.command.examples.example - - if($MamlExamples) - { - $ExNumber = 0 - ForEach($Example in $MamlExamples) - { - $ExCount += 1 - $ExNumber += 1 - $ExampleNumber = "Example" + $ExNumber - - if(!$Example.title) - { - $OutArray += "No example title found for an example in $CmdletName." - $internalJsonObject | Add-Member -MemberType NoteProperty -Name ($ExampleNumber + "_Title") -value 1 -Force - } - if(!$Example.introduction.para) - { - $OutArray += "No example introduction found for an example in $CmdletName." - $internalJsonObject | Add-Member -MemberType NoteProperty -Name ($ExampleNumber + "_Introduction") -value 3 -Force - } - if(!$Example.code) - { - $OutArray += "No example code found for an example in $CmdletName." - $internalJsonObject | Add-Member -MemberType NoteProperty -Name ($ExampleNumber + "_Code") -value 1 -Force - } - } - } - else - { - $OutArray += "No examples found for $CmdletName." - $internalJsonObject | Add-Member -MemberType NoteProperty -Name "Examples" -value 0 -Force - } - - #Cmdlet Input Object Description - #Updated for PS MAML Files - $InputObjects = $MamlXml.command.inputTypes.inputType - - if($InputObjects) - { - foreach($InputObj in $InputObjects) - { - $inputObjName = $InputObj.type.name - if ($inputObj.description.para.innertext) - { - $InputObjectDesccount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No input object description for $inputObjName in $CmdletName" - $internalJsonObject | Add-Member -MemberType NoteProperty -Name "InputObject" -value 1 -Force - $WarnCount += 1 - } - } - } - } - - - #PS MAML Output Object Description - #Updated for PS MAML Files - - $OutPutObjects = $MamlXml.command.returnValues.returnValue - if($OutPutObjects) - { - foreach($outputObj in $OutPutObjects) - { - $outputObjName = $outputObj.type.name - if ($outputObj.description.para.innertext) - { - $OutputObjectDesccount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No output object description for $outputObjName in $CmdletName" - $WarnCount += 1 - $internalJsonObject | Add-Member -MemberType NoteProperty -Name "OutputObject" -value 1 -Force - } - } - } - } - - # Parameter Descriptions - #Updated for PS MAML Files - $Parameters = $MamlXml.command.parameters.parameter - - foreach ($parm in $Parameters) - { - $ParmCount += 1 - $ParmName = $parm.Name - if ($parm.Description) - { - $ParmDescCount += 1 - } - else - { - if (!$NoWarnings) - { - $OutArray += "No parameter description for $CmdletName -$ParmName." - $WarnCount += 1 - $internalJsonObject | Add-Member -MemberType NoteProperty -Name "Parameter_$ParmName" -value 1 -Force - } - } - } - - #Evaluates Missing Elements - - if ($WarnCount -ne 0) - { - $MissingContent +=1 - $jsonObject | Add-Member -MemberType NoteProperty -Value $internalJsonObject -Name $CmdletName -Force - } - } - - if($MissingContent -gt 0) - { - $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + "_Report_MISSING_CONTENT.txt") - } - else - { - $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + "_Report.txt") - } - - #Computation of Percentage Complete - $fShortDescPercent = "{0:P1}" -f ($ShortDescCount/$CmdletCount) - $fLongDescPercent = "{0:P1}" -f ($LongDescCount/$CmdletCount) - $fExPercent = "{0:P1}" -f ($ExCount/$CmdletCount) - $fParmDescPercent = "{0:P1}" -f ($ParmDescCount/$ParmCount) - $fMissingContentPercent = "{0:P1}" -f ($MissingContent/$CmdletCount) - $fInputObject = "{0:P1}" -f ($InputObjectDesccount/$CmdletCount) - $fOutputObjectDesc = "{0:P1}" -f ($OutputObjectDesccount/$CmdletCount) - - ###Report Output into PowerShell Host - #Header Message - $OutArray += "`nReport Summary" - $OutArray += "--------------" - $OutArray += "Folder Path: $MamlFolderPath" - $OutArray += "Commands: $CmdletCount" - $OutArray += "Parameters: $ParmCount" - - #Short Desc Message - $ShortDescMessage = "Short Descriptions: $ShortDescCount ( $fShortDescPercent )" - if($fShortDescPercent -eq '100.0 %') - { - $OutArray += $ShortDescMessage - } - else - { - $OutArray += $ShortDescMessage - } - - #Long Desc Message - $LongDescMessage = "Long Descriptions: $LongDescCount ( $fLongDescPercent )" - if($fLongDescPercent -eq '100.0 %') - { - $OutArray += "Long Descriptions: $LongDescCount ( $fLongDescPercent )" - } - else - { - $OutArray += $LongDescMessage - } - - #Example Message - $ExamplesMessage = "Examples: $ExCount ( $fExPercent )" - if($fExPercent -eq '100.0 %') - { - $OutArray += $ExamplesMessage - } - else - { - $OutArray += $ExamplesMessage - } - $OutArray += " Minimum Required: $CmdletCount" - - #Input Object Message - $InputObjectMessage = "Input Objects: $InputObjectDesccount ( $fInputObject )" - if($fInputObject -eq '100.0 %') - { - $OutArray += $InputObjectMessage - } - else - { - $OutArray += $InputObjectMessage - } - - #Output Object Message - $OutputObjectMessage = "Output Object: $OutputObjectDesccount ( $fOutputObjectDesc )" - if($fOutputObjectDesc -eq '100.0 %') - { - $OutArray += $OutputObjectMessage - } - else - { - $OutArray += $OutputObjectMessage - } - - #Parameter Messaage - $ParameterMessage = "Parameter Descriptions: $ParmDescCount ( $fParmDescPercent )" - if($fParmDescPercent -eq '100.0 %') - { - $OutArray += $ParameterMessage - } - else - { - $OutArray += $ParameterMessage - } - - #Error & Closing Message - $OutArray += "Number of cmdlets missing content: $MissingContent ( $fMissingContentPercent )" - $OutArray += "--------------" - $OutArray | Out-File -FilePath $OutFileName - - if(($MissingCommands.Count -gt 0) -or ($MissingContent -gt 0)) - { - $OutFileName = ($MamlFolderPath + " \..\..\..\" + $ModuleName + ".json") - $jsonObject | ConvertTo-Json -Depth 10 | Out-file $OutFileName - } -} - -function Split-HelpFiles { - [Cmdletbinding()] - Param - ( - [parameter(Mandatory=$true)] - [String] - $InputXML, - - [parameter(Mandatory=$true)] - [String] - $OutputPath - ) - - $namespace = @{command="http://schemas.microsoft.com/maml/dev/command/2004/10"; maml="http://schemas.microsoft.com/maml/2004/10"; dev="http://schemas.microsoft.com/maml/dev/2004/10"} - - if (!(test-path $OutputPath)) - { - mkdir $OutputPath - } - if (Get-ChildItem $InputXML | select-string " - - - - - - - - - - - - - - - - - - - - - diff --git a/tools/Docs/Get-AllCommands/Templates/ProjectList.xml b/tools/Docs/Get-AllCommands/Templates/ProjectList.xml deleted file mode 100644 index 9954fa5f14f1..000000000000 --- a/tools/Docs/Get-AllCommands/Templates/ProjectList.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tools/GenerateHelp.ps1 b/tools/GenerateHelp.ps1 index e6786baa30d4..f9fe2aa1e1c6 100644 --- a/tools/GenerateHelp.ps1 +++ b/tools/GenerateHelp.ps1 @@ -31,13 +31,13 @@ if (![string]::IsNullOrEmpty($FilteredModules)) if ($ValidateMarkdownHelp) { - if (!(Test-Path -Path "$PSScriptRoot\..\src\Package\Exceptions")) + if (!(Test-Path -Path "$PSScriptRoot\..\artifacts\Exceptions")) { - New-Item -Path "$PSScriptRoot\..\src\Package" -Name "Exceptions" -ItemType Directory + New-Item -Path "$PSScriptRoot\..\artifacts" -Name "Exceptions" -ItemType Directory } - $SuppressedExceptionsPath = "$PSScriptRoot\..\src\Package\Exceptions" - $NewExceptionsPath = "$PSScriptRoot\..\src\Package" + $SuppressedExceptionsPath = "$PSScriptRoot\..\artifacts\Exceptions" + $NewExceptionsPath = "$PSScriptRoot\..\artifacts" Copy-Item -Path "$PSScriptRoot\HelpGeneration\Exceptions\ValidateHelpIssues.csv" -Destination $SuppressedExceptionsPath New-Item -Path $NewExceptionsPath -Name ValidateHelpIssues.csv -ItemType File -Force | Out-Null Add-Content "$NewExceptionsPath\ValidateHelpIssues.csv" "Target,Description" diff --git a/tools/Installer/generate.ps1 b/tools/Installer/generate.ps1 index 3d41d855360a..4ffd720dcdc3 100644 --- a/tools/Installer/generate.ps1 +++ b/tools/Installer/generate.ps1 @@ -34,13 +34,12 @@ Write-Host $env:AzurePSRoot Write-Verbose "Build configuration is set to $buildConfig" -$output = Join-Path $env:AzurePSRoot "src\Package\$buildConfig" +$output = Join-Path $env:AzurePSRoot "artifacts\$buildConfig" Write-Verbose "The output folder is set to $output" $serviceManagementPath = Join-Path $output "ServiceManagement\Azure" -$resourceManagerPath = Join-Path $output "ResourceManager\AzureResourceManager" +$resourceManagerPath = $output Write-Verbose "Removing unneeded psd1 and other files" -Remove-Item -Force $resourceManagerPath\AzureResourceManager.psd1 -ErrorAction SilentlyContinue Remove-Item -Force $resourceManagerPath\AzureRM.DataLakeAnalytics\AzureRM.Tags.psd1 -ErrorAction SilentlyContinue Remove-Item -Force $resourceManagerPath\AzureRM.DataLakeAnalytics\Microsoft.Azure.Commands.Tags.dll-Help.xml -ErrorAction SilentlyContinue Remove-Item -Force $resourceManagerPath\AzureRM.DataLakeAnalytics\Microsoft.Azure.Commands.Tags.format.ps1xml -ErrorAction SilentlyContinue diff --git a/tools/LegacyScripts/Build.ps1 b/tools/LegacyScripts/Build.ps1 deleted file mode 100644 index 40ae385e1ffd..000000000000 --- a/tools/LegacyScripts/Build.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupEnv.ps1') - -msbuild "$env:AzurePSRoot\build.proj" /t:Build diff --git a/tools/LegacyScripts/InstallLatestSdk.ps1 b/tools/LegacyScripts/InstallLatestSdk.ps1 deleted file mode 100644 index 599f911c4d83..000000000000 --- a/tools/LegacyScripts/InstallLatestSdk.ps1 +++ /dev/null @@ -1,70 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -function Get-RegistryKeyValues() -{ - param - ( - [Parameter(Mandatory=1)][string]$regKeyPath, - [Parameter(Mandatory=1)][string]$regKeyValueName - ) - - $regKeyValue = "" - - $regKeyValueObject = Get-ItemProperty -Path $regKeyPath -Name $regKeyValueName -ErrorAction SilentlyContinue - if ($regKeyValueObject -ne $null) { - $regKeyValue = $regKeyValueObject.$regKeyValueName - } - return $regKeyValue -} - -#Get WebPI CMD -$WebPi="$scriptFolder\test\WebpiCmd.exe" - -$allWebPIVersions = Get-ChildItem HKLM:\SOFTWARE\Microsoft\WebPlatformInstaller -ea SilentlyContinue | - ForEach-Object { - if($_.GetValue("InstallPath", $null) -ne $null) - { - $WebPi = $_.GetValue("InstallPath") + "WebpiCmd.exe" - } - } - -Write-Host "using webpi command: $WebPi" - -$programFiles = $env:ProgramFiles -if (Test-Path "$env:ProgramW6432"){ - $programFiles = $env:ProgramW6432 -} - -if (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v2.4")) { - Write-Host installing Azure Authoring Tools - Start-Process "$WebPi" "/Install /products:WindowsAzureSDK_Only.2.4 /accepteula" -Wait -} - -$detectKey = "HKLM:\SOFTWARE\Microsoft\Windows Azure Emulator"; -$producteVersion = Get-RegistryKeyValues $detectKey "FullVersion" -if (!($producteVersion.StartsWith("2.4."))) { - Write-Host installing Azure Compute Emulator - Start-Process "$WebPi" "/Install /products:WindowsAzureEmulator_Only.2.4 /accepteula" -Wait -} - -$detectKey = "HKLM:\SOFTWARE\Microsoft\Windows Azure Storage Emulator" -if (${env:ADX64Platform}){ - $detectKey = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows Azure Storage Emulator" -} -$producteVersion = Get-RegistryKeyValues $detectKey "FullVersion" -if (!($producteVersion.StartsWith("3.3"))) { - Write-Host installing Azure Storage Emulator - Start-Process "$WebPi" "/Install /products:WindowsAzureStorageEmulator.3.3 /accepteula" -Wait -} diff --git a/tools/LegacyScripts/RunCheckInTests.ps1 b/tools/LegacyScripts/RunCheckInTests.ps1 deleted file mode 100644 index ede1a57f61bc..000000000000 --- a/tools/LegacyScripts/RunCheckInTests.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupTestEnv.ps1') - -$env:AZURE_TEST_MODE="Playback" -msbuild.exe $env:AzurePSRoot\build.proj /t:Test \ No newline at end of file diff --git a/tools/LegacyScripts/RunMockedScenarioTests.ps1 b/tools/LegacyScripts/RunMockedScenarioTests.ps1 deleted file mode 100644 index afe2a204e1f3..000000000000 --- a/tools/LegacyScripts/RunMockedScenarioTests.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupTestEnv.ps1') - -msbuild.exe $env:AzurePSRoot\build.proj /t:"Build;BeforeRunTests;MockedScenarioTests" \ No newline at end of file diff --git a/tools/LegacyScripts/SetupEnv.ps1 b/tools/LegacyScripts/SetupEnv.ps1 deleted file mode 100644 index 166122b1b316..000000000000 --- a/tools/LegacyScripts/SetupEnv.ps1 +++ /dev/null @@ -1,71 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -function Test-IsAdmin() { - try { - $identity = [Security.Principal.WindowsIdentity]::GetCurrent() - $principal = New-Object Security.Principal.WindowsPrincipal -ArgumentList $identity - return $principal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator ) - } catch { - throw "Failed to determine if the current user has elevated privileges. The error was: '{0}'." -f $_ - } -} - -function Invoke-Environment() -{ - param - ( - [Parameter(Mandatory=1)][string]$Command - ) - - foreach($_ in cmd /c "$Command 2>&1 & set") { - if ($_ -match '^([^=]+)=(.*)') { - [System.Environment]::SetEnvironmentVariable($matches[1], $matches[2]) - } - } -} - -if (Test-Path -Path env:\AzurePSRoot) { - Write-Host -Object 'AzurePSRoot environment variable already exists. Exiting ...'; - exit; -} - -Write-Host -Object 'Initializing Azure PowerShell environment...'; - -# PowerShell commands need elevation for dependencies installation and running tests -if (!(Test-IsAdmin)){ - Write-Host -Object 'Please launch command under administrator account. It is needed for environment setting up and unit test.' -ForegroundColor Red; -} - -$env:AzurePSRoot = Split-Path -Parent -Path $MyInvocation.MyCommand.Path; -$env:AzurePSRoot = Split-Path -Parent -Path $env:AzurePSRoot; - -if (Test-Path -Path ${env:\ProgramFiles(x86)} ) { - $env:ADXSDKProgramFiles = ${env:ProgramFiles(x86)} - $env:ADX64Platform = $true -} else { - $env:ADXSDKProgramFiles = $env:ProgramFiles - $env:ADX64Platform = $false -} - - -if (Test-Path -Path "$env:ADXSDKProgramFiles\Microsoft Visual Studio 12.0") { - $vsVersion="12.0" -} else { - $vsVersion="11.0" -} - -$setVSEnv = '"{0}\Microsoft Visual Studio {1}\VC\vcvarsall.bat" x64' -f $env:ADXSDKProgramFiles, $vsVersion; - -Invoke-Environment -Command $setVSEnv; diff --git a/tools/LegacyScripts/SetupHttpRecordEnv.ps1 b/tools/LegacyScripts/SetupHttpRecordEnv.ps1 deleted file mode 100644 index e23ca2e6fbe9..000000000000 --- a/tools/LegacyScripts/SetupHttpRecordEnv.ps1 +++ /dev/null @@ -1,16 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupLiveScenarioTestEnv.ps1') -Record \ No newline at end of file diff --git a/tools/LegacyScripts/SetupLiveScenarioTestEnv.ps1 b/tools/LegacyScripts/SetupLiveScenarioTestEnv.ps1 deleted file mode 100644 index ab379cc1f027..000000000000 --- a/tools/LegacyScripts/SetupLiveScenarioTestEnv.ps1 +++ /dev/null @@ -1,46 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -[CmdletBinding()] -Param( [switch] $Record ) - -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupTestEnv.ps1') - -$resourceManagerVariables = Test-Path env:TEST_CSM_ORGID_AUTHENTICATION -$serviceManagementVariables = Test-Path env:TEST_ORGID_AUTHENTICATION -# Using storage account is not recommended because of the complexity, but we will still support it -$oldRdfeTestVariables = $(Test-Path env:AZURE_STORAGE_ACCESS_KEY) -and $(Test-Path env:AZURE_STORAGE_ACCOUNT) -if (!$serviceManagementVariables -AND !$resourceManagerVariables -AND !$oldRdfeTestVariables) { - Write-Host "You environment has NOT been set up for sceanrio testing. We will help you configure..." -ForegroundColor "Yellow" - $subscription = Read-Host 'Please input the Azure subscription guid you tests will use:' - $env:TEST_ORGID_AUTHENTICATION = "SubscriptionId=$subscription;BaseUri=https://management.core.windows.net/;AADAuthEndpoint=https://login.windows.net/;GraphUri=https://graph.windows.net/" - $env:TEST_CSM_ORGID_AUTHENTICATION = "SubscriptionId=$subscription;BaseUri=https://management.azure.com/;AADAuthEndpoint=https://login.windows.net/" - Write-Host "To avoid getting prompt again, you can preset one of following environment variables with the value beside" -ForegroundColor "Yellow" - Write-Host "TEST_ORGID_AUTHENTICATION : $env:TEST_ORGID_AUTHENTICATION" - Write-Host "TEST_CSM_ORGID_AUTHENTICATION : $env:TEST_CSM_ORGID_AUTHENTICATION" -} - -$env:AZURE_TEST_ENVIRONMENT="production" - -if ($Record) { - Write-Host "Setting up 'Record' mode" - $env:AZURE_TEST_MODE="Record" - $env:TEST_HTTPMOCK_OUTPUT="$env:AzurePSRoot\src\Common\Commands.ScenarioTest\Resources\SessionRecords\" - Write-Host "The HTTP traffic will be captured under $env:TEST_HTTPMOCK_OUTPUT." -ForegroundColor "Green" -} else { - Remove-Item env:\AZURE_TEST_MODE -} - -Write-Host "Environment has been set up. You can launch Visual Studio to run tests by typing devenv.exe here; or, through msbuild.exe" -ForegroundColor "Green" diff --git a/tools/LegacyScripts/SetupTestEnv.ps1 b/tools/LegacyScripts/SetupTestEnv.ps1 deleted file mode 100644 index 690002122e05..000000000000 --- a/tools/LegacyScripts/SetupTestEnv.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupEnv.ps1') - -try { - git.exe| Out-Null -} -catch [System.Management.Automation.CommandNotFoundException] { - if (Test-Path "$env:ADXSDKProgramFiles\Git\bin") { - Write-Host Adding Git installation folder to the PATH environment variable, needed for some unit tests. - $env:path = $env:path + ";$env:ADXSDKProgramFiles\Git\bin" - } -} - -$env:AZURE_TEST_MODE="Playback" diff --git a/tools/LegacyScripts/VerifyAzureSDK.ps1 b/tools/LegacyScripts/VerifyAzureSDK.ps1 deleted file mode 100644 index 6c4cf9bcf351..000000000000 --- a/tools/LegacyScripts/VerifyAzureSDK.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -. ($scriptFolder + '.\SetupEnv.ps1') - -Import-Module "$env:AzurePSRoot\src\Package\Debug\ServiceManagement\azure\Azure.psd1" - -Write-Host "***Please read. this script requires the following product***" -ForegroundColor "Red" -Write-Host "**Node.js for Windows (32-bits) at http://nodejs.org/download/ and Azure Node.js for Windows at http://azure.microsoft.com/en-us/downloads/" -ForegroundColor "Red" -Write-Host "**Azure PHP for Windows at http://azure.microsoft.com/en-us/downloads/." -ForegroundColor "Yellow" -Write-Host "**It is recommended to reboot the machine after the setup, or at least relaunch the powershell." -ForegroundColor "Red" - -# create testing folder -$testFolder = "$env:AzurePSRoot\src\Package\" + [System.IO.Path]::GetRandomFileName() -md $testFolder -cd $testFolder - -New-AzureServiceProject PHPTest -Add-AzurePHPWebRole -Add-AzurePHPWorkerRole -Start-AzureEmulator -v - -Write-Host "You can do some testing by loading role url in the browser and make sure PHP default pages loads" -ForegroundColor "Yellow" -Write-Host "Press any key to continue to the next testing" -$keyPressed = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") \ No newline at end of file diff --git a/tools/Modules/Run-UnitTests.ps1 b/tools/Modules/Run-UnitTests.ps1 deleted file mode 100644 index 520c9ce9c28a..000000000000 --- a/tools/Modules/Run-UnitTests.ps1 +++ /dev/null @@ -1,148 +0,0 @@ -#Requires -Modules Pester - -<# - .SYNOPSIS Execute pester tests - - .PARAMETER BuildConfig - Build configuration, either Debug or Release - -#> -param( - [CmdletBinding()] - - [Parameter(Mandatory = $true)] - [ValidateSet('Debug', 'Release')] - [System.String]$BuildConfig, - - [Parameter(Mandatory = $true)] - [ValidateSet('All', 'Latest', 'Stack', 'ServiceManagement', 'AzureStorage')] - [System.String]$Scope -) - -<# - .SYNOPSIS Execute pester tests for Azure modules - - .PARAMETER BuildConfig - Build configuration, either Debug or Release - -#> -function Test-Azure { - param( - [CmdletBinding()] - [Parameter(Mandatory = $true)] - [System.String]$BuildConfig - ) - $defaults = [System.IO.Path]::GetDirectoryName($PSScriptRoot) - Start-Job -ScriptBlock { - $ARMRoot = "$($using:PSScriptRoot)\..\..\src\Package\$BuildConfig\ResourceManager\AzureResourceManager" - Import-Module "$ARMRoot\AzureRM.Profile\AzureRM.Profile.psd1;" - Import-Module "$ARMRoot\AzureRM.Resources\AzureRM.Resources.psd1"; - Set-Location $using:defaults; - Invoke-Pester - } | Receive-Job -Wait -AutoRemoveJob -} - -<# - .SYNOPSIS Execute pester tests for Azure Stack modules - - .PARAMETER BuildConfig - Build configuration, either Debug or Release - - .PARAMETER Modules - List of modules to test. - - .PARAMETER FailFast - If set stop on the first failing test. - -#> -function Test-Stack { - param( - [CmdletBinding()] - [Parameter(Mandatory = $true)] - [System.String]$BuildConfig, - - [Parameter(Mandatory = $false)] - [System.String[]]$Modules, - - [Parameter(Mandatory = $false)] - [switch]$FailFast - ) - - # Create test output - $StackPackageRoot = "$($PSSCriptRoot)\..\..\src\Stack\" - New-Item -Path $StackPackageRoot -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null - - # Root folder where modules are located - $StackSrcRoot = "$($PSSCriptRoot)\..\..\src\StackAdmin\" - - # Number of failures we have seen - [int]$Failures = 0 - $ModulePaths = @() - foreach ($module in $Modules) { - $ModulePaths += $StackSrcRoot + $module - } - - foreach ($modulePath in $ModulePaths) { - $testLocation = $modulePath + "\Tests" - $module = $modulePath | Split-Path -Leaf - Write-Host "Moving to $testLocation" - Push-Location $testLocation | Out-Null - try { - $OutputXML = "$($StackPackageRoot)\$($module).xml" - Invoke-Pester ".\src" -OutputFile $OutputXML -OutputFormat NUnitXml | Out-Null - [xml]$result = Get-Content -Path $OutputXML - $Failures += ($result."test-results".failures) - } catch { - Write-Error "Pester Test failure, $_" - $Failures += 1 - } finally { - Pop-Location | Out-Null - } - - # Fail fast - if ($FailFast -and $Failures -gt 0) { - break - } - } - return $Failures -} - -# Scopes -$AzureScopes = @('All', 'Latest') -$StackScopes = @('All', 'Stack') - -if ($Scope -in $AzureScopes) { - Test-Azure -BuildConfig $BuildConfig -} - -if ($Scope -in $StackScopes) { - - $ARMRoot = "$PSScriptRoot\..\..\src\Stack\$BuildConfig\ResourceManager\AzureResourceManager" - Import-Module "$ARMRoot\AzureRM.Profile\AzureRM.Profile.psd1" - Import-Module "$ARMRoot\AzureRM.Resources\AzureRM.Resources.psd1"; - - # All admin modules - $AllStackModules = @( - "Azs.AzureBridge.Admin", - "Azs.Backup.Admin", - "Azs.Commerce.Admin", - "Azs.Compute.Admin", - "Azs.Fabric.Admin", - "Azs.Gallery.Admin", - "Azs.InfrastructureInsights.Admin", - "Azs.KeyVault.Admin", - "Azs.Network.Admin", - "Azs.Storage.Admin", - "Azs.Subscriptions.Admin", - "Azs.Subscriptions", - "Azs.Update.Admin" - ) - - # These are broken. - $IgnoredStackModules = @() - - [System.String[]]$ModulesToTest = $AllStackModules | Where-Object { !($_ -in $IgnoredStackModules) } - Test-Stack -BuildConfig $BuildConfig -Modules $ModulesToTest - -} - diff --git a/tools/NetCoreCsProjSync/NetCoreCsProjSync/NetCoreCsProjGenerator.cs b/tools/NetCoreCsProjSync/NetCoreCsProjSync/NetCoreCsProjGenerator.cs index b74fe59676ad..e1a169b2611a 100644 --- a/tools/NetCoreCsProjSync/NetCoreCsProjSync/NetCoreCsProjGenerator.cs +++ b/tools/NetCoreCsProjSync/NetCoreCsProjSync/NetCoreCsProjGenerator.cs @@ -398,7 +398,7 @@ public static NewProjectDefinition ConvertOldTestToNewTestNetCore(OldProjectDefi new NewReference { Include = newDllReferenceInclude, - HintPath = $"..\\..\\..\\Package\\$(Configuration)\\ResourceManager\\AzureResourceManager\\AzureRM.{projectName}.Netcore\\{newDllReferenceInclude}.dll" + HintPath = $"..\\..\\..\\..\\artifacts\\$(Configuration)\\AzureRM.{projectName}.Netcore\\{newDllReferenceInclude}.dll" } } }; diff --git a/tools/NewHelpIndex.ps1 b/tools/NewHelpIndex.ps1 index f7a020baae0b..ab09a14eb4a5 100644 --- a/tools/NewHelpIndex.ps1 +++ b/tools/NewHelpIndex.ps1 @@ -65,22 +65,12 @@ $labelMapping = Get-Content -Raw $OutputFile/../groupMapping.json | ConvertFrom- $RMpsd1s = @() $HelpFolders = @() -if ($Target -eq "Latest") -{ - $resourceManagerPath = "$PSScriptRoot/../src/Package/$BuildConfig/ResourceManager/AzureResourceManager/" - $RMpsd1s += Get-ChildItem -Path $resourceManagerPath -Depth 2 | Where-Object { $_.Name -like "*.psd1" -and $_.FullName -notlike "*dll-Help*" } - - $HelpFolders += Get-ChildItem -Path "$PSScriptRoot/../src/ResourceManager" -Recurse -Directory | where { $_.Name -eq "help" -and $_.FullName -notlike "*\Stack\*" -and $_.FullName -notlike "*\bin\*"} -} -else -{ - $resourceManagerPath = "$PSScriptRoot/../src/Stack/$BuildConfig/ResourceManager/AzureResourceManager/" +$resourceManagerPath = "$PSScriptRoot/../artifacts/$BuildConfig/" - $RMpsd1s += Get-ChildItem -Path $resourceManagerPath -Depth 2 | Where-Object { $_.Name -like "*.psd1" -and $_.FullName -notlike "*dll-Help*" } - - $HelpFolders += Get-ChildItem -Path "$PSScriptRoot/../src/ResourceManager" -Recurse -Directory | where { $_.Name -eq "help" -and $_.FullName -like "*\Stack\*" -and $_.FullName -notlike "*\bin\*"} -} +$RMpsd1s += Get-ChildItem -Path $resourceManagerPath -Depth 2 | Where-Object { $_.Name -like "*.psd1" -and $_.FullName -notlike "*dll-Help*" } + +$HelpFolders += Get-ChildItem -Path "$PSScriptRoot/../src/ResourceManager" -Recurse -Directory | where { $_.Name -eq "help" -and $_.FullName -notlike "*\Stack\*" -and $_.FullName -notlike "*\bin\*"} # Map the name of the cmdlet to the location of the help file $HelpFileMapping = @{} diff --git a/tools/NewOutputTypeIndex.ps1 b/tools/NewOutputTypeIndex.ps1 index 654afbbb6316..a7890e015cdb 100644 --- a/tools/NewOutputTypeIndex.ps1 +++ b/tools/NewOutputTypeIndex.ps1 @@ -6,7 +6,7 @@ param( ) # Get all psd1 files -$psd1Files = Get-Childitem $PSScriptRoot\..\src\Package\$BuildConfig\ResourceManager -Recurse | where {$_.Name -like "*.psd1" } +$psd1Files = Get-Childitem $PSScriptRoot\..\artifacts\$BuildConfig -Recurse | where {$_.Name -like "*.psd1" } $profilePsd1 = $psd1Files | Where-Object {$_.Name -like "*Az.Profile.psd1"} Import-LocalizedData -BindingVariable "psd1File" -BaseDirectory $profilePsd1.DirectoryName -FileName $profilePsd1.Name @@ -16,7 +16,6 @@ foreach ($nestedModule in $psd1File.RequiredAssemblies) $Assembly = [Reflection.Assembly]::LoadFrom($dllPath) } - $outputTypes = New-Object System.Collections.Generic.HashSet[string] $psd1Files | ForEach { diff --git a/tools/PublishModules.ps1 b/tools/PublishModules.ps1 index a9595e01ea42..c92ad8bdee35 100644 --- a/tools/PublishModules.ps1 +++ b/tools/PublishModules.ps1 @@ -104,13 +104,9 @@ function Get-Directories { ) PROCESS { - $packageFolder = "$PSScriptRoot\..\src\Package" + $packageFolder = "$PSScriptRoot\..\artifacts" - if ($Scope -eq "Stack") { - $packageFolder = "$PSScriptRoot\..\src\Stack" - } - - $resourceManagerRootFolder = "$packageFolder\$buildConfig\ResourceManager\AzureResourceManager" + $resourceManagerRootFolder = "$packageFolder\$buildConfig" Write-Output -InputObject $packageFolder, $resourceManagerRootFolder } @@ -859,7 +855,7 @@ Get-PackageProvider -Name NuGet -Force Write-Host " " # NOTE: Can only be Azure or Azure Stack, not both. -$packageFolder = "$PSScriptRoot\..\src\Package" +$packageFolder = "$PSScriptRoot\..\artifacts" if ($Scope -eq 'Stack') { $packageFolder = "$PSScriptRoot\..\src\Stack" } diff --git a/tools/StaticAnalysis/Exceptions/Az.Aks/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Aks/MissingAssemblies.csv index 710b71c3e3ea..fffc38d0045f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Aks/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Aks/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Aks","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Aks","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Aks","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Aks","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.AnalysisServices/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.AnalysisServices/MissingAssemblies.csv index bf53a9470773..34e82b4eb61b 100644 --- a/tools/StaticAnalysis/Exceptions/Az.AnalysisServices/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.AnalysisServices/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.AnalysisServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.AnalysisServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.AnalysisServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.AnalysisServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ApiManagement/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ApiManagement/MissingAssemblies.csv index e9a63f30d405..9fe9fd89a32a 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ApiManagement/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ApiManagement/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ApiManagement","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ApiManagement","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ApiManagement","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ApiManagement","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ApplicationInsights/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ApplicationInsights/MissingAssemblies.csv index 550aab74dafe..188cb6dd1da0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ApplicationInsights/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ApplicationInsights/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ApplicationInsights","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ApplicationInsights","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ApplicationInsights","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ApplicationInsights","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Automation/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Automation/MissingAssemblies.csv index c2644c137977..1666345dc4fb 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Automation/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Automation/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Automation","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Automation","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Automation","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Automation","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/AssemblyVersionConflict.csv deleted file mode 100644 index e3589fd941ae..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/AssemblyVersionConflict.csv +++ /dev/null @@ -1 +0,0 @@ -"Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/BreakingChangeIssues.csv deleted file mode 100644 index e4d070d56bbd..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/BreakingChangeIssues.csv +++ /dev/null @@ -1 +0,0 @@ -"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/ExtraAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/ExtraAssemblies.csv deleted file mode 100644 index 81ab44d75dd0..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/ExtraAssemblies.csv +++ /dev/null @@ -1 +0,0 @@ -"Directory","AssemblyName","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/HelpIssues.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/HelpIssues.csv deleted file mode 100644 index fc038268f8bd..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/HelpIssues.csv +++ /dev/null @@ -1,3 +0,0 @@ -"Assembly","HelpFile","Target","Severity","ProblemId","Description","Remediation" -"Microsoft.AzureStack.Commands.dll","Microsoft.AzureStack.Commands.dll-help.xml","Microsoft.AzureStack.Commands.GetManagedOffer","1","6050","Help missing for cmdlet Get-AzsManagedOffer implemented by class Microsoft.AzureStack.Commands.GetManagedOffer","Add Help record for cmdlet Get-AzsManagedOffer to help file." -"Microsoft.AzureStack.Commands.dll","Microsoft.AzureStack.Commands.dll-help.xml","Microsoft.AzureStack.Commands.SetSubscription","1","6050","Help missing for cmdlet Set-AzsSubscription implemented by class Microsoft.AzureStack.Commands.SetSubscription","Add Help record for cmdlet Set-AzsSubscription to help file." diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/MissingAssemblies.csv deleted file mode 100644 index 921d8e61c898..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/MissingAssemblies.csv +++ /dev/null @@ -1 +0,0 @@ -"Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/SignatureIssues.csv deleted file mode 100644 index e4d070d56bbd..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackAdmin/SignatureIssues.csv +++ /dev/null @@ -1 +0,0 @@ -"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/AssemblyVersionConflict.csv deleted file mode 100644 index e3589fd941ae..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/AssemblyVersionConflict.csv +++ /dev/null @@ -1 +0,0 @@ -"Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/BreakingChangeIssues.csv deleted file mode 100644 index e4d070d56bbd..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/BreakingChangeIssues.csv +++ /dev/null @@ -1 +0,0 @@ -"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/ExtraAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/ExtraAssemblies.csv deleted file mode 100644 index 81ab44d75dd0..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/ExtraAssemblies.csv +++ /dev/null @@ -1 +0,0 @@ -"Directory","AssemblyName","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/HelpIssues.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/HelpIssues.csv deleted file mode 100644 index 7a44035498e5..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/HelpIssues.csv +++ /dev/null @@ -1,2 +0,0 @@ -"Assembly","HelpFile","Target","Severity","ProblemId","Description","Remediation" -"D:\workspace\powershell-sign\src\Package\Release\ResourceManager\AzureResourceManager\Az.AzureStackStorage\Microsoft.Azure.Commands.Resources.dll","D:\workspace\powershell-sign\src\Package\Release\ResourceManager\AzureResourceManager\Az.AzureStackStorage\Microsoft.Azure.Commands.Resources.dll-Help.xml","D:\workspace\powershell-sign\src\Package\Release\ResourceManager\AzureResourceManager\Az.AzureStackStorage\Microsoft.Azure.Commands.Resources.dll","0","6000","D:\workspace\powershell-sign\src\Package\Release\ResourceManager\AzureResourceManager\Az.AzureStackStorage\Microsoft.Azure.Commands.Resources.dll has no matching help file","Make sure a dll Help file for D:\workspace\powershell-sign\src\Package\Release\ResourceManager\AzureResourceManager\Az.AzureStackStorage\Microsoft.Azure.Commands.Resources.dll exists and it is being copied to the output directory." diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/MissingAssemblies.csv deleted file mode 100644 index 921d8e61c898..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/MissingAssemblies.csv +++ /dev/null @@ -1 +0,0 @@ -"Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/SignatureIssues.csv deleted file mode 100644 index e4d070d56bbd..000000000000 --- a/tools/StaticAnalysis/Exceptions/Az.AzStackStorage/SignatureIssues.csv +++ /dev/null @@ -1 +0,0 @@ -"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" diff --git a/tools/StaticAnalysis/Exceptions/Az.Batch/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.Batch/AssemblyVersionConflict.csv index e76cd2693b4f..41072b2ff0a3 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Batch/AssemblyVersionConflict.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Batch/AssemblyVersionConflict.csv @@ -1,3 +1,3 @@ "Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Batch","Microsoft.Data.OData","5.6.2.0","5.6.4.0","Microsoft.Azure.Batch","1","1010","Assembly Microsoft.Data.OData version 5.6.2.0 referenced from Microsoft.Azure.Batch.dll does not match assembly version on disk: 5.6.4.0","Update any references to version 5.6.2.0 of assembly Microsoft.Data.OData" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Batch","Microsoft.WindowsAzure.Storage","4.3.0.0","6.1.0.0","Microsoft.Azure.Batch","1","1010","Assembly Microsoft.WindowsAzure.Storage version 4.3.0.0 referenced from Microsoft.Azure.Batch.dll does not match assembly version on disk: 6.1.0.0","Update any references to version 4.3.0.0 of assembly Microsoft.WindowsAzure.Storage" +"Az.Batch","Microsoft.Data.OData","5.6.2.0","5.6.4.0","Microsoft.Azure.Batch","1","1010","Assembly Microsoft.Data.OData version 5.6.2.0 referenced from Microsoft.Azure.Batch.dll does not match assembly version on disk: 5.6.4.0","Update any references to version 5.6.2.0 of assembly Microsoft.Data.OData" +"Az.Batch","Microsoft.WindowsAzure.Storage","4.3.0.0","6.1.0.0","Microsoft.Azure.Batch","1","1010","Assembly Microsoft.WindowsAzure.Storage version 4.3.0.0 referenced from Microsoft.Azure.Batch.dll does not match assembly version on disk: 6.1.0.0","Update any references to version 4.3.0.0 of assembly Microsoft.WindowsAzure.Storage" diff --git a/tools/StaticAnalysis/Exceptions/Az.Batch/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Batch/MissingAssemblies.csv index 5b919a68bbaf..f2dd9c4977b5 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Batch/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Batch/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Batch","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Batch","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Batch","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Batch","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Billing/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Billing/MissingAssemblies.csv index 0a75b80932f4..a65e795275c4 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Billing/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Billing/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Billing","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Billing","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Billing","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Billing","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Cdn/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Cdn/MissingAssemblies.csv index aa73c0406eec..5a915aad5a78 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Cdn/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Cdn/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Cdn","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Cdn","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Cdn","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Cdn","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.CognitiveServices/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.CognitiveServices/MissingAssemblies.csv index fbf5a14138e6..a65166a3ff23 100644 --- a/tools/StaticAnalysis/Exceptions/Az.CognitiveServices/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.CognitiveServices/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.CognitiveServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.CognitiveServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.CognitiveServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.CognitiveServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Compute.ManagedService/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Compute.ManagedService/MissingAssemblies.csv index 9d4cfd04daec..6794e38621b3 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Compute.ManagedService/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Compute.ManagedService/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Compute.ManagedService","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Compute.ManagedService","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Compute.ManagedService","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Compute.ManagedService","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Compute/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.Compute/AssemblyVersionConflict.csv index db1bb7191b72..c01c19f4d93f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Compute/AssemblyVersionConflict.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Compute/AssemblyVersionConflict.csv @@ -1,2 +1,2 @@ "Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Compute","System.ServiceModel.Primitives","0.0.0.0","4.5.0.3","System.ServiceModel","2","1000","Assembly System.ServiceModel.Primitives referenced from System.ServiceModel.dll does not specify any assembly version evidence. The assembly will use version 4.5.0.3 from disk.","Update the reference to assembly System.ServiceModel.Primitives from System.ServiceModel so that assembly version evidence is supplied" +"Az.Compute","System.ServiceModel.Primitives","0.0.0.0","4.5.0.3","System.ServiceModel","2","1000","Assembly System.ServiceModel.Primitives referenced from System.ServiceModel.dll does not specify any assembly version evidence. The assembly will use version 4.5.0.3 from disk.","Update the reference to assembly System.ServiceModel.Primitives from System.ServiceModel so that assembly version evidence is supplied" diff --git a/tools/StaticAnalysis/Exceptions/Az.Compute/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Compute/MissingAssemblies.csv index 53dcb886832e..21d4f65d8a45 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Compute/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Compute/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Compute","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Compute","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Compute","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Compute","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Consumption/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Consumption/MissingAssemblies.csv index 57120104c524..15ec0fc2304c 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Consumption/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Consumption/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Consumption","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Consumption","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Consumption","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Consumption","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ContainerInstance/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ContainerInstance/MissingAssemblies.csv index c3c547228fec..61b90415904c 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ContainerInstance/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ContainerInstance/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ContainerInstance","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ContainerInstance","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ContainerInstance","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ContainerInstance","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ContainerRegistry/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ContainerRegistry/MissingAssemblies.csv index 1460d9e39987..8781621c51dd 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ContainerRegistry/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ContainerRegistry/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ContainerRegistry","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ContainerRegistry","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ContainerRegistry","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ContainerRegistry","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.DataFactoryV2/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DataFactoryV2/MissingAssemblies.csv index 2c86e989678a..fa8b7d2edcf4 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DataFactoryV2/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DataFactoryV2/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataFactory","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataFactory","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" \ No newline at end of file +"Az.DataFactory","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataFactory","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" \ No newline at end of file diff --git a/tools/StaticAnalysis/Exceptions/Az.DataLakeAnalytics/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DataLakeAnalytics/MissingAssemblies.csv index b6f934c2a280..68d3b928c190 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DataLakeAnalytics/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DataLakeAnalytics/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataLakeAnalytics","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataLakeAnalytics","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataLakeAnalytics","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataLakeAnalytics","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.DataLakeStore/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DataLakeStore/MissingAssemblies.csv index 09a1bc96fe3c..04765b1b3fe0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DataLakeStore/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DataLakeStore/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataLakeStore","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataLakeStore","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataLakeStore","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataLakeStore","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.DataMigration/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DataMigration/MissingAssemblies.csv index e8f73410fa4c..1dbc92db9eae 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DataMigration/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DataMigration/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataMigration","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DataMigration","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.DataMigration/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.DataMigration/SignatureIssues.csv index e89531678679..ae515eb9fa33 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DataMigration/SignatureIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DataMigration/SignatureIssues.csv @@ -1,9 +1,9 @@ "AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewFileShare","New-AzDataMigrationFileShare","1","8100","New-AzDataMigrationFileShare Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewConnectionInfoCmdlet","New-AzDataMigrationConnectionInfo","1","8100","New-AzDataMigrationConnectionInfo Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDatabaseInfoCmdlet","New-AzDataMigrationDatabaseInfo","1","8100","New-AzDataMigrationDatabaseInfo Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSelectedDB","New-AzDataMigrationSelectedDB","1","8100","New-AzDataMigrationSelectedDB Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSyncSelectedDBObject","New-AzDataMigrationSyncSelectedDBObject","1","8100","New-AzDataMigrationSyncSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSelectedDBObject","New-AzDataMigrationSelectedDBObject","1","8100","New-AzDataMigrationSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSyncSelectedDBObject","New-AzDataMigrationSyncSelectedDBObject","1","8100","New-AzDataMigrationSyncSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DataMigration\Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSelectedDBObject","New-AzDataMigrationSelectedDBObject","1","8100","New-AzDataMigrationSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" \ No newline at end of file +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewFileShare","New-AzDataMigrationFileShare","1","8100","New-AzDataMigrationFileShare Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewConnectionInfoCmdlet","New-AzDataMigrationConnectionInfo","1","8100","New-AzDataMigrationConnectionInfo Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDatabaseInfoCmdlet","New-AzDataMigrationDatabaseInfo","1","8100","New-AzDataMigrationDatabaseInfo Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSelectedDB","New-AzDataMigrationSelectedDB","1","8100","New-AzDataMigrationSelectedDB Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSyncSelectedDBObject","New-AzDataMigrationSyncSelectedDBObject","1","8100","New-AzDataMigrationSyncSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSelectedDBObject","New-AzDataMigrationSelectedDBObject","1","8100","New-AzDataMigrationSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSyncSelectedDBObject","New-AzDataMigrationSyncSelectedDBObject","1","8100","New-AzDataMigrationSyncSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.DataMigration.dll","Microsoft.Azure.Commands.DataMigration.Cmdlets.NewDataMigrationSelectedDBObject","New-AzDataMigrationSelectedDBObject","1","8100","New-AzDataMigrationSelectedDBObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" \ No newline at end of file diff --git a/tools/StaticAnalysis/Exceptions/Az.DevSpaces/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DevSpaces/MissingAssemblies.csv index 33c359a85d4a..f86ecad42fc2 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DevSpaces/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DevSpaces/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DevSpaces","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DevSpaces","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DevSpaces","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DevSpaces","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.DevTestLabs/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DevTestLabs/MissingAssemblies.csv index cdfb4e7afa1e..a43ee43ed430 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DevTestLabs/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DevTestLabs/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DevTestLabs","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DevTestLabs","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DevTestLabs","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DevTestLabs","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.DeviceProvisioningServices/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.DeviceProvisioningServices/MissingAssemblies.csv index 375b50d1c181..aa6985632558 100644 --- a/tools/StaticAnalysis/Exceptions/Az.DeviceProvisioningServices/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.DeviceProvisioningServices/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DeviceProvisioningServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.DeviceProvisioningServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DeviceProvisioningServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.DeviceProvisioningServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Dns/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Dns/MissingAssemblies.csv index d1b1ee055fec..abdacc02d38f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Dns/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Dns/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Dns","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Dns","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Dns","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Dns","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.EventGrid/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.EventGrid/MissingAssemblies.csv index a6e7c065bb79..754c45a9973d 100644 --- a/tools/StaticAnalysis/Exceptions/Az.EventGrid/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.EventGrid/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.EventGrid","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.EventGrid","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.EventGrid","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.EventGrid","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.EventHub/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.EventHub/MissingAssemblies.csv index 256178bbc00c..7285b9c0c1dc 100644 --- a/tools/StaticAnalysis/Exceptions/Az.EventHub/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.EventHub/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.EventHub","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.EventHub","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.EventHub","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.EventHub","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.FrontDoor/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.FrontDoor/MissingAssemblies.csv index 3fc6ac7a0cca..a167554d140a 100644 --- a/tools/StaticAnalysis/Exceptions/Az.FrontDoor/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.FrontDoor/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.FrontDoor","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.FrontDoor","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.FrontDoor/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.FrontDoor/SignatureIssues.csv index 59eef23978a1..1f0d87f8118f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.FrontDoor/SignatureIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.FrontDoor/SignatureIssues.csv @@ -1,12 +1,12 @@ "AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorBackendObject","New-AzFrontDoorBackendObject","1","8100","New-AzFrontDoorBackendObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorBackendPoolObject","New-AzFrontDoorBackendPoolObject","1","8100","New-AzFrontDoorBackendPoolObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorCustomRuleObject","New-AzFrontDoorCustomRuleObject","1","8100","New-AzFrontDoorCustomRuleObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorFrontendEndpointObject","New-AzFrontDoorFrontendEndpointObject","1","8100","New-AzFrontDoorFrontendEndpointObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorHealthProbeSettingObject","New-AzFrontDoorHealthProbeSettingObject","1","8100","New-AzFrontDoorHealthProbeSettingObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorLoadBalancingSettingObject","New-AzFrontDoorLoadBalancingSettingObject","1","8100","New-AzFrontDoorLoadBalancingSettingObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorLoadBalancingSettingObject","New-AzFrontDoorLoadBalancingSettingObject","1","8410","Parameter AdditionalLatencyInMilliseconds of cmdlet New-AzFrontDoorLoadBalancingSettingObject does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorManagedRuleObject","New-AzFrontDoorManagedRuleObject","1","8100","New-AzFrontDoorManagedRuleObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorMatchConditionObject","New-AzFrontDoorMatchConditionObject","1","8100","New-AzFrontDoorMatchConditionObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorRoutingRuleObject","New-AzFrontDoorRoutingRuleObject","1","8100","New-AzFrontDoorRoutingRuleObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.FrontDoor\Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorRuleGroupOverrideObject","New-AzFrontDoorRuleGroupOverrideObject","1","8100","New-AzFrontDoorRuleGroupOverrideObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorBackendObject","New-AzFrontDoorBackendObject","1","8100","New-AzFrontDoorBackendObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorBackendPoolObject","New-AzFrontDoorBackendPoolObject","1","8100","New-AzFrontDoorBackendPoolObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorCustomRuleObject","New-AzFrontDoorCustomRuleObject","1","8100","New-AzFrontDoorCustomRuleObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorFrontendEndpointObject","New-AzFrontDoorFrontendEndpointObject","1","8100","New-AzFrontDoorFrontendEndpointObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorHealthProbeSettingObject","New-AzFrontDoorHealthProbeSettingObject","1","8100","New-AzFrontDoorHealthProbeSettingObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorLoadBalancingSettingObject","New-AzFrontDoorLoadBalancingSettingObject","1","8100","New-AzFrontDoorLoadBalancingSettingObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorLoadBalancingSettingObject","New-AzFrontDoorLoadBalancingSettingObject","1","8410","Parameter AdditionalLatencyInMilliseconds of cmdlet New-AzFrontDoorLoadBalancingSettingObject does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorManagedRuleObject","New-AzFrontDoorManagedRuleObject","1","8100","New-AzFrontDoorManagedRuleObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorMatchConditionObject","New-AzFrontDoorMatchConditionObject","1","8100","New-AzFrontDoorMatchConditionObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorRoutingRuleObject","New-AzFrontDoorRoutingRuleObject","1","8100","New-AzFrontDoorRoutingRuleObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.Commands.FrontDoor.dll","Microsoft.Azure.Commands.FrontDoor.Cmdlets.NewAzureRmFrontDoorRuleGroupOverrideObject","New-AzFrontDoorRuleGroupOverrideObject","1","8100","New-AzFrontDoorRuleGroupOverrideObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" diff --git a/tools/StaticAnalysis/Exceptions/Az.HDInsight/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.HDInsight/AssemblyVersionConflict.csv index b9150421ac80..e3589fd941ae 100644 --- a/tools/StaticAnalysis/Exceptions/Az.HDInsight/AssemblyVersionConflict.csv +++ b/tools/StaticAnalysis/Exceptions/Az.HDInsight/AssemblyVersionConflict.csv @@ -1,2 +1 @@ "Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" -"src\Package\Debug\ServiceManagement\Azure\HDInsight","Microsoft.WindowsAzure.Storage","3.0.3.0","6.0.0.0","Microsoft.Hadoop.Client","1","1010","Assembly Microsoft.WindowsAzure.Storage version 3.0.3.0 referenced from Microsoft.Hadoop.Client.dll does not match assembly version on disk: 6.0.0.0","Update any references to version 3.0.3.0 of assembly Microsoft.WindowsAzure.Storage" diff --git a/tools/StaticAnalysis/Exceptions/Az.HDInsight/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.HDInsight/MissingAssemblies.csv index fb81d996e9fb..46f79f1c0829 100644 --- a/tools/StaticAnalysis/Exceptions/Az.HDInsight/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.HDInsight/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.HDInsight","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"c:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.HDInsight","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" \ No newline at end of file +"Az.HDInsight","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.HDInsight","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" \ No newline at end of file diff --git a/tools/StaticAnalysis/Exceptions/Az.Insights/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Insights/MissingAssemblies.csv index 3868e6bb13d2..61a78fa3edf3 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Insights/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Insights/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Monitor","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Monitor","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Monitor","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Monitor","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.IotCentral/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.IotCentral/MissingAssemblies.csv index a54d47fb995e..0174f9d4fc54 100644 --- a/tools/StaticAnalysis/Exceptions/Az.IotCentral/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.IotCentral/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.IotCentral","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.IotCentral","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.IotCentral","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.IotCentral","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.IotHub/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.IotHub/MissingAssemblies.csv index 3e23f9e896d6..c3eafc34fa90 100644 --- a/tools/StaticAnalysis/Exceptions/Az.IotHub/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.IotHub/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.IotHub","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.IotHub","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.IotHub","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.IotHub","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.KeyVault/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.KeyVault/MissingAssemblies.csv index c37eac68be83..2b47e3bc04b0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.KeyVault/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.KeyVault/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.KeyVault","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.KeyVault","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.KeyVault","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.KeyVault","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.LogicApp/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.LogicApp/MissingAssemblies.csv index 20e5b45272aa..e9951f9e377c 100644 --- a/tools/StaticAnalysis/Exceptions/Az.LogicApp/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.LogicApp/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.LogicApp","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.LogicApp","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.LogicApp","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.LogicApp","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.MachineLearning/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.MachineLearning/MissingAssemblies.csv index 385b6d796ec9..ee69de9e1d71 100644 --- a/tools/StaticAnalysis/Exceptions/Az.MachineLearning/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.MachineLearning/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.MachineLearning","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.MachineLearning","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.MachineLearning","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.MachineLearning","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.MachineLearningCompute/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.MachineLearningCompute/MissingAssemblies.csv index 3f515b0f45e7..e3193c2a877a 100644 --- a/tools/StaticAnalysis/Exceptions/Az.MachineLearningCompute/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.MachineLearningCompute/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.MachineLearningCompute","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.MachineLearningCompute","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.MachineLearningCompute","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.MachineLearningCompute","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ManagedServiceIdentity/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ManagedServiceIdentity/MissingAssemblies.csv index de737bb10e7a..9f2297fa9e92 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ManagedServiceIdentity/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ManagedServiceIdentity/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ManagedServiceIdentity","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ManagedServiceIdentity","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ManagedServiceIdentity","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ManagedServiceIdentity","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ManagementPartner/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ManagementPartner/MissingAssemblies.csv index 2d2d1dde9418..ec2af9f181ce 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ManagementPartner/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ManagementPartner/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ManagementPartner","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ManagementPartner","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ManagementPartner","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ManagementPartner","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Maps/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Maps/MissingAssemblies.csv index e710e09aac20..209faa27a2d0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Maps/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Maps/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Maps","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Maps","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Maps","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Maps","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.MarketplaceOrdering/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.MarketplaceOrdering/MissingAssemblies.csv index af3fca4ba490..8440a56074e8 100644 --- a/tools/StaticAnalysis/Exceptions/Az.MarketplaceOrdering/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.MarketplaceOrdering/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.MarketplaceOrdering","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.MarketplaceOrdering","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.MarketplaceOrdering","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.MarketplaceOrdering","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Media/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Media/MissingAssemblies.csv index 1c5ecf10fbeb..a6ff5b1f6ec7 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Media/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Media/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Media","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Media","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Media","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Media","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Network/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Network/MissingAssemblies.csv index dfbb3e23eff9..605f10c6fd69 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Network/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Network/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Network","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Network","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Network","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Network","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.NotificationHubs/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.NotificationHubs/MissingAssemblies.csv index 0ee6e0917d33..cc5491075c73 100644 --- a/tools/StaticAnalysis/Exceptions/Az.NotificationHubs/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.NotificationHubs/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.NotificationHubs","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.NotificationHubs","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.NotificationHubs","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.NotificationHubs","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.OperationalInsights/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.OperationalInsights/MissingAssemblies.csv index 6a8b07481020..79e00611be29 100644 --- a/tools/StaticAnalysis/Exceptions/Az.OperationalInsights/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.OperationalInsights/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.OperationalInsights","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.OperationalInsights","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.OperationalInsights","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.OperationalInsights","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.PolicyInsights/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.PolicyInsights/MissingAssemblies.csv index 05ae45decea9..b5c55e8b34a0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.PolicyInsights/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.PolicyInsights/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.PolicyInsights","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.PolicyInsights","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.PolicyInsights","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.PolicyInsights","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.PowerBIEmbedded/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.PowerBIEmbedded/MissingAssemblies.csv index d52e7081906e..c8b2850e1c48 100644 --- a/tools/StaticAnalysis/Exceptions/Az.PowerBIEmbedded/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.PowerBIEmbedded/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.PowerBIEmbedded","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.PowerBIEmbedded","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.PowerBIEmbedded","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.PowerBIEmbedded","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Profile/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Profile/MissingAssemblies.csv index 4392707e962d..12a06b5098c7 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Profile/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Profile/MissingAssemblies.csv @@ -1,4 +1,4 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Accounts","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Accounts","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Accounts","Mono.Posix.NETStandard","1.0.0.0","Microsoft.WindowsAzure.Storage.DataMovement","0","3000","Missing assembly Mono.Posix.NETStandard referenced from Microsoft.WindowsAzure.Storage.DataMovement","Ensure that the assembly is included in the Wix file or directory" +"Az.Accounts","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Accounts","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Accounts","Mono.Posix.NETStandard","1.0.0.0","Microsoft.WindowsAzure.Storage.DataMovement","0","3000","Missing assembly Mono.Posix.NETStandard referenced from Microsoft.WindowsAzure.Storage.DataMovement","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.RecoveryServices/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.RecoveryServices/MissingAssemblies.csv index 989a714db7b5..252667f1200f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.RecoveryServices/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.RecoveryServices/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.RecoveryServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.RecoveryServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.RecoveryServices","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.RecoveryServices","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.RedisCache/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.RedisCache/AssemblyVersionConflict.csv index 093fc04de526..83e9b81cf6c6 100644 --- a/tools/StaticAnalysis/Exceptions/Az.RedisCache/AssemblyVersionConflict.csv +++ b/tools/StaticAnalysis/Exceptions/Az.RedisCache/AssemblyVersionConflict.csv @@ -1,2 +1,2 @@ "Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.RedisCache","Microsoft.WindowsAzure.Storage","6.0.0.0","6.1.0.0","Microsoft.Azure.Insights","1","1010","Assembly Microsoft.WindowsAzure.Storage version 6.0.0.0 referenced from Microsoft.Azure.Insights.dll does not match assembly version on disk: 6.1.0.0","Update any references to version 6.0.0.0 of assembly Microsoft.WindowsAzure.Storage" +"Az.RedisCache","Microsoft.WindowsAzure.Storage","6.0.0.0","6.1.0.0","Microsoft.Azure.Insights","1","1010","Assembly Microsoft.WindowsAzure.Storage version 6.0.0.0 referenced from Microsoft.Azure.Insights.dll does not match assembly version on disk: 6.1.0.0","Update any references to version 6.0.0.0 of assembly Microsoft.WindowsAzure.Storage" diff --git a/tools/StaticAnalysis/Exceptions/Az.RedisCache/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.RedisCache/MissingAssemblies.csv index 637398a87c15..f3bc357c0615 100644 --- a/tools/StaticAnalysis/Exceptions/Az.RedisCache/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.RedisCache/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.RedisCache","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.RedisCache","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.RedisCache","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.RedisCache","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Relay/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Relay/MissingAssemblies.csv index 2a57e157c0c9..d844e06809a0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Relay/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Relay/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Relay","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Relay","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Relay","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Relay","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Reservations/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Reservations/MissingAssemblies.csv index 4b8b4cddc4f1..2aa65eb7d70d 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Reservations/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Reservations/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Reservations","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Reservations","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Reservations","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Reservations","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ResourceGraph/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ResourceGraph/MissingAssemblies.csv index f2420299a8c4..3c8fe2405a24 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ResourceGraph/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ResourceGraph/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ResourceGraph","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ResourceGraph","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ResourceGraph","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ResourceGraph","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Resources/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Resources/MissingAssemblies.csv index 44405031c50d..e8bfcff58a34 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Resources/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Resources/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Resources","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Resources","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Resources","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Resources","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Search/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Search/MissingAssemblies.csv index 72eb5cc7c38d..8b6e581e7866 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Search/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Search/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Search","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Search","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Search","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Search","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Security/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Security/MissingAssemblies.csv index b4b6d04ddf25..e53839882e1f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Security/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Security/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Security","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Security","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Security","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Security","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ServiceBus/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ServiceBus/MissingAssemblies.csv index 57b2b0516e22..7dddeae0b8bc 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ServiceBus/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ServiceBus/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ServiceBus","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ServiceBus","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ServiceBus","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ServiceBus","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.ServiceFabric/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.ServiceFabric/MissingAssemblies.csv index 622f6088f88d..b1b0cdf40887 100644 --- a/tools/StaticAnalysis/Exceptions/Az.ServiceFabric/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.ServiceFabric/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ServiceFabric","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.ServiceFabric","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ServiceFabric","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.ServiceFabric","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.SignalR/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.SignalR/MissingAssemblies.csv index 7f756243f6fe..f7bcda72eebe 100644 --- a/tools/StaticAnalysis/Exceptions/Az.SignalR/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.SignalR/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.SignalR","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.SignalR","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.SignalR","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.SignalR","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Sql/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Sql/MissingAssemblies.csv index 2efa3e406a8f..6549e399cd5d 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Sql/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Sql/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Sql","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Sql","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Sql","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Sql","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Storage/AssemblyVersionConflict.csv b/tools/StaticAnalysis/Exceptions/Az.Storage/AssemblyVersionConflict.csv index 1b12e7627676..ce6888d46b5b 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Storage/AssemblyVersionConflict.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Storage/AssemblyVersionConflict.csv @@ -1,14 +1,14 @@ "Directory","AssemblyName","Expected Version","Actual Version","Parent Assembly","Severity","ProblemId","Description","Remediation" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Hyak.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Hyak.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.Common.Authentication.Abstractions","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.Common.Authentication.Abstractions.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.ResourceManager.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.ResourceManager.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Management.Storage","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Management.Storage.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime.Azure","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.Azure.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.WindowsAzure.Commands.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.WindowsAzure.Commands.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Hyak.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Hyak.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.Common.Authentication.Abstractions","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.Common.Authentication.Abstractions.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime.Azure","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.Azure.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.WindowsAzure.Commands.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.WindowsAzure.Commands.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" -"src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.ResourceManager.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.ResourceManager.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Hyak.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Hyak.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.Common.Authentication.Abstractions","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.Common.Authentication.Abstractions.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.ResourceManager.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.ResourceManager.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Management.Storage","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Management.Storage.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime.Azure","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.Azure.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.WindowsAzure.Commands.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.WindowsAzure.Commands.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Hyak.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Hyak.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.Common.Authentication.Abstractions","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.Common.Authentication.Abstractions.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime.Azure","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.Azure.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Rest.ClientRuntime","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Rest.ClientRuntime.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.WindowsAzure.Commands.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.WindowsAzure.Commands.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" +"Az.Storage","Newtonsoft.Json","6.0.0.0","10.0.0.0","Microsoft.Azure.Commands.ResourceManager.Common","1","1010","Assembly Newtonsoft.Json version 6.0.0.0 referenced from Microsoft.Azure.Commands.ResourceManager.Common.dll does not match assembly version on disk: 10.0.0.0","Update any references to version 6.0.0.0 of assembly Newtonsoft.Json" diff --git a/tools/StaticAnalysis/Exceptions/Az.Storage/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Storage/MissingAssemblies.csv index a526fcac43f5..4f79f93108a1 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Storage/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Storage/MissingAssemblies.csv @@ -1,4 +1,4 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Mono.Posix.NETStandard","1.0.0.0","Microsoft.WindowsAzure.Storage.DataMovement","0","3000","Missing assembly Mono.Posix.NETStandard referenced from Microsoft.WindowsAzure.Storage.DataMovement","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Storage","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Storage","Mono.Posix.NETStandard","1.0.0.0","Microsoft.WindowsAzure.Storage.DataMovement","0","3000","Missing assembly Mono.Posix.NETStandard referenced from Microsoft.WindowsAzure.Storage.DataMovement","Ensure that the assembly is included in the Wix file or directory" +"Az.Storage","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Storage","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.StorageSync/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.StorageSync/MissingAssemblies.csv index ca7197525c6a..950b790ea883 100644 --- a/tools/StaticAnalysis/Exceptions/Az.StorageSync/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.StorageSync/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.StorageSync","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.StorageSync","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.StorageSync","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.StorageSync","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.StreamAnalytics/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.StreamAnalytics/MissingAssemblies.csv index 0c9daa21de96..e27bfcbc7800 100644 --- a/tools/StaticAnalysis/Exceptions/Az.StreamAnalytics/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.StreamAnalytics/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.StreamAnalytics","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.StreamAnalytics","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.StreamAnalytics","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.StreamAnalytics","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Subscription/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Subscription/MissingAssemblies.csv index 1fb586e886ce..70045b3ae89e 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Subscription/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Subscription/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Subscription","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Subscription","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Subscription","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Subscription","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Tags/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Tags/MissingAssemblies.csv index 7e82438a0128..f990f7e873c5 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Tags/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Tags/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Tags","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Tags","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Tags","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Tags","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.TrafficManager/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.TrafficManager/MissingAssemblies.csv index f08c72c26ebb..73fe9e942f57 100644 --- a/tools/StaticAnalysis/Exceptions/Az.TrafficManager/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.TrafficManager/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.TrafficManager","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.TrafficManager","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.TrafficManager","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.TrafficManager","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.UsageAggregates/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.UsageAggregates/MissingAssemblies.csv index df112ee1fdf0..a5d02838ed1b 100644 --- a/tools/StaticAnalysis/Exceptions/Az.UsageAggregates/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.UsageAggregates/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.UsageAggregates","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.UsageAggregates","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.UsageAggregates","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.UsageAggregates","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Exceptions/Az.Websites/MissingAssemblies.csv b/tools/StaticAnalysis/Exceptions/Az.Websites/MissingAssemblies.csv index 0e969c748abf..4158f3c0c512 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Websites/MissingAssemblies.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Websites/MissingAssemblies.csv @@ -1,3 +1,3 @@ "Directory","Assembly Name","Assembly Version","Referencing Assembly","Severity","ProblemId","Description","Remediation" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Websites","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" -"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\Az.Websites","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Websites","Microsoft.Win32.Registry","4.1.1.0","System.Management.Automation","0","3000","Missing assembly Microsoft.Win32.Registry referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" +"Az.Websites","Microsoft.PowerShell.CoreCLR.Eventing","6.1.0.0","System.Management.Automation","0","3000","Missing assembly Microsoft.PowerShell.CoreCLR.Eventing referenced from System.Management.Automation","Ensure that the assembly is included in the Wix file or directory" diff --git a/tools/StaticAnalysis/Program.cs b/tools/StaticAnalysis/Program.cs index 34b3adada339..a39c86e3ca1c 100644 --- a/tools/StaticAnalysis/Program.cs +++ b/tools/StaticAnalysis/Program.cs @@ -69,12 +69,7 @@ public static void Main(string[] args) throw new InvalidOperationException(string.Format("Please provide a valid installation directory; the provided directory '{0}' could not be found.", installDir)); } - var directories = new List - { - Path.Combine(installDir, @"ResourceManager\AzureResourceManager\"), - Path.Combine(installDir, @"ServiceManagement\Azure\"), - Path.Combine(installDir, @"Storage\") - }.Where((d) => Directory.Exists(d)).ToList(); + var directories = new List{ installDir }.Where((d) => Directory.Exists(d)).ToList(); var reportsDirectory = Directory.GetCurrentDirectory(); bool logReportsDirectoryWarning = true; diff --git a/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj b/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj index b653c0cf7ad2..6aa1b1dbd668 100644 --- a/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj +++ b/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj @@ -8,7 +8,7 @@ true false - $(ProjectDir)..\..\src\Package + $(ProjectDir)..\..\artifacts diff --git a/tools/StaticAnalysis/StaticAnalysis.csproj b/tools/StaticAnalysis/StaticAnalysis.csproj index ef074534dce3..2c5623ca5394 100644 --- a/tools/StaticAnalysis/StaticAnalysis.csproj +++ b/tools/StaticAnalysis/StaticAnalysis.csproj @@ -18,7 +18,7 @@ true full false - ..\..\src\Package + ..\..\artifacts DEBUG;TRACE prompt 4 @@ -27,7 +27,7 @@ AnyCPU pdbonly true - ..\..\src\Package + ..\..\artifacts TRACE prompt 4 diff --git a/tools/TestModuleLoading.ps1 b/tools/TestModuleLoading.ps1 index 0f96e05d70b0..f129bfe3b2dc 100644 --- a/tools/TestModuleLoading.ps1 +++ b/tools/TestModuleLoading.ps1 @@ -18,9 +18,9 @@ param ( ) $tempModulePath = $env:PSModulePath -$outputDir = "$PSScriptRoot/../src/Package/$configuration" +$outputDir = "$PSScriptRoot/../artifacts/$configuration" Write-Warning "Running Test-ModuleManfiest on .psd1 files in $outputDir" -$env:PSModulePath += "$pathDelimiter$outputDir/ResourceManager/AzureResourceManager/$pathDelimiter$outputDir/Storage/" +$env:PSModulePath += "$pathDelimiter$outputDir/" Write-Warning "PSModulePath: $env:PSModulePath" $success = $true diff --git a/tools/TestNet472Modules.ps1 b/tools/TestNet472Modules.ps1 index d6cd8c721f22..82a293b90853 100644 --- a/tools/TestNet472Modules.ps1 +++ b/tools/TestNet472Modules.ps1 @@ -29,7 +29,7 @@ $rmItems | %{` Write-Host "Testing $_.FullName" Start-Process -FilePath $TestExecPath ` -Wait ` - -WorkingDirectory $PSScriptRoot\..\src\Package ` + -WorkingDirectory $PSScriptRoot\..\artifacts ` -NoNewWindow ` -ArgumentList $_.FullName, $testConfig, '-trait "AcceptanceType=CheckIn"', '-notrait "Runtype=DesktopOnly"'` } @@ -38,7 +38,7 @@ $storageItems | %{` Write-Host "Testing $_.FullName" Start-Process -FilePath $TestExecPath ` -Wait ` - -WorkingDirectory $PSScriptRoot\..\src\Package ` + -WorkingDirectory $PSScriptRoot\..\artifacts ` -NoNewWindow ` -ArgumentList $_.FullName, $testStorageConfig, '-trait "AcceptanceType=CheckIn"'` } diff --git a/tools/Tools.Common/Tools.Common.csproj b/tools/Tools.Common/Tools.Common.csproj index df1fdeb1644b..5d06c67bcb71 100644 --- a/tools/Tools.Common/Tools.Common.csproj +++ b/tools/Tools.Common/Tools.Common.csproj @@ -16,7 +16,7 @@ true full false - ..\..\src\Package\ + ..\..\artifacts\ DEBUG;TRACE prompt 4 @@ -24,7 +24,7 @@ pdbonly true - ..\..\src\Package\ + ..\..\artifacts\ TRACE prompt 4 diff --git a/tools/UpdateBreakingChangeDocs.ps1 b/tools/UpdateBreakingChangeDocs.ps1 index c1fb51d20182..bd4109287301 100644 --- a/tools/UpdateBreakingChangeDocs.ps1 +++ b/tools/UpdateBreakingChangeDocs.ps1 @@ -136,7 +136,7 @@ function UpdateARMBreakingChangeDocs([string]$PathToServices) if ($serviceName -eq "AzureBackup") { $serviceName = "Backup" } if ($serviceName -eq "AzureBatch") { $serviceName = "Batch" } - $modulePath = "$PathToRepo\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.$serviceName\AzureRM.$serviceName.psd1" + $modulePath = "$PathToRepo\artifacts\Debug\Az.$serviceName\Az.$serviceName.psd1" $moduleVersion = GetModuleVersion -PathToModule $modulePath @@ -210,36 +210,12 @@ if (!$PathToRepo) # Update all of the ResourceManager breaking change docs $ResourceManagerChanges = UpdateARMBreakingChangeDocs -PathToServices $PathToRepo\src\ResourceManager -# Update the ServiceManagement breaking change doc -$PathToCurrentDoc = "$PathToRepo\src\ServiceManagement\Services\Commands.Utilities\documentation\current-breaking-changes.md" -$ModuleVersion = GetModuleVersion -PathToModule $PathToRepo\src\Package\Debug\ServiceManagement\Azure\Azure.psd1 - -$ServiceManagementChanges = UpdateCurrentDoc -PathToCurrentDoc $PathToCurrentDoc -ModuleVersion $ModuleVersion - -# Update the Storage breaking change doc -$PathToCurrentDoc = "$PathToRepo\src\Storage\documentation\current-breaking-changes.md" -$ModuleVersion = GetModuleVersion -PathToModule $PathToRepo\src\Package\Debug\Storage\Azure.Storage\Azure.Storage.psd1 - -$StorageChanges = UpdateCurrentDoc -PathToCurrentDoc $PathToCurrentDoc -ModuleVersion $ModuleVersion - $allChanges = @() # If there were any ARM breaking changes, add them to the list if ($ResourceManagerChanges.Length -gt 0) { - $allChanges += $ResourceManagerChanges -} - -# If there were any RDFE breaking changes, add them to the list -if ($ServiceManagementChanges.Length -gt 0) -{ - $allChanges += $ServiceManagementChanges -} - -# If there were any Storage breaking changes, add them to the list -if ($StorageChanges.Length -gt 0) -{ - $allChanges += $StorageChanges + $allChanges += $ResourceManagerChanges } # Update the master breaking change doc with all of the breaking changes diff --git a/tools/UpdateChangeLog.ps1 b/tools/UpdateChangeLog.ps1 index c09d7f654fc6..83551005e066 100644 --- a/tools/UpdateChangeLog.ps1 +++ b/tools/UpdateChangeLog.ps1 @@ -176,13 +176,13 @@ function UpdateARMLogs([string]$PathToServices) if ($serviceName -eq "AzureBackup") { $serviceName = "Backup" } if ($serviceName -eq "AzureBatch") { $serviceName = "Batch" } - if (!(Test-Path "$PathToRepo\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.$serviceName\AzureRM.$serviceName.psd1")) + if (!(Test-Path "$PathToRepo\artifacts\Debug\Az.$serviceName\Az.$serviceName.psd1")) { continue } # Get the psd1 file - $Module = Get-Item -Path "$PathToRepo\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.$serviceName\AzureRM.$serviceName.psd1" + $Module = Get-Item -Path "$PathToRepo\artifacts\Debug\Az.$serviceName\Az.$serviceName.psd1" # Get the path to the change log $PathToChangeLog = "$($log.FullName)" @@ -257,20 +257,6 @@ Import-Module PowerShellGet # Update all of the ResourceManager change logs $ResourceManagerResult = UpdateARMLogs -PathToServices $PathToRepo\src\ResourceManager -# Update the ServiceManagement change log -$PathToChangeLog = "$PathToRepo\src\ServiceManagement\Services\Commands.Utilities\ChangeLog.md" -$PathToModule = "$PathToRepo\src\Package\Debug\ServiceManagement\Azure\Azure.psd1" - -$ServiceManagementResult = UpdateLog -PathToChangeLog $PathToChangeLog -PathToModule $PathToModule -Service "ServiceManagement" -Copy-Item -Path $PathToModule -Destination "$PathToRepo\src\ServiceManagement\Services\Commands.Utilities\Azure.psd1" -Force - -# Update the Storage change log -$PathToChangeLog = "$PathToRepo\src\Storage\ChangeLog.md" -$PathToModule = "$PathToRepo\src\Package\Debug\Storage\Azure.Storage\Azure.Storage.psd1" - -$StorageResult = UpdateLog -PathToChangeLog $PathToChangeLog -PathToModule $PathToModule -Service "Azure.Storage" -Copy-Item -Path $PathToModule -Destination "$PathToRepo\src\Storage\Azure.Storage.psd1" -Force - $result = @() # If any changes were made to ARM services, add them to the list to be added to the master change log @@ -282,18 +268,6 @@ if ($ResourceManagerResult.Length -gt 0) UpdateModule -PathToModule "$PathToRepo\tools\AzureRM\AzureRM.psd1" -ChangeLogContent $ResourceManagerResult } -# If any changes were made to RDFE services, add them to the list to be added to the master change log -if ($ServiceManagementResult.Length -gt 0) -{ - $result += $ServiceManagementResult -} - -# If any changes were made to Storage, add them to the list to be added to the master change log -if ($StorageResult.Length -gt 0) -{ - $result += $StorageResult -} - # Blank space added to separate this release and last release changes in change log $result += "" diff --git a/tools/UpdateModules.ps1 b/tools/UpdateModules.ps1 index cf74242ccb63..b77b592f738e 100644 --- a/tools/UpdateModules.ps1 +++ b/tools/UpdateModules.ps1 @@ -429,13 +429,13 @@ $script:StorageScopes = @('All', 'Latest', 'AzureStorage') $script:ServiceScopes = @('All', 'Latest', 'ServiceManagement') # Package locations -$script:AzurePackages = "$PSScriptRoot\..\src\Package" +$script:AzurePackages = "$PSScriptRoot\..\artifacts" $script:StackPackages = "$PSScriptRoot\..\src\Stack" $script:StackProjects = "$PSScriptRoot\..\src\StackAdmin" # Resource Management folders -$script:AzureRMRoot = "$script:AzurePackages\$buildConfig\ResourceManager\AzureResourceManager" -$script:StackRMRoot = "$script:StackPackages\$buildConfig\ResourceManager\AzureResourceManager" +$script:AzureRMRoot = "$script:AzurePackages\$buildConfig" +$script:StackRMRoot = "$script:StackPackages\$buildConfig" # Begin diff --git a/tools/VersionController/Models/VersionFileHelper.cs b/tools/VersionController/Models/VersionFileHelper.cs index d366a0430897..cd05b231d653 100644 --- a/tools/VersionController/Models/VersionFileHelper.cs +++ b/tools/VersionController/Models/VersionFileHelper.cs @@ -15,26 +15,16 @@ public VersionFileHelper(string rootDirectory, string outputModuleManifestPath, OutputModuleManifestPath = outputModuleManifestPath; ProjectModuleManifestPath = projectModuleManifestPath; - _outputDirectories = new List - { - Path.Combine(DebugDirectory, @"ResourceManager\AzureResourceManager\"), - Path.Combine(DebugDirectory, @"ServiceManagement\"), - Path.Combine(DebugDirectory, @"Storage\") - }; - - _projectDirectories = new List - { - Path.Combine(SrcDirectory, @"ResourceManager\"), - Path.Combine(SrcDirectory, @"ServiceManagement\"), - Path.Combine(SrcDirectory, @"Storage\") - }; + _outputDirectories = new List{ DebugDirectory }; + + _projectDirectories = new List{ Path.Combine(SrcDirectory, @"ResourceManager\") }; } public string RootDirectory { get; set; } public string SrcDirectory => Path.Combine(RootDirectory, @"src"); - public string PackageDirectory => Path.Combine(SrcDirectory, @"Package"); + public string PackageDirectory => Path.Combine(RootDirectory, @"artifacts"); public string DebugDirectory => Path.Combine(PackageDirectory, @"Debug"); diff --git a/tools/VersionController/Program.cs b/tools/VersionController/Program.cs index ea9c22eb0caa..471ed51a5826 100644 --- a/tools/VersionController/Program.cs +++ b/tools/VersionController/Program.cs @@ -35,19 +35,9 @@ public static void Main(string[] args) _rootDirectory = Directory.GetParent(srcDirectory).FullName; - _projectDirectories = new List - { - Path.Combine(srcDirectory, @"ResourceManager\"), - Path.Combine(srcDirectory, @"ServiceManagement\"), - Path.Combine(srcDirectory, @"Storage\") - }.Where((d) => Directory.Exists(d)).ToList(); + _projectDirectories = new List{ Path.Combine(_rootDirectory, @"src\ResourceManager\") }.Where((d) => Directory.Exists(d)).ToList(); - _outputDirectories = new List - { - Path.Combine(srcDirectory, @"Package\Debug\ResourceManager\AzureResourceManager\"), - Path.Combine(srcDirectory, @"Package\Debug\ServiceManagement\"), - Path.Combine(srcDirectory, @"Package\Debug\Storage\") - }.Where((d) => Directory.Exists(d)).ToList(); + _outputDirectories = new List{ Path.Combine(_rootDirectory, @"artifacts\Debug\") }.Where((d) => Directory.Exists(d)).ToList(); var exceptionsDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Exceptions"); if (args != null && args.Length > 0) @@ -57,7 +47,7 @@ public static void Main(string[] args) if (!Directory.Exists(exceptionsDirectory)) { - throw new ArgumentException("Please provide a path to the Exceptions folder in the output directory (src/Package/Exceptions)."); + throw new ArgumentException("Please provide a path to the Exceptions folder in the output directory (artifacts/Exceptions)."); } _moduleNameFilter = string.Empty; diff --git a/tools/VersionController/VersionController.csproj b/tools/VersionController/VersionController.csproj index 57cd0008c309..56a6b72c5f02 100644 --- a/tools/VersionController/VersionController.csproj +++ b/tools/VersionController/VersionController.csproj @@ -18,7 +18,7 @@ true full false - ..\..\src\Package\ + ..\..\artifacts\ DEBUG;TRACE prompt 4