Skip to content

Commit

Permalink
Create a props file used to include Azure.Base in the project. (Azure…
Browse files Browse the repository at this point in the history
…#5342)

* Create a props file used to include Azure.Base in the project
  • Loading branch information
AlexGhiondea authored Mar 13, 2019
1 parent c683160 commit ff8cdb9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,13 @@
<PackageReference Include="System.Memory" Version="4.5.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Azure.ApplicationModel.Configuration\Azure.Configuration.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\Azure.ApplicationModel.Configuration\Azure.Configuration.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\..\..\Azure.Base\data-plane\Azure.Base.Tests\Testing\TestPool.cs" Link="TestPool.cs" />
<Compile Include="$(MSBuildThisFileDirectory)..\..\..\Azure.Base\data-plane\Azure.Base.Tests\Testing\TestPool.cs" Link="TestPool.cs" />
</ItemGroup>

<!-- Project references -->
<ItemGroup Condition="'$(UseProjectReferenceToAzureBase)'=='true'">
<ProjectReference Include="..\..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.csproj" />
</ItemGroup>

<!-- Package references -->
<ItemGroup Condition="'$(UseProjectReferenceToAzureBase)'==''">
<PackageReference Include="Azure.Base" Version="1.0.0-preview.3" />
</ItemGroup>
<!-- Import the Azure.Base project -->
<Import Project="$(MSBuildThisFileDirectory)..\..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.props" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
</PackageReference>
</ItemGroup>

<!-- Project references -->
<ItemGroup Condition="'$(UseProjectReferenceToAzureBase)'=='true'">
<ProjectReference Include="..\..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.csproj" />
</ItemGroup>

<!-- Package references -->
<ItemGroup Condition="'$(UseProjectReferenceToAzureBase)'!='true'">
<PackageReference Include="Azure.Base" Version="1.0.0-preview.3" />
</ItemGroup>
<!-- Import the Azure.Base project -->
<Import Project="$(MSBuildThisFileDirectory)..\..\..\Azure.Base\data-plane\Azure.Base\Azure.Base.props" />
</Project>
11 changes: 11 additions & 0 deletions src/SDKs/Azure.Base/data-plane/Azure.Base/Azure.Base.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Project references -->
<ItemGroup Condition="'$(UseProjectReferenceToAzureBase)'=='true'">
<ProjectReference Include="$(MSBuildThisFileDirectory)Azure.Base.csproj" />
</ItemGroup>

<!-- Package references -->
<ItemGroup Condition="'$(UseProjectReferenceToAzureBase)'!='true'">
<PackageReference Include="Azure.Base" Version="1.0.0-preview.3" />
</ItemGroup>
</Project>

0 comments on commit ff8cdb9

Please sign in to comment.