diff --git a/build.proj b/build.proj
index 6dd3d0737bf8..6ee2a4ec7c13 100644
--- a/build.proj
+++ b/build.proj
@@ -41,7 +41,7 @@
$(PublishDirectory)\Setup
$(PublishDirectory)\TestResults
true
- http://psget/PSGallery/api/v2/
+ https://dtlgalleryint.cloudapp.net/api/v2
all
@@ -160,8 +160,14 @@
ContinueOnError="false" />
+
+
+
+
+
+
+
-
+
+
+
+
diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs
index 4a168eb63703..7a57a1190303 100644
--- a/setup/azurecmd.wxs
+++ b/setup/azurecmd.wxs
@@ -89,7 +89,7 @@
-
+
@@ -105,7 +105,7 @@
Name="Microsoft Azure PowerShell"
Description="Microsoft PowerShell cmdlets"
Target="[POWERSHELLPATH]\powershell.exe"
- Arguments="-NoExit -ExecutionPolicy Bypass -File "[PowerShellFolder]ServiceManagement\Azure\Services\ShortcutStartup.ps1""/>
+ Arguments="-NoExit -ExecutionPolicy Bypass -File "[PowerShellFolder]Azure\Services\ShortcutStartup.ps1""/>
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
deleted file mode 100644
index 99f5f805b75a..000000000000
--- a/setup/azurecmdfiles.wxi
+++ /dev/null
@@ -1,6075 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs
index 03e16d6c5363..0ba57d2e496a 100644
--- a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs
+++ b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs
@@ -209,16 +209,16 @@ public void SetupModules(AzureModule mode, params string[] modules)
this.modules = new List();
if (mode == AzureModule.AzureProfile)
{
- this.modules.Add(Path.Combine(PackageDirectory, @"ServiceManagement\Azure\Azure.psd1"));
- this.modules.Add(Path.Combine(PackageDirectory, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"AzureResourceManager.psd1"));
}
else if (mode == AzureModule.AzureServiceManagement)
{
- this.modules.Add(Path.Combine(PackageDirectory, @"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"Azure\Azure.psd1"));
}
else if (mode == AzureModule.AzureResourceManager)
{
- this.modules.Add(Path.Combine(PackageDirectory, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"AzureResourceManager.psd1"));
}
else
{
@@ -234,16 +234,16 @@ public void SetupModulesFromCommon(AzureModule mode, params string[] modules)
this.modules = new List();
if (mode == AzureModule.AzureProfile)
{
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ServiceManagement\Azure\Azure.psd1"));
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"AzureResourceManager.psd1"));
}
else if (mode == AzureModule.AzureServiceManagement)
{
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"Azure\Azure.psd1"));
}
else if (mode == AzureModule.AzureResourceManager)
{
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"AzureResourceManager.psd1"));
}
else
{
diff --git a/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs
index d9067b25d4bf..7e95452bcfa9 100644
--- a/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs
+++ b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs
@@ -80,7 +80,7 @@ public static void CLICommonBVTInitialize(TestContext testContext)
Test.Info("Clean storage context in PowerShell");
PowerShellAgent.CleanStorageContext();
- PowerShellAgent.ImportModule(@".\ServiceManagement\Azure\Storage\Microsoft.WindowsAzure.Commands.Storage.dll");
+ PowerShellAgent.ImportModule(@".\Azure\Storage\Microsoft.WindowsAzure.Commands.Storage.dll");
// import module
diff --git a/src/Common/Storage/Commands.Storage/Commands.Storage.csproj b/src/Common/Storage/Commands.Storage/Commands.Storage.csproj
index 7a7ad9531f60..c3ebb5caae4a 100644
--- a/src/Common/Storage/Commands.Storage/Commands.Storage.csproj
+++ b/src/Common/Storage/Commands.Storage/Commands.Storage.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Azure.Storage
+ ..\..\..\Package\Debug\Azure.Storage
DEBUG;TRACE
prompt
4
@@ -32,7 +32,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ServiceManagement\Azure\Azure.Storage
+ ..\..\..\Package\Release\Azure.Storage
TRACE;SIGN
true
pdbonly
@@ -317,6 +317,6 @@
- powershell.exe -ExecutionPolicy Unrestricted -File "$(ProjectDir)\PostBuild.ps1" "..\..\..\ResourceManager\AzureResourceManager"
+ powershell.exe -ExecutionPolicy Unrestricted -File "$(ProjectDir)\PostBuild.ps1" "..\..\..\Package\$(ConfigurationName)\Azure\Azure.Storage"
\ No newline at end of file
diff --git a/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1
index 19c0010da379..a00f70ad29c2 100644
--- a/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1
+++ b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Storage\Microsoft.WindowsAzure.Commands.Storage.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\Storage\Microsoft.WindowsAzure.Commands.Storage.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/Local.testsettings b/src/Local.testsettings
index 119f7b79b1d8..a01c6687baf0 100644
--- a/src/Local.testsettings
+++ b/src/Local.testsettings
@@ -9,7 +9,7 @@
-
+
diff --git a/src/Local.x64.testsettings b/src/Local.x64.testsettings
index e603d01a4369..f53ecb6b5711 100644
--- a/src/Local.x64.testsettings
+++ b/src/Local.x64.testsettings
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
index 1ed7713182fd..d560f2b60f57 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
+ ..\..\..\Package\Debug\AzureRM.ApiManagement\
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -30,7 +30,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
+ ..\..\..\Package\Release\AzureRM.ApiManagement\
TRACE;SIGN
AnyCPU
bin\Release\Management.Automation.dll.CodeAnalysisLog.xml
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
index 1ebd2d8198ef..d6bc3e41fbac 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll'
+NestedModules = '..\..\..\Package\Debug\ApiManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
index 23a251910b47..37aa95a4fde4 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
+ ..\..\..\Package\Debug\AzureRM.ApiManagement\
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -29,7 +29,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
+ ..\..\..\Package\Release\AzureRM.ApiManagement\
TRACE;SIGN
AnyCPU
bin\Release\Management.Automation.dll.CodeAnalysisLog.xml
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1
index 0b716c4ee335..a2ce5852f99f 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll'
+NestedModules = '..\..\..\Package\Debug\ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj
index 623ac5ce1037..6da95d330cc0 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj
+++ b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Automation\
+ ..\..\..\Package\Debug\AzureRM.Automation\
DEBUG;TRACE
prompt
4
@@ -33,7 +33,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Automation\
+ ..\..\..\Package\Release\AzureRM.Automation\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
index 5233ec15ddf7..7d8cc3f333fe 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Backup\
+ ..\..\..\Package\Debug\AzureRM.Backup\
DEBUG;TRACE
prompt
4
@@ -30,7 +30,7 @@
MinimumRecommendedRules.ruleset
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Backup\
+ ..\..\..\Package\Release\AzureRM.Backup\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1
index 0a5fbe79cd1d..a03e61694e86 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.psd1
@@ -61,7 +61,7 @@ FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureBackup\Microsoft.Azure.Commands.AzureBackup.dll'
+ '..\..\..\Package\Debug\AzureBackup\Microsoft.Azure.Commands.AzureBackup.dll'
)
# Functions to export from this module
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj
index f1e23c206da3..e478570fd8dd 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Batch\
+ ..\..\..\Package\Debug\AzureRM.Batch\
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -30,7 +30,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Batch\
+ ..\..\..\Package\Release\AzureRM.Batch\
TRACE;SIGN
prompt
4
diff --git a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs
index feda09617c28..ced7b157895a 100644
--- a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs
+++ b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs
@@ -77,7 +77,7 @@ public string RMProfileModule
get
{
return Path.Combine(this.PackageDirectory,
- @"ResourceManager\AzureResourceManager\AzureRM.Profile\AzureRM.Profile.psd1");
+ @"AzureRM.Profile\AzureRM.Profile.psd1");
}
}
@@ -86,7 +86,7 @@ public string RMResourceModule
get
{
return Path.Combine(this.PackageDirectory,
- @"ResourceManager\AzureResourceManager\AzureRM.Resources\AzureRM.Resources.psd1");
+ @"AzureRM.Resources\AzureRM.Resources.psd1");
}
}
@@ -95,7 +95,7 @@ public string RMStorageModule
get
{
return Path.Combine(this.PackageDirectory,
- @"ResourceManager\AzureResourceManager\AzureRM.Storage\AzureRM.Storage.psd1");
+ @"AzureRM.Storage\AzureRM.Storage.psd1");
}
}
@@ -105,7 +105,7 @@ public string RMStorageDataPlaneModule
get
{
return Path.Combine(this.PackageDirectory,
- @"ResourceManager\AzureResourceManager\Azure.Storage\Azure.Storage.psd1");
+ @"Azure.Storage\Azure.Storage.psd1");
}
}
@@ -113,7 +113,7 @@ public string GetRMModulePath(string psd1FileName)
{
string basename = Path.GetFileNameWithoutExtension(psd1FileName);
return Path.Combine(this.PackageDirectory,
- @"ResourceManager\AzureResourceManager\" + basename + @"\" + psd1FileName);
+ @"" + basename + @"\" + psd1FileName);
}
///
/// Loads DummyManagementClientHelper with clients and throws exception if any client is missing.
@@ -254,12 +254,12 @@ public void SetupModules(AzureModule mode, params string[] modules)
this.modules = new List();
if (mode == AzureModule.AzureProfile)
{
- this.modules.Add(Path.Combine(PackageDirectory, @"ServiceManagement\Azure\Azure.psd1"));
- this.modules.Add(Path.Combine(PackageDirectory, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"AzureResourceManager.psd1"));
}
else if (mode == AzureModule.AzureServiceManagement)
{
- this.modules.Add(Path.Combine(PackageDirectory, @"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"Azure\Azure.psd1"));
}
this.modules.Add("Assert.ps1");
@@ -272,16 +272,16 @@ public void SetupModulesFromCommon(AzureModule mode, params string[] modules)
this.modules = new List();
if (mode == AzureModule.AzureProfile)
{
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ServiceManagement\Azure\Azure.psd1"));
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"AzureResourceManager.psd1"));
}
else if (mode == AzureModule.AzureServiceManagement)
{
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"Azure\Azure.psd1"));
}
else if (mode == AzureModule.AzureResourceManager)
{
- this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"AzureResourceManager.psd1"));
}
else
{
diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj
index cff772e276d7..9c5df400cb68 100644
--- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj
+++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Compute\
+ ..\..\..\Package\Debug\AzureRM.Compute\
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Compute
+ ..\..\..\Package\Release\AzureRM.Compute
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
index 99f791d6eb8c..649cea082ac7 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.DataFactories
+ ..\..\..\Package\Debug\AzureRM.DataFactories
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.DataFactories
+ ..\..\..\Package\Release\AzureRM.DataFactories
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj
index f96c831e2c68..bb63ba172c2d 100644
--- a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj
+++ b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Dns
+ ..\..\..\Package\Debug\AzureRM.Dns
DEBUG;TRACE
prompt
4
@@ -35,7 +35,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Dns\
+ ..\..\..\Package\Release\AzureRM.Dns\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1 b/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1
index aff7c38b0600..85dd98b8a84a 100644
--- a/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1
+++ b/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Dns\Microsoft.Azure.Commands.Dns.dll'
+NestedModules = '..\..\..\Package\Debug\Dns\Microsoft.Azure.Commands.Dns.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj
index 0562eee60b53..5c369945c278 100644
--- a/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj
+++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.HDInsight\
+ ..\..\..\Package\Debug\AzureRM.HDInsight\
DEBUG;TRACE
prompt
4
@@ -26,7 +26,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.HDInsight\
+ ..\..\..\Package\Release\AzureRM.HDInsight\
TRACE
prompt
4
diff --git a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj
index 679286510a24..70b90b14440f 100644
--- a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj
+++ b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Insights\
+ ..\..\..\Package\Debug\AzureRM.Insights\
DEBUG;TRACE
prompt
4
@@ -31,7 +31,7 @@
AnyCPU
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Insights\
+ ..\..\..\Package\Release\AzureRM.Insights\
TRACE
prompt
4
diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj
index bebb25834f52..396fff101ae6 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.KeyVault
+ ..\..\..\Package\Debug\AzureRM.KeyVault
DEBUG;TRACE
prompt
4
@@ -30,7 +30,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.KeyVault
+ ..\..\..\Package\Release\AzureRM.KeyVault
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj
index 5f71ae6dc7ba..101db42ef9f0 100644
--- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj
+++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Network\
+ ..\..\..\Package\Debug\AzureRM.Network\
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Network\
+ ..\..\..\Package\Release\AzureRM.Network\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj
index 52b77a4fde13..3262cb24558f 100644
--- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj
+++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.OperationalInsights
+ ..\..\..\Package\Debug\AzureRM.OperationalInsights
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.OperationalInsights
+ ..\..\..\Package\Release\AzureRM.OperationalInsights
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1
index 85f9ece171f4..ed3ef815b53d 100644
--- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1
+++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.psd1
@@ -55,12 +55,12 @@ ScriptsToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.format.ps1xml'
+ '..\..\..\Package\Debug\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.format.ps1xml'
)
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.dll'
+ '..\..\..\Package\Debug\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.dll'
)
# Functions to export from this module
diff --git a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj
index eb7afedb961d..c0889114fa07 100644
--- a/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj
+++ b/src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Profile\
+ ..\..\..\Package\Debug\AzureRM.Profile\
DEBUG;TRACE
prompt
4
@@ -28,7 +28,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Profile\
+ ..\..\..\Package\Release\AzureRM.Profile\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1 b/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1
index 72aa7e1c063b..cf1c4296063b 100644
--- a/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1
+++ b/src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Profile\Microsoft.Azure.Commands.Profile.dll'
+NestedModules = '..\..\..\Package\Debug\AzureRM.Profile\Microsoft.Azure.Commands.Profile.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
index ab971a9a7ac4..8767b5d836eb 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.RedisCache
+ ..\..\..\Package\Debug\AzureRM.RedisCache
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.RedisCache
+ ..\..\..\Package\Release\AzureRM.RedisCache
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj
index 1b8735d0561d..eb468f1114c3 100644
--- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj
+++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Commands.Resources.Rest.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Resources\
+ ..\..\..\..\Package\Debug\AzureRM.Resources\
DEBUG;TRACE
prompt
4
@@ -30,7 +30,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Resources\
+ ..\..\..\..\Package\Release\AzureRM.Resources\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
index ed46f0bd4ee9..ae4c02b5129b 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
+++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Resources
+ ..\..\..\Package\Debug\AzureRM.Resources
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Resources
+ ..\..\..\Package\Release\AzureRM.Resources
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1 b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1
index d04c0be16ceb..0a86b4d06be6 100644
--- a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1
+++ b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.psd1
@@ -61,7 +61,7 @@ FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Resources\Microsoft.Azure.Commands.Resources.dll'
+ '..\..\..\Package\Debug\AzureRM.Resources\Microsoft.Azure.Commands.Resources.dll'
)
# Functions to export from this module
diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj
index 3c7c4463358b..cc4791e70e93 100644
--- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj
+++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Commands.SiteRecovery.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.SiteRecovery\
+ ..\..\..\Package\Debug\AzureRM.SiteRecovery\
DEBUG;TRACE
prompt
4
@@ -26,7 +26,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.SiteRecovery\
+ ..\..\..\Package\Release\AzureRM.SiteRecovery\
TRACE
prompt
4
diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
index f4e0e56e7f87..1ac7d3400c5c 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
+++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Sql
+ ..\..\..\Package\Debug\AzureRM.Sql
DEBUG;TRACE
prompt
4
@@ -35,7 +35,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Sql\
+ ..\..\..\Package\Release\AzureRM.Sql\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1
index f8b93185e710..35d615d15569 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1
+++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1
@@ -61,7 +61,7 @@ FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Sql\Microsoft.Azure.Commands.Sql.dll'
+ '..\..\..\Package\Debug\AzureRM.Sql\Microsoft.Azure.Commands.Sql.dll'
)
# Functions to export from this module
diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj
index 7a0b1dcf7d29..53985f0edf53 100644
--- a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj
+++ b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Storage\
+ ..\..\..\Package\Debug\AzureRM.Storage\
DEBUG;TRACE
prompt
4
@@ -31,7 +31,7 @@
pdbonly
TRACE;SIGN
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Storage\
+ ..\..\..\Package\Release\AzureRM.Storage\
TRACE
bin\Release\Microsoft.Azure.Commands.Management.Storage.dll.CodeAnalysisLog.xml
true
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
index 0bcb18eab200..de70cc97dafb 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.StreamAnalytics
+ ..\..\..\Package\Debug\AzureRM.StreamAnalytics
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.StreamAnalytics
+ ..\..\..\Package\Release\AzureRM.StreamAnalytics
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1
index a4950b85b098..68c3c14ac5d4 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1
@@ -55,12 +55,12 @@ ScriptsToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml'
+ '..\..\..\Package\Debug\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml'
)
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.dll'
+ '..\..\..\Package\Debug\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.dll'
)
# Functions to export from this module
diff --git a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
index 08d7e6c040e5..1b49cb850274 100644
--- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
+++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Tags
+ ..\..\..\Package\Debug\AzureRM.Tags
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Tags
+ ..\..\..\Package\Release\AzureRM.Tags
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1 b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1
index 71043eb83311..aa1c517bc18f 100644
--- a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1
+++ b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.psd1
@@ -61,7 +61,7 @@ FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Tags\Microsoft.Azure.Commands.Tags.dll'
+ '..\..\..\Package\Debug\Tags\Microsoft.Azure.Commands.Tags.dll'
)
# Functions to export from this module
diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj
index f46079ea6848..91c33f550a10 100644
--- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj
+++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj
@@ -61,7 +61,7 @@
False
- ..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\AzureRM.TrafficManager\Microsoft.Azure.Management.TrafficManager.dll
+ ..\..\..\Package\$(Configuration)\AzureRM.TrafficManager\Microsoft.Azure.Management.TrafficManager.dll
False
diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj
index 93bbce7be3be..376770c1bbe4 100644
--- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj
+++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager.csproj
@@ -21,7 +21,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.TrafficManager
+ ..\..\..\Package\Debug\AzureRM.TrafficManager
DEBUG;TRACE
prompt
4
@@ -33,7 +33,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.TrafficManager
+ ..\..\..\Package\Release\AzureRM.TrafficManager
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1
index 468f29e6f2ce..774a149ba687 100644
--- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1
+++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\TrafficManager\Microsoft.Azure.Commands.TrafficManager.dll'
+NestedModules = '..\..\..\Package\Debug\TrafficManager\Microsoft.Azure.Commands.TrafficManager.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj
index b396e5c04f32..5a939f1472ac 100644
--- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj
+++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Commands.UsageAggregates.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.UsageAggregates
+ ..\..\..\Package\Debug\AzureRM.UsageAggregates
DEBUG;TRACE
prompt
4
@@ -28,7 +28,7 @@
pdbonly
TRACE;SIGN
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.UsageAggregates
+ ..\..\..\Package\Release\AzureRM.UsageAggregates
AnyCPU
true
true
diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1
index 37af85403660..2440f7816b3a 100644
--- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1
+++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\UsageAggregates\Microsoft.Azure.Commands.UsageAggregates.dll'
+NestedModules = '..\..\..\Package\Debug\UsageAggregates\Microsoft.Azure.Commands.UsageAggregates.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj
index ce6e63e3b64f..0f64123d6d0c 100644
--- a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj
+++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Websites\
+ ..\..\..\Package\Debug\AzureRM.Websites\
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Websites\
+ ..\..\..\Package\Release\AzureRM.Websites\
TRACE;SIGN
true
pdbonly
diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1
index 77cb14b1eaad..ffdbf31cedc0 100644
--- a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1
+++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1
@@ -61,7 +61,7 @@ FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Websites\Microsoft.Azure.Commands.Websites.dll'
+ '..\..\..\Package\Debug\Websites\Microsoft.Azure.Commands.Websites.dll'
)
# Functions to export from this module
diff --git a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj
index 6439bbb62f99..47801a82b651 100644
--- a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj
+++ b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Automation\
+ ..\..\..\Package\Debug\Azure\Automation\
DEBUG;TRACE
prompt
4
@@ -33,7 +33,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Automation\
+ ..\..\..\Package\Release\Azure\Automation\
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1 b/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1
index 9bcf63596c99..7d4e220a363a 100644
--- a/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1
+++ b/src/ServiceManagement/Automation/Commands.Automation/Microsoft.Azure.Commands.Automation.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Automation\Microsoft.Azure.Commands.Automation.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\Automation\Microsoft.Azure.Commands.Automation.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/Common/PowerShellTest.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/Common/PowerShellTest.cs
index 20ff0087ded7..686ac98bfa33 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/Common/PowerShellTest.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/Common/PowerShellTest.cs
@@ -39,11 +39,11 @@ public PowerShellTest(AzureModule commandMode, params string[] modules)
this.modules = new List();
if (commandMode == AzureModule.AzureServiceManagement)
{
- this.modules.Add(FileUtilities.GetContentFilePath(@"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(FileUtilities.GetContentFilePath(@"Azure\Azure.psd1"));
}
else if (commandMode == AzureModule.AzureResourceManager)
{
- this.modules.Add(FileUtilities.GetContentFilePath(@"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ this.modules.Add(FileUtilities.GetContentFilePath(@"AzureResourceManager.psd1"));
}
else
{
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs
index ec37c894bf45..b04a152140cf 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs
@@ -41,16 +41,16 @@ public void SetupModules(AzureModule mode, params string[] testModules)
switch (mode)
{
case AzureModule.AzureProfile:
- modules.Add(@"ServiceManagement\Azure\Azure.psd1");
- modules.Add(@"ResourceManager\AzureResourceManager\AzureResourceManager.psd1");
+ modules.Add(@"Azure\Azure.psd1");
+ modules.Add(@"AzureResourceManager.psd1");
break;
case AzureModule.AzureServiceManagement:
- modules.Add(@"ServiceManagement\Azure\Azure.psd1");
+ modules.Add(@"Azure\Azure.psd1");
break;
case AzureModule.AzureResourceManager:
- modules.Add(@"ResourceManager\AzureResourceManager\AzureResourceManager.psd1");
+ modules.Add(@"AzureResourceManager.psd1");
break;
default:
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/DscExtension/DscExtensionTests.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/DscExtension/DscExtensionTests.cs
index 93edb1a08323..eb4c1660e24a 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/DscExtension/DscExtensionTests.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/DscExtension/DscExtensionTests.cs
@@ -65,9 +65,9 @@ protected void RunPowerShellTest(params string[] scripts)
{
"Resources\\DscExtension\\DscExtensionTests.ps1",
"Resources\\ServiceManagement\\Common.ps1",
- @"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Azure.psd1",
- @"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Compute\AzurePreview.psd1",
- @"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Compute\PIR.psd1"
+ @"..\..\..\..\..\Package\Debug\Azure\Azure.psd1",
+ @"..\..\..\..\..\Package\Debug\Azure\Compute\AzurePreview.psd1",
+ @"..\..\..\..\..\Package\Debug\Azure\Compute\PIR.psd1"
};
helper.SetupEnvironment(AzureModule.AzureServiceManagement);
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/ResourceManagerTests/ResourceManagerTests.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/ResourceManagerTests/ResourceManagerTests.cs
index 67b67df7b297..8712d8b13101 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/ResourceManagerTests/ResourceManagerTests.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/ResourceManagerTests/ResourceManagerTests.cs
@@ -52,7 +52,7 @@ protected void RunPowerShellTest(params string[] scripts)
List modules = Directory.GetFiles("Resources\\ResourceManager", "*.ps1").ToList();
modules.Add("Common.ps1");
- modules.Add(@"..\..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureResourceManager.psd1");
+ modules.Add(@"..\..\..\..\Package\Debug\AzureResourceManager.psd1");
helper.SetupEnvironment(AzureModule.AzureResourceManager);
helper.SetupModules(modules.ToArray());
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs
index b84d3bf03a14..6826b41458dd 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs
@@ -52,7 +52,7 @@ protected void RunPowerShellTest(params string[] scripts)
List modules = Directory.GetFiles("Resources\\Scheduler", "*.ps1").ToList();
modules.Add("Common.ps1");
- modules.Add(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Azure.psd1");
+ modules.Add(@"..\..\..\..\..\Package\Debug\Azure\Azure.psd1");
helper.SetupEnvironment(AzureModule.AzureServiceManagement);
helper.SetupModules(modules.ToArray());
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs
index 9fe205c03c4d..1a6d11ac93e0 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs
@@ -53,9 +53,9 @@ protected void RunPowerShellTest(params string[] scripts)
List modules = Directory.GetFiles(@"Resources\ServiceManagement", "*.ps1").ToList();
modules.Add("Common.ps1");
- modules.Add(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Azure.psd1");
- modules.Add(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Compute\AzurePreview.psd1");
- modules.Add(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Compute\PIR.psd1");
+ modules.Add(@"..\..\..\..\..\Package\Debug\Azure\Azure.psd1");
+ modules.Add(@"..\..\..\..\..\Package\Debug\Azure\Compute\AzurePreview.psd1");
+ modules.Add(@"..\..\..\..\..\Package\Debug\Azure\Compute\PIR.psd1");
helper.SetupEnvironment(AzureModule.AzureServiceManagement);
helper.SetupModules(modules.ToArray());
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs
index 1db0072aecdf..56c31f09ec47 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs
@@ -274,7 +274,7 @@ protected void RunPowerShellTest(params string[] scripts)
List modules = Directory.GetFiles("Resources\\TrafficManager", "*.ps1").ToList();
modules.Add("Common.ps1");
- modules.Add(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Azure.psd1");
+ modules.Add(@"..\..\..\..\..\Package\Debug\Azure\Azure.psd1");
helper.SetupEnvironment(AzureModule.AzureServiceManagement);
helper.SetupModules(modules.ToArray());
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/WAPackIaaS/CmdletTestBase.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/WAPackIaaS/CmdletTestBase.cs
index 326c4032f61f..f4a42817e605 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/WAPackIaaS/CmdletTestBase.cs
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/WAPackIaaS/CmdletTestBase.cs
@@ -73,7 +73,7 @@ private static System.Management.Automation.PowerShell CreatePipeline()
private void InitializeWAPackConfiguration()
{
string directoryPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
- var path = Path.GetFullPath(Path.Combine(directoryPath, "..\\..\\..\\Package\\Debug\\ServiceManagement\\Azure\\Azure.psd1"));
+ var path = Path.GetFullPath(Path.Combine(directoryPath, "..\\..\\..\\Package\\Debug\\Azure\\Azure.psd1"));
this.PowerShell.Commands.Clear();
this.PowerShell.AddCommand("Import-Module").AddArgument(path).InvokeAndAssertForNoErrors();
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj
index 8d4f80e5f8a0..28e4e7d52625 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Debug\Azure\Compute
DEBUG;TRACE
prompt
4
@@ -32,7 +32,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Release\Azure\Compute
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1
index 02cd21741262..f46dfecff58c 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj
index e52fd8ccb96d..9e4531bbe588 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj
@@ -21,7 +21,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Debug\Azure\Compute
DEBUG;TRACE
prompt
4
@@ -33,7 +33,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Release\Azure\Compute
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/MicrosoftAntimalware/AzureVMMicrosoftAntimalwareExtensionFunctionalTests.ps1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/MicrosoftAntimalware/AzureVMMicrosoftAntimalwareExtensionFunctionalTests.ps1
index 1f3cd2b614ce..3d242d3f9064 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/MicrosoftAntimalware/AzureVMMicrosoftAntimalwareExtensionFunctionalTests.ps1
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/MicrosoftAntimalware/AzureVMMicrosoftAntimalwareExtensionFunctionalTests.ps1
@@ -5,7 +5,7 @@ $service_name = ""
$storage_account_name = ""
$path_to_xml_config = ""
-Import-Module 'C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Azure.psd1'
+Import-Module 'C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\Azure\Azure.psd1'
#help - should see get/remove/set
help *vm*antimalware*
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj
index 8473f533e53c..75d95037bd91 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj
@@ -21,7 +21,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Debug\Azure\Compute
DEBUG;TRACE
prompt
4
@@ -34,7 +34,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Release\Azure\Compute
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1
index e7af7051e410..a00bbfe74ab6 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/Compute/Sync/Sync.csproj b/src/ServiceManagement/Compute/Sync/Sync.csproj
index c5ba9c047121..76c6e1326fb9 100644
--- a/src/ServiceManagement/Compute/Sync/Sync.csproj
+++ b/src/ServiceManagement/Compute/Sync/Sync.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Debug\Azure\Compute
DEBUG;TRACE
prompt
4
@@ -32,7 +32,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Release\Azure\Compute
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Compute/VhdManagement/VhdManagement.csproj b/src/ServiceManagement/Compute/VhdManagement/VhdManagement.csproj
index f762ce3f01a7..1d3fd5be529d 100644
--- a/src/ServiceManagement/Compute/VhdManagement/VhdManagement.csproj
+++ b/src/ServiceManagement/Compute/VhdManagement/VhdManagement.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Debug\Azure\Compute
DEBUG;TRACE
prompt
4
@@ -32,7 +32,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Compute
+ ..\..\..\Package\Release\Azure\Compute
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj
index 61b3daa2cc89..be80c2b56565 100644
--- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj
+++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\ExpressRoute\
+ ..\..\..\Package\Debug\Azure\ExpressRoute\
DEBUG;TRACE
prompt
4
@@ -30,7 +30,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\ExpressRoute\
+ ..\..\..\Package\Release\Azure\ExpressRoute\
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1
index 29d5a1f362ae..6bb3a25fe38b 100644
--- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1
+++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Microsoft.WindowsAzure.Commands.ExpressRoute.dll-help.psd1
@@ -9,7 +9,7 @@
@{
# Script module or binary module file associated with this manifest
-ModuleToProcess = '..\..\..\Package\Debug\ServiceManagement\Azure\ExpressRoute\Microsoft.WindowsAzure.Commands.ExpressRoute.dll'
+ModuleToProcess = '..\..\..\Package\Debug\Azure\ExpressRoute\Microsoft.WindowsAzure.Commands.ExpressRoute.dll'
# Version number of this module.
ModuleVersion = '0.9.10'
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/HDInsight.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight/HDInsight.csproj
index 92ec7bd01ce3..7873795ab366 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/HDInsight.csproj
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/HDInsight.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\HDInsight
+ ..\..\..\Package\Debug\Azure\HDInsight
DEBUG;TRACE
prompt
4
@@ -28,7 +28,7 @@
false
- ..\..\..\Package\Release\ServiceManagement\Azure\HDInsight
+ ..\..\..\Package\Release\Azure\HDInsight
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1 b/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1
index 9e63ca361531..3c51cdd5a72a 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Microsoft.WindowsAzure.Commands.HDInsight.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\HDInsight\Microsoft.WindowsAzure.Commands.HDInsight.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\HDInsight\Microsoft.WindowsAzure.Commands.HDInsight.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj
index 31f3567b6cb5..4b6e504f8047 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\ManagedCache
+ ..\..\..\Package\Debug\Azure\ManagedCache
DEBUG;TRACE
4
true
@@ -33,7 +33,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ServiceManagement\Azure\ManagedCache
+ ..\..\..\Package\Release\Azure\ManagedCache
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1 b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1
index 3aafca768a00..c71262705419 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Microsoft.Azure.Commands.ManagedCache.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\ManagedCache\Microsoft.Azure.Commands.ManagedCache.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\ManagedCache\Microsoft.Azure.Commands.ManagedCache.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj b/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj
index 89e1260a1c03..34862186006a 100644
--- a/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj
+++ b/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Networking\
+ ..\..\..\Package\Debug\Azure\Networking\
DEBUG;TRACE
4
true
@@ -33,7 +33,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ServiceManagement\Azure\Networking\
+ ..\..\..\Package\Release\Azure\Networking\
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Profile/Commands.Profile/Commands.Profile.csproj b/src/ServiceManagement/Profile/Commands.Profile/Commands.Profile.csproj
index ddb0d2e82fc0..650e9c237157 100644
--- a/src/ServiceManagement/Profile/Commands.Profile/Commands.Profile.csproj
+++ b/src/ServiceManagement/Profile/Commands.Profile/Commands.Profile.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Services
+ ..\..\..\Package\Debug\Azure\Services
DEBUG;TRACE
prompt
4
@@ -28,7 +28,7 @@
false
- ..\..\..\Package\Release\ServiceManagement\Azure\Services
+ ..\..\..\Package\Release\Azure\Services
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1 b/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1
index 0e82e959e647..1177a381ee91 100644
--- a/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1
+++ b/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\Package\Debug\ServiceManagement\Azure\Services\Microsoft.WindowsAzure.Commands.Profile.dll'
+NestedModules = '..\..\Package\Debug\Azure\Services\Microsoft.WindowsAzure.Commands.Profile.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj
index 358edc3c3f91..0a88f08abdab 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj
@@ -21,7 +21,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\RecoveryServices\
+ ..\..\..\Package\Debug\Azure\RecoveryServices\
DEBUG;TRACE
prompt
4
@@ -34,7 +34,7 @@
false
- ..\..\..\Package\Release\ServiceManagement\Azure\RecoveryServices
+ ..\..\..\Package\Release\Azure\RecoveryServices
TRACE;SIGN;CODE_ANALYSIS
true
pdbonly
diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj
index 16c8c6b952ea..5c55c5defba4 100644
--- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj
+++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj
@@ -6,7 +6,7 @@
AnyCPU
{492D2AF2-950B-4F2E-8079-8794305313FD}
Library
- ..\..\..\Package\$(Configuration)\ServiceManagement\Azure\RemoteApp\
+ ..\..\..\Package\$(Configuration)\Azure\RemoteApp\
Properties
Microsoft.WindowsAzure.Commands.RemoteApp
Microsoft.WindowsAzure.Commands.RemoteApp
diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs
index 1e9e2f94ec32..a93cb6062a44 100644
--- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs
+++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs
@@ -304,7 +304,7 @@ public string CreateAzureSdkDirectoryAndImportPublishSettings(string publishSett
/// Directory created for the service.
public string CreateNewService(string serviceName)
{
- CloudServiceProject newService = new CloudServiceProject(RootPath, serviceName, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject newService = new CloudServiceProject(RootPath, serviceName, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
string path = Path.Combine(RootPath, serviceName);
_previousDirectory = Environment.CurrentDirectory;
Environment.CurrentDirectory = path;
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs
index fa26a2a2dea0..006f71e73a99 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs
@@ -136,7 +136,7 @@ public void EnableDisableRemoteDesktopForWebRole()
disableRDCmdlet.DisableRemoteDesktop();
// Verify the role has been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
EnableAzureRemoteDesktopCommandTest.VerifyWebRole(service.Components.Definition.WebRole[0], true);
VerifyDisableRoleSettings(service);
}
@@ -161,7 +161,7 @@ public void EnableDisableRemoteDesktopForWebAndWorkerRoles()
disableRDCmdlet.DisableRemoteDesktop();
// Verify the roles have been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
EnableAzureRemoteDesktopCommandTest.VerifyWebRole(service.Components.Definition.WebRole[0], false);
EnableAzureRemoteDesktopCommandTest.VerifyWorkerRole(service.Components.Definition.WorkerRole[0], true);
VerifyDisableRoleSettings(service);
@@ -188,7 +188,7 @@ public void EnableDisableEnableRemoteDesktopForWebAndWorkerRoles()
EnableAzureRemoteDesktopCommandTest.EnableRemoteDesktop("user", "GoodPassword!");
// Verify the roles have been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
EnableAzureRemoteDesktopCommandTest.VerifyWebRole(service.Components.Definition.WebRole[0], false);
EnableAzureRemoteDesktopCommandTest.VerifyWorkerRole(service.Components.Definition.WorkerRole[0], true);
EnableAzureRemoteDesktopCommandTest.VerifyRoleSettings(service);
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs
index d4d4b7674f85..f30dca410b4c 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs
@@ -184,7 +184,7 @@ public void EnableRemoteDesktopForWebRole()
// Verify the role has been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
VerifyWebRole(service.Components.Definition.WebRole[0], true);
VerifyRoleSettings(service);
}
@@ -210,7 +210,7 @@ public void EnableRemoteDesktopForWebAndWorkerRoles()
// Verify the roles have been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
VerifyWebRole(service.Components.Definition.WebRole[0], false);
VerifyWorkerRole(service.Components.Definition.WorkerRole[0], true);
VerifyRoleSettings(service);
@@ -247,7 +247,7 @@ public void EnableRemoteDesktopForMultipleWebAndWorkerRolesTwice()
// Verify the roles have been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
VerifyWebRole(service.Components.Definition.WebRole[0], false);
VerifyWebRole(service.Components.Definition.WebRole[0], false);
VerifyWorkerRole(service.Components.Definition.WorkerRole[0], true);
@@ -281,7 +281,7 @@ public void EnableRemoteDesktopUnicode()
// Verify the role has been setup with forwarding, access,
// and certs
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
VerifyWebRole(service.Components.Definition.WebRole[0], true);
VerifyRoleSettings(service);
}
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs
index 7802f1b702df..7f7bbd199549 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs
@@ -67,7 +67,7 @@ public void TestCreatePackageSuccessfull()
string rootPath = Path.Combine(files.RootPath, "NEW_SERVICE");
string packagePath = Path.Combine(rootPath, Resources.CloudPackageFileName);
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
service.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
cmdlet.ExecuteCmdlet();
@@ -110,7 +110,7 @@ public void TestCreatePackageWithMultipleRolesSuccessfull()
string rootPath = Path.Combine(files.RootPath, "NEW_SERVICE");
string packagePath = Path.Combine(rootPath, Resources.CloudPackageFileName);
- CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
service.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
service.AddWorkerRole(Test.Utilities.Common.Data.NodeWorkerRoleScaffoldingPath);
service.AddWorkerRole(Test.Utilities.Common.Data.NodeWorkerRoleScaffoldingPath);
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
index efe34f84501d..365b9225f613 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
@@ -595,7 +595,7 @@ public void TestResolveRuntimePackageUrls()
AddAzureNodeWebRoleCommand addAzureWebRole = new AddAzureNodeWebRoleCommand() { RootPath = rootPath, CommandRuntime = mockCommandRuntime, Name = webRole2Name };
addAzureWebRole.ExecuteCmdlet();
- CloudServiceProject testService = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ CloudServiceProject testService = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
RuntimePackageHelper.SetRoleRuntime(testService.Components.Definition, matchWebRoleName, testService.Paths, version: "0.8.2");
RuntimePackageHelper.SetRoleRuntime(testService.Components.Definition, matchWorkerRoleName, testService.Paths, version: "0.8.2");
RuntimePackageHelper.SetRoleRuntime(testService.Components.Definition, overrideWebRoleName, testService.Paths, overrideUrl: "http://OVERRIDE");
diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs
index 64ee165d9b13..c0f361a902d0 100644
--- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs
+++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs
@@ -277,7 +277,7 @@ public void TestPublishNewCloudService()
// Setup
string rootPath = files.CreateNewService(serviceName);
files.CreateAzureSdkDirectoryAndImportPublishSettings();
- var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
cloudServiceProject.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
@@ -313,7 +313,7 @@ public void TestUpgradeCloudService()
// Setup
string rootPath = files.CreateNewService(serviceName);
files.CreateAzureSdkDirectoryAndImportPublishSettings();
- var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
cloudServiceProject.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
ExecuteInTempCurrentDirectory(rootPath, () => client.PublishCloudService(location: "West US"));
@@ -344,7 +344,7 @@ public void TestCreateStorageServiceWithPublish()
// Setup
string rootPath = files.CreateNewService(serviceName);
files.CreateAzureSdkDirectoryAndImportPublishSettings();
- var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
cloudServiceProject.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
ExecuteInTempCurrentDirectory(rootPath, () => client.PublishCloudService(location: "West US"));
@@ -372,7 +372,7 @@ public void TestPublishWithCurrentStorageAccount()
// Setup
string rootPath = files.CreateNewService(serviceName);
files.CreateAzureSdkDirectoryAndImportPublishSettings();
- var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
cloudServiceProject.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
subscription.Properties[AzureSubscription.Property.StorageAccount] = storageName;
@@ -414,7 +414,7 @@ public void TestPublishWithDefaultLocation()
// Setup
string rootPath = files.CreateNewService(serviceName);
files.CreateAzureSdkDirectoryAndImportPublishSettings();
- var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\ServiceManagement\Azure\Services"));
+ var cloudServiceProject = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath(@"..\..\..\..\..\Package\Debug\Azure\Services"));
cloudServiceProject.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath);
ExecuteInTempCurrentDirectory(rootPath, () => client.PublishCloudService());
diff --git a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj
index 9e0e30f9225f..2cd6f5c992dc 100644
--- a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj
+++ b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Services
+ ..\..\..\Package\Debug\Azure\Services
DEBUG;TRACE
prompt
4
@@ -29,7 +29,7 @@
false
- ..\..\..\Package\Release\ServiceManagement\Azure\Services
+ ..\..\..\Package\Release\Azure\Services
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Services/Commands/Commands.csproj b/src/ServiceManagement/Services/Commands/Commands.csproj
index 8464dc05d663..7340d40a87de 100644
--- a/src/ServiceManagement/Services/Commands/Commands.csproj
+++ b/src/ServiceManagement/Services/Commands/Commands.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Services
+ ..\..\..\Package\Debug\Azure\Services
DEBUG;TRACE
prompt
4
@@ -31,7 +31,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\Services
+ ..\..\..\Package\Release\Azure\Services
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs
index bdafb5a7d878..eea8188810a8 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs
@@ -245,7 +245,7 @@ public static void DumpStreams(this System.Management.Automation.PowerShell powe
public static void ImportAzureModule(System.Management.Automation.PowerShell powershell)
{
// Import the test manifest file
- powershell.InvokeBatchScript(@"Import-Module ..\..\..\..\Package\Debug\ServiceManagement\Azure\Azure.psd1");
+ powershell.InvokeBatchScript(@"Import-Module ..\..\..\..\Package\Debug\Azure\Azure.psd1");
Assert.IsTrue(powershell.Streams.Error.Count == 0);
}
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj
index 4c3608d981ad..4e66e40bc5a7 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Sql
+ ..\..\..\Package\Debug\Azure\Sql
DEBUG;TRACE
prompt
4
@@ -35,7 +35,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ServiceManagement\Azure\Sql
+ ..\..\..\Package\Release\Azure\Sql
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1 b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1
index df4b2f8ce47d..a040cc009bf2 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\Sql\Microsoft.WindowsAzure.Commands.SqlDatabase.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\Sql\Microsoft.WindowsAzure.Commands.SqlDatabase.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj b/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj
index d27095930b90..a2f8dac38dcf 100644
--- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj
+++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\StorSimple\
+ ..\..\..\Package\Debug\Azure\StorSimple\
DEBUG;TRACE
prompt
4
@@ -30,7 +30,7 @@
MinimumRecommendedRules.ruleset
- ..\..\..\Package\Release\ServiceManagement\Azure\StorSimple\
+ ..\..\..\Package\Release\Azure\StorSimple\
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1
index 69af13d1a088..18dd338640dd 100644
--- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1
+++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1
@@ -61,7 +61,7 @@ FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @(
- '..\..\..\Package\Debug\ServiceManagement\Azure\StorSimple\Microsoft.WindowsAzure.Commands.StorSimple.dll'
+ '..\..\..\Package\Debug\Azure\StorSimple\Microsoft.WindowsAzure.Commands.StorSimple.dll'
)
# Functions to export from this module
diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj
index 90d2c4806214..e996c6702498 100644
--- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj
+++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\TrafficManager
+ ..\..\..\Package\Debug\Azure\TrafficManager
DEBUG;TRACE
prompt
4
@@ -33,7 +33,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ServiceManagement\Azure\TrafficManager
+ ..\..\..\Package\Release\Azure\TrafficManager
TRACE;SIGN
true
pdbonly
diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1 b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1
index de022ae50496..57d9cfab92cf 100644
--- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1
+++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Microsoft.WindowsAzure.Commands.TrafficManager.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ServiceManagement\Azure\TrafficManager\Microsoft.WindowsAzure.Commands.TrafficManager.dll'
+NestedModules = '..\..\..\Package\Debug\Azure\TrafficManager\Microsoft.WindowsAzure.Commands.TrafficManager.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/tools/AzureRM/AzureRM.psm1 b/tools/AzureRM/AzureRM.psm1
index 173282c151e1..c0e22c985ee8 100644
--- a/tools/AzureRM/AzureRM.psm1
+++ b/tools/AzureRM/AzureRM.psm1
@@ -49,7 +49,7 @@ function CheckIncompatibleVersion([bool]$Force)
$path = ${env:ProgramFiles}
}
- if ( Test-Path "$path\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager\AzureResourceManager.psd1")
+ if ( Test-Path "$path\Microsoft SDKs\Azure\PowerShell\AzureResourceManager.psd1")
{
if ($Force)
{
diff --git a/tools/BuildInstaller.ps1 b/tools/BuildInstaller.ps1
index 150fb3fddde4..df916531d011 100644
--- a/tools/BuildInstaller.ps1
+++ b/tools/BuildInstaller.ps1
@@ -12,6 +12,14 @@
# limitations under the License.
# ----------------------------------------------------------------------------------
+param(
+ [Parameter(Position = 0, Mandatory = $false)]
+ [string]
+ $BuildConfig = "Release",
+ [Parameter(Position = 1, Mandatory = $false)]
+ [string]
+ $RepositoryLocation = "http://psget/PSGallery/api/v2/")
+
$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
. ($scriptFolder + '.\SetupEnv.ps1')
@@ -50,11 +58,22 @@ if ($wixInstallRoot -eq $null){
#and we just register both 3.8 & 3.5 to simplify the script
$env:path = $env:path + ";$wixInstallRoot"
-# Regenerate the installer files
-&"$env:AzurePSRoot\tools\Installer\generate.ps1" 'Debug'
-
-# Build the cmdlets and installer in debug mode
-msbuild "$env:AzurePSRoot\build.proj" /t:Build
+if ($RepositoryLocation -eq "Local") {
+ # Fetch the cmdlets from source
+ msbuild "$env:AzurePSRoot\build.proj" /t:Build /p:Configuration=$BuildConfig
+} else {
+ # Fetch the cmdlets from gallery
+ $repo = Get-PSRepository | where { $_.SourceLocation -eq $RepositoryLocation }
+ if ($repo -ne $null) {
+ $repoName = $repo.Name
+ } else {
+ $repoName = $(New-Guid).ToString()
+ Register-PSRepository -Name $repoName -SourceLocation $RepositoryLocation -PublishLocation $RepositoryLocation/package -InstallationPolicy Trusted
+ }
+
+ # Save Azure PowerShell packages
+ &"$env:AzurePSRoot\tools\SaveModules.ps1" $BuildConfig $repoName
+}
-Write-Host "MSI file path: $env:AzurePSRoot\setup\build\Debug\AzurePowerShell.msi"
-Write-Host "MSI for PowerShell Gallery: $env:AzurePSRoot\setup-powershellget\build\Debug\AzurePowerShellGet.msi"
\ No newline at end of file
+# Regenerate the installer files
+&"$env:AzurePSRoot\tools\Installer\generate.ps1" $BuildConfig
\ No newline at end of file
diff --git a/tools/Docs/Get-AllCommands/Get-AllCommands.ps1 b/tools/Docs/Get-AllCommands/Get-AllCommands.ps1
index 357d1897dd01..6bb677b7deb2 100644
--- a/tools/Docs/Get-AllCommands/Get-AllCommands.ps1
+++ b/tools/Docs/Get-AllCommands/Get-AllCommands.ps1
@@ -14,685 +14,685 @@
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 { $_.Name -like "*.xml"}).Name
-
- $CmdletCount = 0
- $ParmCount = 0
- $ShortDescCount = 0
- $LongDescCount = 0
- $HelpExCount = 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
- }
+ 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 { $_.Name -like "*.xml"}).Name
+
+ $CmdletCount = 0
+ $ParmCount = 0
+ $ShortDescCount = 0
+ $LongDescCount = 0
+ $HelpExCount = 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 (dir $InputXML | select-string " with
- (gc $azureFiles).replace(' with
+ (gc $azureFiles).replace('
+param(
+ [Parameter(Position = 0, Mandatory = $false)]
+ [string]
+ $BuildConfig = "Release",
+ [Parameter(Position = 1, Mandatory = $false)]
+ [string]
+ $Repository = "PSGallery")
+
+$AzureMajorVersion = "0"
+
+$AzureRMModules = @(
+ "AzureRM.ApiManagement",
+ "AzureRM.Automation",
+ "AzureRM.Backup",
+ "AzureRM.Batch",
+ "AzureRM.Compute",
+ "AzureRM.DataFactories",
+ "AzureRM.Dns",
+ "AzureRM.HDInsight",
+ "AzureRM.Insights",
+ "AzureRM.KeyVault",
+ "AzureRM.Network",
+ "AzureRM.OperationalInsights",
+ "AzureRM.RedisCache",
+ "AzureRM.Resources",
+ "AzureRM.SiteRecovery",
+ "AzureRM.Sql",
+ "AzureRM.Storage",
+ "AzureRM.StreamAnalytics",
+ "AzureRM.Tags",
+ "AzureRM.TrafficManager",
+ "AzureRM.UsageAggregates",
+ "AzureRM.Websites"
+)
+
+$AzurePSPath = "$PSScriptRoot\..\src\Package\$BuildConfig"
+
+function Save-ModuleWithVersionCheck([string]$Name,[string]$MajorVersion,[string]$Repository,[string]$Path)
+{
+ $_MinVer = "$MajorVersion.0.0.0"
+ $_MaxVer = "$MajorVersion.9999.9999.9999"
+ $script:InstallCounter ++
+ try {
+ Save-Module -Name $Name -Repository $Repository -MinimumVersion $_MinVer -MaximumVersion $_MaxVer -ErrorAction Stop -Path $Path
+ $versionFolder = Get-ChildItem "$Path\$Name\" | Select-Object -First 1
+ $v = $versionFolder.Name
+ Write-Output "$Name $v..."
+ } catch {
+ Write-Warning "Skipping $Name package..."
+ Write-Warning $_
+ }
+}
+
+function Save-AzureModule
+{
+ Write-Output "Saving Azure PowerShell modules."
+
+ $_InstallationPolicy = (Get-PSRepository -Name $Repository).InstallationPolicy
+ $script:InstallCounter = 0
+
+ try
+ {
+ Remove-Item -Recurse -Force $AzurePSPath -ErrorAction SilentlyContinue
+ New-Item -ItemType Directory -Force -Path $AzurePSPath
+
+ Set-PSRepository -Name $Repository -InstallationPolicy Trusted
+ Write-Output "Using Repository $Repository..."
+
+ $MajorVersion = $AzureMajorVersion
+
+ # Start new job
+ $AzureRMModules | ForEach {
+ Save-ModuleWithVersionCheck $_ $MajorVersion $Repository $AzurePSPath
+ }
+
+ Save-ModuleWithVersionCheck "Azure" $MajorVersion $Repository $AzurePSPath
+ Save-ModuleWithVersionCheck "Azure.Storage" $MajorVersion $Repository $AzurePSPath
+ Save-ModuleWithVersionCheck "AzureRM.Profile" $MajorVersion $Repository $AzurePSPath
+
+ } finally {
+ # Clean up
+ Set-PSRepository -Name $Repository -InstallationPolicy $_InstallationPolicy
+ Get-ChildItem -Path $AzurePSPath -Include PSGetModuleInfo.xml -Recurse -Force | Foreach { $_.Delete() }
+ }
+}
+
+Save-AzureModule
\ No newline at end of file
diff --git a/tools/VerifyAzureSDK.ps1 b/tools/VerifyAzureSDK.ps1
index 6c4cf9bcf351..d04e792598f5 100644
--- a/tools/VerifyAzureSDK.ps1
+++ b/tools/VerifyAzureSDK.ps1
@@ -1,7 +1,7 @@
$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
. ($scriptFolder + '.\SetupEnv.ps1')
-Import-Module "$env:AzurePSRoot\src\Package\Debug\ServiceManagement\azure\Azure.psd1"
+Import-Module "$env:AzurePSRoot\src\Package\Debug\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"