Skip to content

Commit 36665a4

Browse files
committed
csproj & sln changes for ARM SiteRecovery
1 parent 3326e60 commit 36665a4

File tree

4 files changed

+204
-4
lines changed

4 files changed

+204
-4
lines changed

src/AzurePowershell.sln

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 2013
3-
VisualStudioVersion = 12.0.31101.0
4-
MinimumVisualStudioVersion = 10.0.40219.1
2+
# Visual Studio 2012
53
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}"
64
ProjectSection(SolutionItems) = preProject
75
local.runsettings = local.runsettings
@@ -230,6 +228,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup", "Res
230228
EndProject
231229
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup.Test", "ResourceManager\AzureBackup\Commands.AzureBackup.Test\Commands.AzureBackup.Test.csproj", "{678AE95D-2364-47D7-888C-3FFA6D412CC8}"
232230
EndProject
231+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.SiteRecovery", "ResourceManager\SiteRecovery\Commands.SiteRecovery\Commands.SiteRecovery.csproj", "{7C879645-31EE-4A78-AD81-5512300FA104}"
232+
EndProject
233233
Global
234234
GlobalSection(SolutionConfigurationPlatforms) = preSolution
235235
Debug|Any CPU = Debug|Any CPU
@@ -572,6 +572,10 @@ Global
572572
{678AE95D-2364-47D7-888C-3FFA6D412CC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
573573
{678AE95D-2364-47D7-888C-3FFA6D412CC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
574574
{678AE95D-2364-47D7-888C-3FFA6D412CC8}.Release|Any CPU.Build.0 = Release|Any CPU
575+
{7C879645-31EE-4A78-AD81-5512300FA104}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
576+
{7C879645-31EE-4A78-AD81-5512300FA104}.Debug|Any CPU.Build.0 = Debug|Any CPU
577+
{7C879645-31EE-4A78-AD81-5512300FA104}.Release|Any CPU.ActiveCfg = Release|Any CPU
578+
{7C879645-31EE-4A78-AD81-5512300FA104}.Release|Any CPU.Build.0 = Release|Any CPU
575579
EndGlobalSection
576580
GlobalSection(SolutionProperties) = preSolution
577581
HideSolutionNode = FALSE

src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ NestedModules = @(
103103
'.\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.dll',
104104
'.\UsageAggregates\Microsoft.Azure.Commands.UsageAggregates.dll',
105105
'.\ApiManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll',
106-
'.\AzureBackup\Microsoft.Azure.Commands.AzureBackup.dll'
106+
'.\AzureBackup\Microsoft.Azure.Commands.AzureBackup.dll',
107+
'.\SiteRecovery\Microsoft.Azure.Commands.SiteRecovery.dll'
107108
)
108109

109110
# Functions to export from this module
Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{7C879645-31EE-4A78-AD81-5512300FA104}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>Microsoft.Azure.Commands.SiteRecovery</RootNamespace>
11+
<AssemblyName>Microsoft.Azure.Commands.SiteRecovery</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\SiteRecovery\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>..\..\..\Package\Release\ResourceManager\AzureResourceManager\SiteRecovery\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<ItemGroup>
35+
<Reference Include="Hyak.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
36+
<SpecificVersion>False</SpecificVersion>
37+
<HintPath>..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll</HintPath>
38+
</Reference>
39+
<Reference Include="Microsoft.Azure.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
40+
<SpecificVersion>False</SpecificVersion>
41+
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll</HintPath>
42+
</Reference>
43+
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
44+
<SpecificVersion>False</SpecificVersion>
45+
<HintPath>..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
46+
</Reference>
47+
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
48+
<SpecificVersion>False</SpecificVersion>
49+
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
50+
</Reference>
51+
<Reference Include="Microsoft.Azure.Management.SiteRecovery, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
52+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.RecoveryServicesARM.0.0.15-preview\lib\net40\Microsoft.Azure.Management.SiteRecovery.dll</HintPath>
53+
<Private>True</Private>
54+
</Reference>
55+
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
56+
<SpecificVersion>False</SpecificVersion>
57+
<HintPath>..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
58+
</Reference>
59+
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
60+
<SpecificVersion>False</SpecificVersion>
61+
<HintPath>..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
62+
</Reference>
63+
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
64+
<SpecificVersion>False</SpecificVersion>
65+
<HintPath>..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
66+
</Reference>
67+
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
68+
<SpecificVersion>False</SpecificVersion>
69+
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
70+
</Reference>
71+
<Reference Include="Security.Cryptography">
72+
<HintPath>Utilities\Security.Cryptography.dll</HintPath>
73+
</Reference>
74+
<Reference Include="System" />
75+
<Reference Include="System.Core" />
76+
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
77+
<SpecificVersion>False</SpecificVersion>
78+
<HintPath>..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
79+
</Reference>
80+
<Reference Include="System.Net" />
81+
<Reference Include="System.Net.Http" />
82+
<Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
83+
<SpecificVersion>False</SpecificVersion>
84+
<HintPath>..\..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath>
85+
</Reference>
86+
<Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
87+
<SpecificVersion>False</SpecificVersion>
88+
<HintPath>..\..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath>
89+
</Reference>
90+
<Reference Include="System.Net.Http.WebRequest" />
91+
<Reference Include="System.Runtime.Serialization" />
92+
<Reference Include="System.Web.Extensions" />
93+
<Reference Include="System.Xml.Linq" />
94+
<Reference Include="System.Data.DataSetExtensions" />
95+
<Reference Include="Microsoft.CSharp" />
96+
<Reference Include="System.Data" />
97+
<Reference Include="System.Xml" />
98+
</ItemGroup>
99+
<ItemGroup>
100+
<Compile Include="Common\PSRecoveryServicesClient.cs" />
101+
<Compile Include="Common\PSRecoveryServicesClientHelper.cs" />
102+
<Compile Include="Common\PSRecoveryServicesJobsClient.cs" />
103+
<Compile Include="Common\PSRecoveryServicesProtectionEntityClient.cs" />
104+
<Compile Include="Common\PSRecoveryServicesProtectionContainerClient.cs" />
105+
<Compile Include="Common\PSRecoveryServicesProtectionProfileClient.cs" />
106+
<Compile Include="Common\PSRecoveryServicesServerClient.cs" />
107+
<Compile Include="Common\PSRecoveryServicesVaultClient.cs" />
108+
<Compile Include="Common\PSRecoveryServicesVaultExtendedInfoClient.cs" />
109+
<Compile Include="Common\SiteRecoveryCmdletBase.cs" />
110+
<Compile Include="Job\GetAzureSiteRecoveryJob.cs" />
111+
<Compile Include="Job\ResumeAzureSiteRecoveryJob.cs" />
112+
<Compile Include="Models\PSContracts.cs" />
113+
<Compile Include="Models\PSObjects.cs" />
114+
<Compile Include="Models\PSParameterSets.cs" />
115+
<Compile Include="Properties\AssemblyInfo.cs" />
116+
<Compile Include="Properties\Resources.Designer.cs">
117+
<DependentUpon>Resources.resx</DependentUpon>
118+
<AutoGen>True</AutoGen>
119+
<DesignTime>True</DesignTime>
120+
</Compile>
121+
<Compile Include="ProtectionContainer\GetAzureSiteRecoveryProtectionContainer.cs" />
122+
<Compile Include="ProtectionEntity\GetAzureSiteRecoveryProtectionEntity.cs" />
123+
<Compile Include="ProtectionEntity\SetAzureSiteRecoveryProtectionEntity.cs" />
124+
<Compile Include="ProtectionEntity\StartAzureSiteRecoveryCommitFailoverJob.cs" />
125+
<Compile Include="ProtectionEntity\StartAzureSiteRecoveryPlannedFailoverJob.cs" />
126+
<Compile Include="ProtectionEntity\StartAzureSiteRecoveryTestFailoverJob.cs" />
127+
<Compile Include="ProtectionEntity\StartAzureSiteRecoveryUnPlannedFailoverJob.cs" />
128+
<Compile Include="ProtectionEntity\UpdateAzureSiteRecoveryProtectionDirection.cs" />
129+
<Compile Include="ProtectionProfile\RemoveAzureSiteRecoveryProtectionProfile.cs" />
130+
<Compile Include="ProtectionProfile\NewAzureSiteRecoveryProtectionProfile.cs" />
131+
<Compile Include="ProtectionProfile\GetAzureSiteRecoveryProtectionProfile.cs" />
132+
<Compile Include="ProtectionProfile\StartAzureSiteRecoveryProtectionProfileAssociationJob.cs" />
133+
<Compile Include="ProtectionProfile\StartAzureSiteRecoveryProtectionProfileDissociationJob.cs" />
134+
<Compile Include="Server\GetAzureSiteRecoveryServer.cs" />
135+
<Compile Include="Utilities\CertUtils.cs" />
136+
<Compile Include="Utilities\Utilities.cs" />
137+
<Compile Include="Vault\GetAzureSiteRecoveryVault.cs" />
138+
<Compile Include="Vault\GetAzureSiteRecoveryVaultSettings.cs" />
139+
<Compile Include="Vault\GetAzureSiteRecoveryVaultSettingsFile.cs" />
140+
<Compile Include="Vault\ImportAzureSiteRecoveryVaultSettingsFile.cs" />
141+
<Compile Include="Vault\NewAzureSiteRecoveryVault.cs" />
142+
</ItemGroup>
143+
<ItemGroup>
144+
<ProjectReference Include="..\..\..\Common\Commands.Common\Commands.Common.csproj">
145+
<Project>{5ee72c53-1720-4309-b54b-5fb79703195f}</Project>
146+
<Name>Commands.Common</Name>
147+
</ProjectReference>
148+
</ItemGroup>
149+
<ItemGroup>
150+
<WCFMetadata Include="Service References\" />
151+
</ItemGroup>
152+
<ItemGroup>
153+
<EmbeddedResource Include="Properties\Resources.resx">
154+
<Generator>ResXFileCodeGenerator</Generator>
155+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
156+
<SubType>Designer</SubType>
157+
</EmbeddedResource>
158+
</ItemGroup>
159+
<ItemGroup>
160+
<None Include="packages.config" />
161+
</ItemGroup>
162+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
163+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
164+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
165+
<PropertyGroup>
166+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
167+
</PropertyGroup>
168+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
169+
</Target>
170+
<Import Project="..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
171+
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
172+
<Error Condition="!Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
173+
<Error Condition="Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
174+
</Target>
175+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
176+
Other similar extension points exist, see Microsoft.Common.targets.
177+
<Target Name="BeforeBuild">
178+
</Target>
179+
<Target Name="AfterBuild">
180+
</Target>
181+
-->
182+
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
4+
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
5+
<package id="Microsoft.Azure.Common.Authentication" version="1.0.27-preview" targetFramework="net45" />
6+
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
7+
<package id="Microsoft.Azure.Management.RecoveryServicesARM" version="0.0.15-preview" targetFramework="net45" />
8+
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net45" />
9+
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
10+
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
11+
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net45" />
12+
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" />
13+
</packages>

0 commit comments

Comments
 (0)