Skip to content

Commit 332734e

Browse files
committed
Fixing RecoveryServices Csproj to include Get/Set Backup properties file
1 parent c274cfd commit 332734e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,11 @@
173173
</ItemGroup>
174174
<ItemGroup />
175175
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
176+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
177+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
178+
<PropertyGroup>
179+
<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>
180+
</PropertyGroup>
181+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
182+
</Target>
176183
</Project>

src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,12 @@
125125
</Compile>
126126
<Compile Include="Utilities\CertUtils.cs" />
127127
<Compile Include="Utilities\Utilities.cs" />
128+
<Compile Include="Vault\GetAzureRmRecoveryServicesBackupProperties.cs" />
128129
<Compile Include="Vault\GetAzureRmRecoveryServicesVaults.cs" />
129130
<Compile Include="Vault\GetAzureRmRecoveryServicesVaultSettingsFile.cs" />
130131
<Compile Include="Vault\NewAzureRmRecoveryServicesVault.cs" />
131132
<Compile Include="Vault\RemoveAzureRmRecoveryServicesVault.cs" />
133+
<Compile Include="Vault\SetAzureRmRecoveryServicesBackupProperties.cs" />
132134
<Compile Include="Vault\SetAzureRmRecoveryServicesVaultContext.cs" />
133135
</ItemGroup>
134136
<ItemGroup>

0 commit comments

Comments
 (0)