Skip to content

Commit ccac844

Browse files
committed
Removed direct DLL references for test projects. Updated the references to ProjectReference when necessary. Fixed an issue where Management.Storage 8.1.0-preview was being referenced for tests (when 8.1.1-preview should be).
1 parent c897955 commit ccac844

File tree

56 files changed

+47
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+47
-305
lines changed

Directory.Build.targets

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- https://dasmulli.blog/2018/01/20/make-dotnet-test-work-on-solution-files/ -->
2+
<Project>
3+
<Target Name="VSTestIfTestProject">
4+
<CallTarget Targets="VSTest" Condition="'$(IsTestProject)' == 'true'" />
5+
</Target>
6+
</Project>

after.Azure.PowerShell.sln.targets

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- https://dasmulli.blog/2018/01/20/make-dotnet-test-work-on-solution-files/ -->
2+
<Project>
3+
<Target Name="VSTest">
4+
<MSBuild Projects="@(ProjectReference)" Targets="VSTestIfTestProject" />
5+
</Target>
6+
</Project>

src/ResourceManager/Aks/Commands.Aks.Test/Commands.Aks.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.Aks">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Aks\Microsoft.Azure.Commands.Aks.dll</HintPath>
34-
</Reference>
32+
<ProjectReference Include="..\Commands.Aks\Commands.Aks.Netcore.csproj" />
3533
</ItemGroup>
3634

3735
<ItemGroup>

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Test/Commands.AnalysisServices.Test.Netcore.csproj

+1-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.AnalysisServices">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.AnalysisServices\Microsoft.Azure.Commands.AnalysisServices.dll</HintPath>
34-
</Reference>
35-
<Reference Include="Microsoft.Azure.Commands.AnalysisServices.Dataplane">
36-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.AnalysisServices\Microsoft.Azure.Commands.AnalysisServices.Dataplane.dll</HintPath>
37-
</Reference>
32+
<ProjectReference Include="..\Commands.AnalysisServices.Dataplane\Commands.AnalysisServices.Dataplane.Netcore.csproj" />
3833
</ItemGroup>
3934

4035
<ItemGroup>

src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="4.0.5-preview" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.ApiManagement">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/UnitTests/PsApiManagementTests.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Microsoft.Azure.Commands.ApiManagement.Models;
2-
using Microsoft.Azure.Management.ApiManagement.Models;
1+
using Microsoft.Azure.Management.ApiManagement.Models;
32
using Microsoft.WindowsAzure.Commands.ScenarioTest;
43
using System;
54
using System.Collections.Generic;

src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights.Test/Commands.ApplicationInsights.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.ApplicationInsights" Version="0.2.0-preview" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.ApplicationInsights">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.ApplicationInsights\Microsoft.Azure.Commands.ApplicationInsights.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.Netcore.csproj

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@
3333
<PackageReference Include="MSTest.TestAdapter" Version="1.2.1" />
3434
<PackageReference Include="MSTest.TestFramework" Version="1.2.1" />
3535
</ItemGroup>
36-
36+
3737
<ItemGroup>
38-
<Reference Include="Microsoft.Azure.Commands.Automation">
39-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Automation\Microsoft.Azure.Commands.Automation.dll</HintPath>
40-
</Reference>
38+
<ProjectReference Include="..\Commands.Automation\Commands.Automation.Netcore.csproj" />
4139
</ItemGroup>
4240

4341
<ItemGroup>

src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
</ItemGroup>
3737

3838
<ItemGroup>
39-
<Reference Include="Microsoft.Azure.Commands.Batch">
40-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Batch\Microsoft.Azure.Commands.Batch.dll</HintPath>
41-
</Reference>
39+
<ProjectReference Include="..\Commands.Batch\Commands.Batch.Netcore.csproj" />
4240
</ItemGroup>
4341

4442
<ItemGroup>

src/ResourceManager/Billing/Commands.Billing.Test/Commands.Billing.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.Billing" Version="2.1.1-preview" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.Billing">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Billing\Microsoft.Azure.Commands.Billing.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/Cdn/Commands.Cdn.Test/Commands.Cdn.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.Cdn" Version="4.0.2-preview" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.Cdn">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Cdn\Microsoft.Azure.Commands.Cdn.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/CognitiveServices/CognitiveServices.Test/Commands.Management.CognitiveServices.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.CognitiveServices" Version="4.1.1" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.Management.CognitiveServices">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.CognitiveServices\Microsoft.Azure.Commands.Management.CognitiveServices.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.Netcore.csproj

+3-5
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@
2828
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="23.2.0" />
2929
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="2.4.2" />
3030
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.6.1-preview" />
31-
<PackageReference Include="Microsoft.Azure.Management.Storage" Version="8.1.0-preview" />
32-
<PackageReference Include="Moq" Version="4.7.145" />
31+
<PackageReference Include="Microsoft.Azure.Management.Storage" Version="8.1.1-preview" />
3332
</ItemGroup>
3433

3534
<ItemGroup>
36-
<Reference Include="Microsoft.Azure.Commands.Compute">
37-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Compute\Microsoft.Azure.Commands.Compute.dll</HintPath>
38-
</Reference>
35+
<ProjectReference Include="..\Commands.Compute\Commands.Compute.Netcore.csproj" />
3936
</ItemGroup>
4037

4138
<ItemGroup>
@@ -67,4 +64,5 @@
6764
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6865
</None>
6966
</ItemGroup>
67+
7068
</Project>

src/ResourceManager/Consumption/Commands.Consumption.Test/Commands.Consumption.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.Consumption" Version="3.0.2" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.Consumption">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Consumption\Microsoft.Azure.Commands.Consumption.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/ContainerInstance/Commands.ContainerInstance.Test/Commands.ContainerInstance.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.ContainerInstance" Version="1.0.3-preview" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.ContainerInstance">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.ContainerInstance\Microsoft.Azure.Commands.ContainerInstance.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/ContainerRegistry/Commands.ContainerRegistry.Test/Commands.ContainerRegistry.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.ContainerRegistry" Version="2.0.1" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.ContainerRegistry">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.ContainerRegistry\Microsoft.Azure.Commands.ContainerRegistry.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.DataFactories">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.DataFactories\Microsoft.Azure.Commands.DataFactories.dll</HintPath>
34-
</Reference>
32+
<ProjectReference Include="..\Commands.DataFactories\Commands.DataFactories.Netcore.csproj" />
3533
</ItemGroup>
3634

3735
<ItemGroup>

src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/Commands.DataLakeAnalytics.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@
2929
<PackageReference Include="Microsoft.Azure.Management.DataLake.Store" Version="2.4.2-preview" />
3030
</ItemGroup>
3131

32-
<ItemGroup>
33-
<Reference Include="Microsoft.Azure.Commands.DataLakeAnalytics">
34-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.DataLakeAnalytics\Microsoft.Azure.Commands.DataLakeAnalytics.dll</HintPath>
35-
</Reference>
36-
</ItemGroup>
37-
3832
<ItemGroup>
3933
<None Update="SessionRecords\**\*.json">
4034
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/Commands.DataLakeStore.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030
</ItemGroup>
3131

3232
<ItemGroup>
33-
<Reference Include="Microsoft.Azure.Commands.DataLakeStore">
34-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.DataLakeStore\Microsoft.Azure.Commands.DataLakeStore.dll</HintPath>
35-
</Reference>
33+
<ProjectReference Include="..\Commands.DataLakeStore\Commands.DataLakeStore.Netcore.csproj" />
3634
</ItemGroup>
3735

3836
<ItemGroup>

src/ResourceManager/DevSpaces/Commands.DevSpaces.Test/Commands.DevSpaces.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.DevSpaces" Version="0.10.0-preview" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.DevSpaces">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.DevSpaces\Microsoft.Azure.Commands.DevSpaces.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.Netcore.csproj

-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@
2727
<ItemGroup>
2828
<PackageReference Include="Microsoft.Azure.Management.Dns" Version="3.0.1" />
2929
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.6.1-preview" />
30-
<!-- <PackageReference Include="Moq" Version="4.2.1510.2205" /> -->
31-
</ItemGroup>
32-
33-
<ItemGroup>
34-
<Reference Include="Microsoft.Azure.Commands.Dns">
35-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Dns\Microsoft.Azure.Commands.Dns.dll</HintPath>
36-
</Reference>
3730
</ItemGroup>
3831

3932
<ItemGroup>

src/ResourceManager/EventGrid/Commands.EventGrid.Test/Commands.EventGrid.Test.Netcore.csproj

-9
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
<PackageReference Include="Microsoft.Azure.Management.EventHub" Version="2.3.0" />
3030
</ItemGroup>
3131

32-
<ItemGroup>
33-
<Reference Include="Microsoft.Azure.Commands.EventGrid">
34-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.EventGrid\Microsoft.Azure.Commands.EventGrid.dll</HintPath>
35-
</Reference>
36-
<Reference Include="Microsoft.Azure.Commands.EventHub">
37-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.EventHub\Microsoft.Azure.Commands.EventHub.dll</HintPath>
38-
</Reference>
39-
</ItemGroup>
40-
4132
<ItemGroup>
4233
<None Update="SessionRecords\**\*.json">
4334
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/EventHub/Commands.EventHub.Test/Commands.EventHubs.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.EventHub" Version="2.3.0" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.EventHub">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.EventHub\Microsoft.Azure.Commands.EventHub.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/FrontDoor/Commands.FrontDoor.Test/Commands.FrontDoor.Test.Netcore.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1111
<WarningsAsErrors />
12+
<IsPackable>false</IsPackable>
1213
</PropertyGroup>
1314

1415
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.HDInsight">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.HDInsight\Microsoft.Azure.Commands.HDInsight.dll</HintPath>
34-
</Reference>
32+
<ProjectReference Include="..\Commands.HDInsight\Commands.HDInsight.Netcore.csproj" />
3533
</ItemGroup>
3634

3735
<ItemGroup>

src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
</ItemGroup>
2929

3030
<ItemGroup>
31-
<Reference Include="Microsoft.Azure.Commands.Insights">
32-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Insights\Microsoft.Azure.Commands.Insights.dll</HintPath>
33-
</Reference>
31+
<ProjectReference Include="..\Commands.Insights\Commands.Insights.Netcore.csproj" />
3432
</ItemGroup>
3533

3634
<ItemGroup>

src/ResourceManager/IotCentral/Commands.IotCentral.Test/Commands.IotCentral.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.IotCentral" Version="2.0.0" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.IotCentral">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.IotCentral\Microsoft.Azure.Commands.IotCentral.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/IotHub/Commands.IotHub.Test/Commands.IotHub.Test.Netcore.csproj

-9
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.1.1" />
3030
</ItemGroup>
3131

32-
<ItemGroup>
33-
<Reference Include="Microsoft.Azure.Commands.EventHub">
34-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.EventHub\Microsoft.Azure.Commands.EventHub.dll</HintPath>
35-
</Reference>
36-
<Reference Include="Microsoft.Azure.Commands.IotHub">
37-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.IotHub\Microsoft.Azure.Commands.IotHub.dll</HintPath>
38-
</Reference>
39-
</ItemGroup>
40-
4132
<ItemGroup>
4233
<None Update="SessionRecords\**\*.json">
4334
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
</ItemGroup>
3232

3333
<ItemGroup>
34-
<Reference Include="Microsoft.Azure.Commands.KeyVault">
35-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.KeyVault\Microsoft.Azure.Commands.KeyVault.dll</HintPath>
36-
</Reference>
34+
<ProjectReference Include="..\Commands.KeyVault\Commands.KeyVault.Netcore.csproj" />
3735
</ItemGroup>
3836

3937
<ItemGroup>

src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.Netcore.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.LogicApp">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.LogicApp\Microsoft.Azure.Commands.LogicApp.dll</HintPath>
34-
</Reference>
32+
<ProjectReference Include="..\Commands.LogicApp\Commands.LogicApp.Netcore.csproj" />
3533
</ItemGroup>
3634

3735
<ItemGroup>

src/ResourceManager/MachineLearning/Commands.MachineLearning.Test/Commands.MachineLearning.Test.Netcore.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
<PackageReference Include="Microsoft.Azure.Management.MachineLearning" Version="1.0.1" />
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<Reference Include="Microsoft.Azure.Commands.MachineLearning">
33-
<HintPath>..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.MachineLearning\Microsoft.Azure.Commands.MachineLearning.dll</HintPath>
34-
</Reference>
35-
</ItemGroup>
36-
3731
<ItemGroup>
3832
<None Update="SessionRecords\**\*.json">
3933
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)