|
14 | 14 | <TargetFrameworkProfile />
|
15 | 15 | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
|
16 | 16 | <RestorePackages>true</RestorePackages>
|
| 17 | + <StyleCopOverrideSettingsFile>Settings.StyleCop</StyleCopOverrideSettingsFile> |
| 18 | + <BuildToolsStyleCopVersion>4.7.44.0</BuildToolsStyleCopVersion> |
17 | 19 | </PropertyGroup>
|
18 | 20 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
19 | 21 | <DebugSymbols>true</DebugSymbols>
|
|
28 | 30 | <CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
|
29 | 31 | <RunCodeAnalysis>true</RunCodeAnalysis>
|
30 | 32 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
| 33 | + <StyleCopEnabled>True</StyleCopEnabled> |
| 34 | + <StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings> |
31 | 35 | </PropertyGroup>
|
32 | 36 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
33 | 37 | <OutputPath>..\..\..\Package\Release\ServiceManagement\Azure\RecoveryServices</OutputPath>
|
34 |
| - <DefineConstants>TRACE;SIGN</DefineConstants> |
| 38 | + <DefineConstants>TRACE;SIGN;CODE_ANALYSIS</DefineConstants> |
35 | 39 | <Optimize>true</Optimize>
|
36 | 40 | <DebugType>pdbonly</DebugType>
|
37 | 41 | <PlatformTarget>AnyCPU</PlatformTarget>
|
|
65 | 69 | </Reference>
|
66 | 70 | <Reference Include="Microsoft.WindowsAzure.Management.SiteRecovery, Version=0.9.0.0, Culture=neutral, PublicKeyToken=c66ce9294aae1300, processorArchitecture=MSIL">
|
67 | 71 | <SpecificVersion>False</SpecificVersion>
|
68 |
| - <HintPath>..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.1.1-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll</HintPath> |
| 72 | + <HintPath>..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.2.2-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll</HintPath> |
69 | 73 | </Reference>
|
70 | 74 | <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
71 | 75 | <SpecificVersion>False</SpecificVersion>
|
|
97 | 101 | <Reference Include="System.Xml" />
|
98 | 102 | </ItemGroup>
|
99 | 103 | <ItemGroup>
|
| 104 | + <Compile Include="lib\PSStorageObjects.cs" /> |
| 105 | + <Compile Include="lib\PSNetworkObjects.cs" /> |
100 | 106 | <Compile Include="lib\PSContracts.cs" />
|
101 | 107 | <Compile Include="lib\PSObjects.cs" />
|
102 | 108 | <Compile Include="lib\PSParameterSets.cs" />
|
|
106 | 112 | <DesignTime>True</DesignTime>
|
107 | 113 | <DependentUpon>Resources.resx</DependentUpon>
|
108 | 114 | </Compile>
|
| 115 | + <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesStorageClient.cs" /> |
| 116 | + <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesStorageMappingClient.cs" /> |
| 117 | + <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesNetworkMappingClient.cs" /> |
| 118 | + <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesNetworkClient.cs" /> |
109 | 119 | <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesVMGroupClient.cs" />
|
110 | 120 | <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesPEClient.cs" />
|
111 | 121 | <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesClient.cs">
|
|
118 | 128 | <Compile Include="PSRecoveryServicesClient\PSRecoveryServicesVMClient.cs" />
|
119 | 129 | <Compile Include="RecoveryServicesCmdletBase.cs" />
|
120 | 130 | <Compile Include="Properties\AssemblyInfo.cs" />
|
| 131 | + <Compile Include="Service\GetAzureSiteRecoveryStorage.cs" /> |
| 132 | + <Compile Include="Service\GetAzureSiteRecoveryStorageMapping.cs" /> |
| 133 | + <Compile Include="Service\NewAzureSiteRecoveryStorageMapping.cs" /> |
| 134 | + <Compile Include="Service\RemoveAzureSiteRecoveryStorageMapping.cs" /> |
| 135 | + <Compile Include="Service\RemoveAzureSiteRecoveryNetworkMapping.cs" /> |
| 136 | + <Compile Include="Service\NewAzureSiteRecoveryNetworkMapping.cs" /> |
| 137 | + <Compile Include="Service\GetAzureSiteRecoveryNetworkMapping.cs" /> |
| 138 | + <Compile Include="Service\GetAzureSiteRecoveryNetwork.cs" /> |
121 | 139 | <Compile Include="Service\CreateAzureSiteRecoveryRecoveryPlan.cs" />
|
122 | 140 | <Compile Include="Service\GetAzureSiteRecoveryRecoveryPlanFile.cs" />
|
123 | 141 | <Compile Include="Service\RemoveAzureSiteRecoveryRecoveryPlan.cs" />
|
|
176 | 194 | <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" />
|
177 | 195 | <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" />
|
178 | 196 | </Target>
|
| 197 | + <Import Project="..\..\..\packages\BuildTools.StyleCop.4.7.49.0\tools\StyleCop.targets" Condition="Exists('..\..\..\packages\BuildTools.StyleCop.4.7.49.0\tools\StyleCop.targets')" /> |
| 198 | + <Target Name="_________packages_BuildTools_StyleCop_4_7_49_0_tools_StyleCop_targets" Condition="$(StyleCopOutputFile)==''" BeforeTargets="BeforeBuild"> |
| 199 | + <Error Text="BuildTools_StyleCop - the BuildTools_StyleCop package has not been restored.
If you are running this from an IDE, make sure NuGet Package Restore has been enabled, then reload the solution and re-run the build.
If you are running this from the command line, run the build again.
If this is a CI server, you may want to make sure NuGet Package Restore runs before your build with:
 msbuild solution.sln /t:restorepackages" /> |
| 200 | + </Target> |
179 | 201 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
180 | 202 | Other similar extension points exist, see Microsoft.Common.targets.
|
181 | 203 | <Target Name="BeforeBuild">
|
|
0 commit comments