Skip to content

Commit c5b0167

Browse files
committed
Merge branch 'Oct2018FRP' of https://github.com/zyxyoshine/azure-powershell into Oct2018FRP
2 parents 17cf1c1 + 61f6b14 commit c5b0167

File tree

1,319 files changed

+1235568
-100631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,319 files changed

+1235568
-100631
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ Package
237237
launchSettings.json
238238
/src/StackAdmin/AzureRM/AzureRM.psm1
239239
/src/StackAdmin/AzureStack/AzureStack.psm1
240-
/tools/AzureRM.Netcore/AzureRM.Netcore.psm1
241240
/ModuleMappings.json
242241
/SolutionMappings.json
243242
/TestMappings.json

Azure.PowerShell.Netcore.sln

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.SignalR.Netcore",
148148
EndProject
149149
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.DevSpaces.Netcore", "src\ResourceManager\DevSpaces\Commands.DevSpaces\Commands.DevSpaces.Netcore.csproj", "{6EBD1E1B-12D1-451D-B284-ED35A91D6C8C}"
150150
EndProject
151+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.IotCentral.Netcore", "src\ResourceManager\IotCentral\Commands.IotCentral\Commands.IotCentral.Netcore.csproj", "{18B8B354-6920-4329-AB6B-DC98790B7A5A}"
152+
EndProject
151153
Global
152154
GlobalSection(SolutionConfigurationPlatforms) = preSolution
153155
Debug|Any CPU = Debug|Any CPU
@@ -1033,6 +1035,18 @@ Global
10331035
{6EBD1E1B-12D1-451D-B284-ED35A91D6C8C}.Release|x64.Build.0 = Release|Any CPU
10341036
{6EBD1E1B-12D1-451D-B284-ED35A91D6C8C}.Release|x86.ActiveCfg = Release|Any CPU
10351037
{6EBD1E1B-12D1-451D-B284-ED35A91D6C8C}.Release|x86.Build.0 = Release|Any CPU
1038+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1039+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
1040+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Debug|x64.ActiveCfg = Debug|Any CPU
1041+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Debug|x64.Build.0 = Debug|Any CPU
1042+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Debug|x86.ActiveCfg = Debug|Any CPU
1043+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Debug|x86.Build.0 = Debug|Any CPU
1044+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
1045+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Release|Any CPU.Build.0 = Release|Any CPU
1046+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Release|x64.ActiveCfg = Release|Any CPU
1047+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Release|x64.Build.0 = Release|Any CPU
1048+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Release|x86.ActiveCfg = Release|Any CPU
1049+
{18B8B354-6920-4329-AB6B-DC98790B7A5A}.Release|x86.Build.0 = Release|Any CPU
10361050
EndGlobalSection
10371051
GlobalSection(SolutionProperties) = preSolution
10381052
HideSolutionNode = FALSE

ChangeLog.md

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,68 @@
1-
## 6.11.0 - October 2018
1+
## 6.12.0 - November 2018
2+
#### AzureRM.Profile
3+
* Update common code to use latest version of ClientRuntime
4+
* Rename param TenantId in cmdlet Connect-AzureRmAccount to Tenant and add an alias for TenantId
5+
* Updated TenantId description for Connect-AzureRmAccount
6+
* Fix error message for failed login when providing tenant domain
7+
- https://github.com/Azure/azure-powershell/issues/6936
8+
* Fix issue with context name clashing for accounts with no subscriptions in tenant
9+
- https://github.com/Azure/azure-powershell/issues/7453
10+
* Fix issue with DataLake endpoints when using MSI
11+
- https://github.com/Azure/azure-powershell/issues/7462
12+
* Fix issue where 'Disconnect-AzureRmAccount' would throw if not connected
13+
- https://github.com/Azure/azure-powershell/issues/7167
14+
15+
#### AzureRM.Automation
16+
* Renamed cmdlet DLL filename to Microsoft.Azure.Commands.Automation.dll
17+
18+
#### AzureRM.CognitiveServices
19+
* Add Get-AzureRmCognitiveServicesAccountSkus operation.
20+
21+
#### AzureRM.Compute
22+
* Add Add-AzureRmVmssVMDataDisk and Remove-AzureRmVmssVMDataDisk cmdlets
23+
* Get-AzureRmVMImage shows AutomaticOSUpgradeProperties
24+
* Fixed SetAzureRmVMChefExtension -BootstrapOptions and -JsonAttribute option values are not setting in json format.
25+
26+
#### AzureRM.DataLakeStore
27+
* Update the DataLake package to 1.1.10.
28+
* Add default Concurrency to multithreaded operations.
29+
30+
#### AzureRM.Insights
31+
* Fixed issue #7267 (Autoscale area)
32+
- Issues with creating a new autoscale rule not properly setting enumerated parameters (would always set them to the default value).
33+
* Fixed issue #7513 [Insights] Set-AzureRMDiagnosticSetting requires explicit specification of categories during creation of setting
34+
- Now the cmdlet does not require explicit indication of the categories to enable during creation, i.e. it works as it is documented
35+
36+
#### AzureRM.Network
37+
* Changed PeeringType to be a mandatory parameter for the following cmdlets:-
38+
- Get-AzureRmExpressRouteCircuitRouteTable
39+
- Get-AzureRmExpressRouteCircuitARPTable
40+
- Get-AzureRmExpressRouteCircuitRouteTableSummary
41+
- Get-AzureRMExpressRouteCrossConnectionArpTable
42+
- Get-AzureRMExpressRouteCrossConnectionRouteTable
43+
- Get-AzureRMExpressRouteCrossConnectionRouteTableSummary
44+
45+
#### AzureRM.PolicyInsights
46+
* Added policy remediation cmdlets
47+
48+
#### AzureRM.RecoveryServices.Backup
49+
* Added support for azure file shares in recovery services.
50+
51+
#### AzureRM.Resources
52+
* Fix for https://github.com/Azure/azure-powershell/issues/7402
53+
- Allow listing resources using the '-ResourceId' parameter for 'Get-AzureRmResource'
54+
55+
#### AzureRM.ServiceBus
56+
* Added MigrationState read-only property to PSServiceBusMigrationConfigurationAttributes which will help to know the Migration state.
57+
58+
#### AzureRM.ServiceFabric
59+
* Fix add certificate to Linux Vmss.
60+
* Fix 'Add-AzureRmServiceFabricClusterCertificate'
61+
- Using correct thumbprint from new certificate (Azure/service-fabric-issues#932).
62+
- Display exception correctly (Azure/service-fabric-issues#1054).
63+
* Fix 'Update-AzureRmServiceFabricDurability' to update cluster configuration before starting Vmss CreateOrUpdate operation.
64+
65+
## 6.11.0 - October 2018
266
#### AzureRM.Profile
367
* Fix issue with Get-AzureRmSubscription in CloudShell
468
* Update common code to use latest version of ClientRuntime

build.proj

Lines changed: 27 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

4-
54
<!--
65
Available Targets:
76
@@ -68,7 +67,7 @@
6867
</PropertyGroup>
6968

7069
<PropertyGroup Condition="$(NetCore) == 'true' ">
71-
<Scope>NetCore</Scope>
70+
<Scope>Netcore</Scope>
7271
</PropertyGroup>
7372

7473
<!-- Set Skips -->
@@ -85,7 +84,6 @@
8584
<SkipDependencyAnalysis>true</SkipDependencyAnalysis>
8685
</PropertyGroup>
8786

88-
8987
<ItemGroup>
9088
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'" />
9189
<StackSolution Include="$(LibrarySourceFolder)\StackAdmin\Stack.sln" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
@@ -112,9 +110,9 @@
112110
<![CDATA[System.Environment.SetEnvironmentVariable(EnvName, EnvValue);]]>
113111
</Code>
114112
</Task>
115-
</UsingTask> <!--
116-
CI build related
117-
-->
113+
</UsingTask>
114+
115+
<!-- CI build related -->
118116
<PropertyGroup>
119117
<!--OnPremiseBuildTasks is not a good name, but CI server is using that, will update across soon-->
120118
<CIToolsPath>$(OnPremiseBuildTasks)</CIToolsPath>
@@ -201,11 +199,6 @@
201199
<!-- Restore packages for local build tasks-->
202200
<Exec Command="$(NuGetCommand) restore %(LocalBuildTasks.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
203201
ContinueOnError="false" />
204-
<!-- Restore packages for repo tasks tasks-->
205-
<Exec Command="$(NuGetCommand) restore %(LocalBuildTasks.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
206-
ContinueOnError="false" />
207-
<Exec Command="$(NuGetCommand) restore %(SetupSln.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
208-
ContinueOnError="false" />
209202
<!--Restore the xunit runner needed to run unit tests-->
210203
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\packages.config -PackagesDirectory $(MSBuildProjectDirectory)\packages" />
211204
</Target>
@@ -282,60 +275,12 @@
282275
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 -BuildConfig $(Configuration) -Scope $(Scope) &quot;"
283276
Condition="'$(CodeSign)' == 'false'"/>
284277

285-
<!-- Copying modules to be signed -->
286-
287-
<!-- AzureRM -->
288-
<Copy SourceFiles="$(LibraryToolsFolder)\AzureRM\AzureRM.psd1"
289-
DestinationFolder="$(PackageDirectory)\$(Configuration)"
290-
ContinueOnError="false"
291-
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
292-
<Copy SourceFiles="$(LibraryToolsFolder)\AzureRM\AzureRM.psm1"
293-
DestinationFolder="$(PackageDirectory)\$(Configuration)"
294-
ContinueOnError="false"
295-
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
296-
297-
<!-- Stack Specific -->
298-
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psd1"
299-
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
300-
ContinueOnError="false"
301-
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
302-
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psm1"
303-
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
304-
ContinueOnError="false"
305-
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
306-
307-
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psd1"
308-
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
309-
ContinueOnError="false"
310-
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
311-
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psm1"
312-
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
313-
ContinueOnError="false"
314-
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
315-
316-
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
278+
<CallTarget Targets="CodeSignBinaries" Condition="'$(CodeSign)' == 'true'" />
317279

318280
<Exec ContinueOnError="false"
319281
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\NewOutputTypeIndex.ps1 -OutputFile $(PackageDirectory)\outputtypes.json -BuildConfig $(Configuration) &quot;"
320282
Condition="('$(Scope)' == 'All' or '$(Scope)' == 'Latest') and $(CodeSign) == 'true'" />
321283

322-
<!-- AzureRM -->
323-
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\AzureRM.psd1"
324-
DestinationFolder="$(LibraryToolsFolder)\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
325-
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\AzureRM.psm1"
326-
DestinationFolder="$(LibraryToolsFolder)\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
327-
328-
<!-- Stack -->
329-
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureRM.psd1"
330-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
331-
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureRM.psm1"
332-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
333-
334-
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureStack.psd1"
335-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
336-
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureStack.psm1"
337-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
338-
339284
<Message Importance="high" Text="Running Static Analyser" />
340285
<CallTarget targets="DependencyAnalysis" ContinueOnError="ErrorAndContinue" />
341286
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\CheckAssemblies.ps1 -BuildConfig $(Configuration) &quot;" />
@@ -346,14 +291,15 @@
346291
Condition="('$(Scope)' == 'All' or '$(Scope)' == 'Latest') and $(CodeSign) == 'true'" />
347292
</Target>
348293

349-
350-
351294
<!--
352295
Build .Net Core Cmdlets
353296
Fully self contained
354297
-->
355298
<Target Name="BuildNetCore">
356299
<Message Importance="high" Text="Building Cmdlets..." />
300+
<PropertyGroup>
301+
<Scope>Netcore</Scope>
302+
</PropertyGroup>
357303

358304
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;$ProgressPreference = 'SilentlyContinue';. $(LibraryToolsFolder)\CreateAliasMapping.ps1 &quot;"/>
359305

@@ -404,7 +350,8 @@
404350
<Delete Files="@(ExtraPsdFiles->'%(FullPath)')"/>
405351

406352
<!-- Update module manifests. -->
407-
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 -BuildConfig $(Configuration) -Scope Netcore &quot; "
353+
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 -BuildConfig $(Configuration) -Scope $(Scope) &quot; "
354+
Condition="'$(CodeSign)' == 'false'"
408355
ContinueOnError="false" />
409356
<!-- Generate the Help -->
410357
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Set-Variable -Name ProgressPreference -Value 'SilentlyContinue';. $(LibraryToolsFolder)\GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration) &quot;"
@@ -413,15 +360,13 @@
413360

414361
<!-- Cleanup extraneous files. -->
415362
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(LibraryToolsFolder)\CleanupBuild.ps1 -BuildConfig $(Configuration) &quot;" />
416-
417-
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
363+
364+
<CallTarget Targets="CodeSignBinaries" Condition="'$(CodeSign)' == 'true'" />
418365
</Target>
419366

420-
421367
<!-- Do everything possible except Publish -->
422368
<Target Name="Full" DependsOnTargets="Clean;Build;Test" />
423369

424-
425370
<Target Name="BuildMsBuildTask" DependsOnTargets="RestoreNugetPackages">
426371
<Message Importance="high" Text="Building RepoTasks" />
427372
<MSBuild Projects="@(LocalBuildTasks)"
@@ -438,9 +383,6 @@
438383
<Output TaskParameter="Path" PropertyName="WindowsSdkPath"/>
439384
</GetFrameworkSdkPath>
440385

441-
<Copy SourceFiles="$(LibraryRoot)tools\Az\Az.psd1"
442-
DestinationFolder="$(PackageDirectory)\$(Configuration)" Condition= " '$(Scope)' == 'Netcore' "/>
443-
444386
<!-- Azure -->
445387
<ItemGroup Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest' or '$(Scope)' == 'Netcore'">
446388
<DelaySignedAssembliesToSign Include="$(PackageDirectory)\$(Configuration)\**\Microsoft*Azure*Commands*.dll" Exclude="$(PackageDirectory)\$(Configuration)\**\Microsoft*Azure*Commands*Common*.dll" />
@@ -486,18 +428,18 @@
486428
ContinueOnError="false"
487429
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToSign)' != ''"/>
488430

489-
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 -BuildConfig $(Configuration) -Scope $(Scope) &quot;"
490-
Condition="'$(Scope)' != 'Netcore'"/>
431+
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 -BuildConfig $(Configuration) -Scope $(Scope) &quot;"/>
491432

492433
<!-- Copying shortcut to be signed -->
434+
<Copy SourceFiles="$(LibraryRoot)tools\Az\Az.psm1"
435+
DestinationFolder="$(PackageDirectory)\$(Configuration)" Condition="'$(Scope)' == 'Netcore'" />
493436
<Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psm1"
494437
DestinationFolder="$(PackageDirectory)\$(Configuration)" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
495438
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psm1"
496439
DestinationFolder="$(StackPackageFolder)\$(Configuration)" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
497440
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psm1"
498441
DestinationFolder="$(StackPackageFolder)\$(Configuration)" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
499442

500-
501443
<!-- Azure -->
502444
<ItemGroup Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest' or '$(Scope)' == 'Netcore'">
503445
<ScriptsToSign Include="$(PackageDirectory)\$(Configuration)\**\*.ps1"/>
@@ -533,22 +475,24 @@
533475
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'"
534476
ContinueOnError="ErrorAndContinue" />
535477

536-
<!-- Copying signed shortcut back -->
537-
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\Az.psd1"
538-
DestinationFolder="$(LibraryRoot)tools\Az" Condition= " '$(Scope)' == 'Latest' "/>
478+
<!-- Copy files back after signing -->
479+
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\Az.psm1"
480+
DestinationFolder="$(LibraryRoot)tools\Az" Condition="'$(Scope)' == 'Netcore'" />
481+
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\AzureRM.psm1"
482+
DestinationFolder="$(LibraryRoot)tools\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
483+
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureRM.psm1"
484+
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
485+
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureStack.psm1"
486+
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
539487
</Target>
540488

541-
542-
543489
<Target Name="BuildInstaller" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'">
544490
<Exec Command="$(PowerShellCommandPrefix) &quot;. Register-PSRepository -Name MSIcreationrepository -SourceLocation $(PackageDirectory) -InstallationPolicy Trusted &quot; "/>
545491
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryRoot)\setup\generate.ps1 -repository MSIcreationrepository &quot; "/>
546492
<Exec Command="$(PowerShellCommandPrefix) &quot;. Unregister-PSRepository -Name MSIcreationrepository &quot; "/>
547493
<CallTarget Targets="CodeSignInstaller" Condition=" '$(CodeSign)' == 'true'" />
548494
</Target>
549495

550-
551-
552496
<Target Name="CodeSignInstaller">
553497
<PropertyGroup>
554498
<!--public token associated with MSSharedLibKey.snk-->
@@ -580,8 +524,6 @@
580524
<SetEnvVar EnvName="SignedMsiDir" EnvValue="$(SignedOutputRootDir)" />
581525
</Target>
582526

583-
584-
585527
<!-- Run Validation -->
586528
<Target Name="DependencyAnalysis"
587529
Condition="'$(SkipDependencyAnalysis)' == 'false'">
@@ -606,8 +548,7 @@
606548
<OnError ExecuteTargets="StaticAnalysisErrorMessage"/>
607549
</Target>
608550

609-
610-
<Target Name="StaticAnalysisErrorMessage">
551+
<Target Name="StaticAnalysisErrorMessage">
611552
<Error Text="StaticAnalysis has failed. Please follow the instructions on this doc: https://github.com/Azure/azure-powershell/blob/preview/documentation/Debugging-StaticAnalysis-Errors.md"/>
612553
</Target>
613554

@@ -637,7 +578,7 @@
637578
ContinueOnError="false"/>
638579

639580
<CallTarget Targets="BuildInstaller" Condition="'$(Scope)' =='All'" />
640-
</Target>
581+
</Target>
641582

642583
<PropertyGroup>
643584
<RunTestLive Condition="'$(RunTestLive)' == ''">false</RunTestLive>
@@ -697,10 +638,7 @@
697638
DependsOnTargets="Clean;Build;Test;RunOneSDKCIT" />
698639

699640
<!-- Run live tests and record mocks -->
700-
<Target
701-
Name="RunLiveTests"
702-
DependsOnTargets="Clean;Build;LiveTestsFilter" />
703-
641+
<Target Name="RunLiveTests" DependsOnTargets="Clean;Build;LiveTestsFilter" />
704642

705643
<Target Name="LiveTestsFilter" DependsOnTargets="Build;BeforeRunTests">
706644
<Message Importance="high" Text="Running live tests..." />

documentation/breaking-changes/breaking-changes-attribute-help.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ All of the attributes have the following common traits:
3535

3636
The properties "deprecatedByVersion" and "changeInEfectByDate" are infotmation only (for the end user) as of now.
3737

38+
#### Supress the breaking change messages at runtime
3839
- If the user desires to not see the warning messages generated by the attirbutes at runtime, they can set the env variable "SuppressAzurePowerShellBreakingChangeWarnings" to "true".
3940

4041
NOTE :
@@ -485,4 +486,4 @@ Get-SomeObjectA -Param1=...
485486
...
486487
Breaking changes in the cmdlet : Get-SomeObjectA
487488
- The parameter 'Param1' is becoming mandatory
488-
```
489+
```

0 commit comments

Comments
 (0)