You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you sync the main branch of azure-sdk-for-net and change directory into ./sdk/resourcemanager/Azure.ResourceManager and run dotnet build you will get many errors like the following
C:\git\Azure\azure-sdk-for-net\sdk\resourcemanager\Azure.ResourceManager\samples\Generated\Samples\Sample_ManagementLockCollect
ion.cs(33,58): error CS1061: 'ArmClient' does not contain a definition for 'GetManagementLocks' and no accessible extension met
hod 'GetManagementLocks' accepting a first argument of type 'ArmClient' could be found (are you missing a using directive or an
assembly reference?) [C:\git\Azure\azure-sdk-for-net\sdk\resourcemanager\Azure.ResourceManager\samples\Azure.ResourceManager.S
amples.csproj::TargetFramework=net8.0]
In this PR #5107 we changed the sample generator to assume that the arm client had the GetManagementLocks extension but it actually belongs to ArmResource.
We need to update the sample manager to fix this.
I also opened on issue on our CI to get updated so this doesn't slip through the cracks next time. Azure/azure-sdk-tools#9590
The text was updated successfully, but these errors were encountered:
If you sync the main branch of azure-sdk-for-net and change directory into ./sdk/resourcemanager/Azure.ResourceManager and run dotnet build you will get many errors like the following
In this PR #5107 we changed the sample generator to assume that the arm client had the GetManagementLocks extension but it actually belongs to ArmResource.
We need to update the sample manager to fix this.
I also opened on issue on our CI to get updated so this doesn't slip through the cracks next time. Azure/azure-sdk-tools#9590
The text was updated successfully, but these errors were encountered: