Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nfsaas 2235 net sdk r35 #4

Merged
merged 43 commits into from
Mar 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b09512e
Change SkuName and Kind to strings. (#5086)
yangyuan Dec 17, 2018
8854c0f
Fix incorrect namespace for ContentModerator. (#5090)
yangyuan Dec 17, 2018
7744012
Fix batch changelog and test (#5088)
matthchr Dec 17, 2018
a8dcba9
Add AOI and OD features (#5078)
mirzamo Dec 17, 2018
0646b09
Revert "Trying to run KeyVault tests in Travis via PR (#5082)" (#5084)
kurtzeborn Dec 17, 2018
f73e102
Changes based on review of pipeline. (#5087)
kurtzeborn Dec 17, 2018
5e1553b
Add First SDK for LabServices RP 2018-10-15 (#5083)
Dec 18, 2018
2c8dbe6
Add SDK for Security Alerts on Managed Instance (#5093)
talhers Dec 18, 2018
abc94a3
EventGrid: Regenerate new SDK for 2019-01-01 Api Version (#5101)
ahamad-MS Dec 19, 2018
424ebf9
Add ProvisionAfterExtensions property to VMSS (#5104)
hyonholee Dec 20, 2018
92bf0ab
chore) add x-ms-client-id property (#5108)
SudhindraKovalam Dec 22, 2018
0051642
[Storage] fix UseSubDomainName property name, and add Canfailover pro…
blueww Dec 26, 2018
e3bc748
[HDInsight] - Initial commit for Swagger-based Job SDK (#5061)
idear1203 Jan 2, 2019
3328ef7
NetApp SDK initial version (#5094)
leonardbf Jan 4, 2019
a69028e
Grp auth (#5116)
shahabhijeet Jan 5, 2019
76a408b
Network API version 2018-11-01 (#5118)
anton-evseev Jan 7, 2019
193df78
Add Postgres/MySql/ManagedInstance online migration scenarios (#5120)
ash1625 Jan 9, 2019
7537ab4
Re-generate Network SDK (#5131)
anton-evseev Jan 10, 2019
f1b0dc3
Microsoft.StorageSync : Update Api Version from 2018-07-01 to 2018-10…
ankushbindlish2 Jan 12, 2019
0d539ba
Update Batch supporting assemblies version and depedencies (#5136)
matthchr Jan 14, 2019
c613e5a
C# SDK for Azure Batch Management 7.0 (#5134)
matthchr Jan 14, 2019
66e5e4e
Update Azure Batch dataplane to use generate.ps1 (#5141)
matthchr Jan 14, 2019
b3a2571
Fixed error message when certificate does not contain private RSA key…
hovsepm Jan 14, 2019
81c4088
Changed Kusto Description (#5139)
oflipman Jan 15, 2019
aa2592f
[KeyVault] reving package versions to republish with symbols (#5143)
schaabs Jan 16, 2019
f0a1c90
[Azure Data Factory] Generate new SDK (#5142)
meiyan-Li Jan 17, 2019
9d2b41e
Add Template DataPlane project (#5133)
weshaggard Jan 17, 2019
2eab91f
Move KeyVault\dataPlane to KeyVault\data-plane
weshaggard Jan 17, 2019
7c51885
Update KeyVault projects to align with data-plane engineering system
weshaggard Jan 17, 2019
9ee5198
Disable some KV tests on linux
weshaggard Jan 17, 2019
b6862d0
Merge pull request #5149 from weshaggard/AddKeyVaultBuild
weshaggard Jan 18, 2019
0a9f85b
Update Using-Azure-TestFramework.md
shahabhijeet Jan 18, 2019
e7276cb
[GuestConfiguration] GA (public) SDK 1.0.0 (#5154)
vivlingaiah Jan 18, 2019
2ad17e4
Adding MediaJobOutputProgressEventData and corresponding test (#5145)
jinshang-msft Jan 18, 2019
2def30e
Added support for dropped databases on Managed Instance (#5107)
v-djnisi Jan 19, 2019
bf7af84
Generate SDK for new API version (#5151)
filizt Jan 19, 2019
42f190a
Add Azure Function and remove Validation and Webhook activities (#5158)
arsunda Jan 19, 2019
bc37880
Add test for system assigned, user assigned identity (#5160)
hyonholee Jan 19, 2019
6b08cd5
Update yaml files to enable queuing a different project (#5159)
weshaggard Jan 19, 2019
b0d42d1
Add fx (#5162)
shahabhijeet Jan 20, 2019
40248f4
fixing build break
Jan 20, 2019
98df1e6
Update README.md
shahabhijeet Jan 20, 2019
9dbbce8
Merge branch 'psSdkJson6' of https://github.com/azure/azure-sdk-for-n…
leonardbf Mar 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
85 changes: 44 additions & 41 deletions .azure-pipelines/client.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,68 @@
trigger:
- psSdkJson6

#Variables:
# 'source.scope' list of projects to build (Ex: SDKs\KeyVault\dataPlane)
# 'build.useLatest' indicates whether or not to use build bootstrap files from the LTSBuildTools branch
# variables:
# ProjectFile - The project to build and test. This variable is defined in pipeline web ui because we want to be able to provide it at queue time and that isn't supported in yaml yet.

jobs:
- job: 'Build_and_Test'
- job: 'Build_Packages'

pool:
vmImage: 'vs2017-win2016'

steps:
- script: |
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
echo "%_VSCOMNTOOLS%\VsDevCmd.bat"
call "%_VSCOMNTOOLS%\VsDevCmd.bat"

sn -Vr *,31bf3856ad364e35
displayName: 'Allow unsigned build tool'
- task: DotNetCoreInstaller@0
displayName: 'Use .NET Core sdk 2.1.503'
inputs:
version: 2.1.503

- task: MSBuild@1
displayName: 'Init Build'
- task: DotNetCoreCLI@2
displayName: 'Build and Package'
inputs:
solution: build.proj
msbuildArguments: '/t:Init /flp:LogFile=msbuild.Initlog;Verbosity=normal /p:UseLatest=$(build.useLatest)'
command: pack
packagesToPack: '$(ProjectFile)'

- task: MSBuild@1
displayName: 'Build assemblies and run tests'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts'
inputs:
solution: build.proj
msbuildArguments: '/t:RunTests /p:Scope=$(source.scope) /p:Configuration=Release /clp:ShowTimestamp /flp:Summary;Verbosity=minimal;LogFile=FullBuild.sum /flp1:warningsonly;logfile=FullBuild.wrn /flp2:errorsonly;logfile=FullBuild.err /p:DebugTrace=$(system.debug) /p:CodeSign=false /p:AuthenticodeSign=false /p:RunGlobalReadinessTools=false /p:EnablePreBuildTarget=false /p:EnablePostBuildTarget=false'
ArtifactName: packages

- task: MSBuild@1
displayName: 'Build NuGet Packages'
- job: 'Test_Windows'

pool:
vmImage: 'vs2017-win2016'

steps:
- task: DotNetCoreInstaller@0
displayName: 'Use .NET Core sdk 2.1.503'
inputs:
solution: build.proj
msbuildArguments: '/t:PackageNoBuild /p:Scope=$(source.scope) /p:Configuration=Release /flp:v=diag /flp:Summary;Verbosity=minimal;LogFile=PkgBuild.sum /flp1:warningsonly;logfile=PkgBuild.wrn /flp2:errorsonly;logfile=PkgBuild.err /p:DebugOutput=true /p:DebugTrace=$(system.debug)'
version: 2.1.503

- script: |
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
echo "%_VSCOMNTOOLS%\VsDevCmd.bat"
call "%_VSCOMNTOOLS%\VsDevCmd.bat"

sn -Vl
sn -Vu *,31bf3856ad364e35
displayName: 'Clean up unsigned build tool allowance'
condition: always()
- task: DotNetCoreCLI@2
displayName: 'Build & Test'
inputs:
command: test
projects: '$(ProjectFile)'

- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
# ComponentGovernance is currently unable to run on pull requests of public projects. Running on
# ComponentGovernance is currently unable to run on pull requests of public projects. Running on
# scheduled builds should be good enough.
condition: and(succeeded(), eq(variables['Build.Reason'], 'Schedule'))

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts'
inputs:
PathtoPublish: 'binaries\packages'
ArtifactName: packages
- job: 'Test_Linux'

pool:
vmImage: 'ubuntu-16.04'

steps:
- task: DotNetCoreInstaller@0
displayName: 'Use .NET Core sdk 2.1.503'
inputs:
version: 2.1.503

- task: DotNetCoreCLI@2
displayName: 'Build & Test'
inputs:
command: test
projects: '$(ProjectFile)'
8 changes: 1 addition & 7 deletions AzSdk.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
<AssemblyOriginatorKeyFile>$(LibraryToolsFolder)\MSSharedLibKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
-->
<Import Project="$(NetSdkBuildTargetsDir)\core\_AzSdk.props" Condition=" Exists('$(NetSdkBuildTargetsDir)\core\_AzSdk.props') "/>
</Project>
29 changes: 6 additions & 23 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LibraryRoot>$(MSBuildThisFileDirectory)</LibraryRoot>
<LibraryToolsFolder>$(LibraryRoot)tools</LibraryToolsFolder>
<BuildAssetsDir>$(LibraryToolsFolder)\BuildAssets</BuildAssetsDir>
<SdkBuildToolsDir>$(LibraryToolsFolder)\SdkBuildTools</SdkBuildToolsDir>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<RepoEngPath>$(MSBuildThisFileDirectory)eng</RepoEngPath>
<RepoSrcPath>$(RepoRoot)src/SDKs</RepoSrcPath>
<IsDataPlaneProject Condition="$(MSBuildProjectDirectory.Contains('data-plane'))">true</IsDataPlaneProject>
</PropertyGroup>

<PropertyGroup>
<NetSdkBuildTargetsDir Condition=" Exists('$(BuildAssetsDir)') ">$(BuildAssetsDir)\targets</NetSdkBuildTargetsDir>
<NetSdkBuildTargetsDir Condition=" Exists('$(SdkBuildToolsDir)') AND '$(NetSdkBuildTargetsDir)' == '' ">$(SdkBuildToolsDir)\targets</NetSdkBuildTargetsDir>
<NetSdkBuildToolsDir Condition=" Exists('$(BuildAssetsDir)') ">$(BuildAssetsDir)</NetSdkBuildToolsDir>
<NetSdkBuildToolsDir Condition=" Exists('$(SdkBuildToolsDir)') AND '$(NetSdkBuildToolsDir)' == '' ">$(SdkBuildToolsDir)</NetSdkBuildToolsDir>
</PropertyGroup>

<!-- If Scope is specified then don't ignore any tests by default otherwise when building all ignore the projects with issues -->
<PropertyGroup Condition="'$(Scope)' == '' or '$(Scope)' == 'All'">
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) Microsoft.Rest.ClientRuntime.Tracing.Tests</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) Microsoft.Azure.Services.AppAuthentication.IntegrationTests</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) Batch\DataPlane</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) Batch\Support</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) KeyVault\dataPlane\Microsoft.Azure.KeyVault.Tests</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) KeyVault\dataPlane\Microsoft.Azure.KeyVault.Extensions.Tests</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) LocationBasedServices</DefaultPathTokenToIgnore>
</PropertyGroup>

<Import Project="$(NetSdkBuildTargetsDir)\core\_Directory.Build.props" Condition=" Exists('$(NetSdkBuildTargetsDir)\core\_Directory.Build.props') "/>
<Import Project="$(RepoEngPath)\Directory.Build.Mgmt.props" Condition="'$(IsDataPlaneProject)' != 'true'" />
<Import Project="$(RepoEngPath)\Directory.Build.Data.props" Condition="'$(IsDataPlaneProject)' == 'true'" />
</Project>
4 changes: 2 additions & 2 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(NetSdkBuildTargetsDir)\core\_Directory.Build.targets" Condition=" Exists('$(NetSdkBuildTargetsDir)\core\_Directory.Build.targets') "/>
<Import Project="tools\bootstrapTools\bootstrap.targets" />
<Import Project="$(RepoEngPath)\Directory.Build.Mgmt.targets" Condition="'$(IsDataPlaneProject)' != 'true'" />
<Import Project="$(RepoEngPath)\Directory.Build.Data.targets" Condition="'$(IsDataPlaneProject)' == 'true'" />
</Project>
76 changes: 41 additions & 35 deletions Documentation/Using-Azure-TestFramework.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,21 @@ Ensure that the `HttpRecorderMode` in the `TEST_CSM_ORGID_AUTHENTICATION` enviro
* RawToken
* RawGraphToken
* HttpRecorderMode={Record | Playback}
* AADTokenAudienceUri
* AADAuthEndpoint

* GraphTokenAudienceUri
* BaseUri
* GraphUri
* AADAuthUri
* GalleryUri
* IbizaProtalUri
* GraphUri
* IbizaPortalUri
* RdfePortalUri
* ResourceManagementUri
* ServiceManagementUri
* AADTokenAudienceUri
* GraphTokenAudienceUri
* DataLakeStoreServiceUri
* DataLakeAnalyticsJobAndCatalogServiceUri
* AADAuthEndpoint
* GraphTokenAudienceUri

## 8. Supported Environment in Test framework (Azure environments)

Expand All @@ -140,44 +146,44 @@ Ensure that the `HttpRecorderMode` in the `TEST_CSM_ORGID_AUTHENTICATION` enviro
##### Environment = Dogfood

AADAuthUri = "https://login.windows-ppe.net";
GalleryUri = "https://df.gallery.azure-test.net/";
GraphUri = "https://graph.ppe.windows.net/";
IbizaPortalUri = "http://df.onecloud.azure-test.net";
RdfePortalUri = "https://windows.azure-test.net";
ResourceManagementUri = "https://api-dogfood.resources.windows-int.net/";
ServiceManagementUri = "https://management-preview.core.windows-int.net";
AADTokenAudienceUri = "https://management.core.windows.net";
GraphTokenAudienceUri = "https://graph.ppe.windows.net/";
DataLakeStoreServiceUri = "https://caboaccountdogfood.net";
DataLakeAnalyticsJobAndCatalogServiceUri = "https://konaaccountdogfood.net";
GalleryUri = "https://df.gallery.azure-test.net/";
GraphUri = "https://graph.ppe.windows.net/";
IbizaPortalUri = "http://df.onecloud.azure-test.net";
RdfePortalUri = "https://windows.azure-test.net";
ResourceManagementUri = "https://api-dogfood.resources.windows-int.net/";
ServiceManagementUri = "https://management-preview.core.windows-int.net";
AADTokenAudienceUri = "https://management.core.windows.net";
GraphTokenAudienceUri = "https://graph.ppe.windows.net/";
DataLakeStoreServiceUri = "https://caboaccountdogfood.net";
DataLakeAnalyticsJobAndCatalogServiceUri = "https://konaaccountdogfood.net";

##### Environment = Next

AADAuthUri = "https://login.windows-ppe.net"
GalleryUri = "https://next.gallery.azure-test.net/"
GraphUri = "https://graph.ppe.windows.net/"
IbizaPortalUri = "http://next.onecloud.azure-test.net"
RdfePortalUri = "https://auxnext.windows.azure-test.net"
ResourceManagementUri = "https://api-next.resources.windows-int.net/"
ServiceManagementUri = "https://managementnext.rdfetest.dnsdemo4.com"
AADTokenAudienceUri = "https://management.core.windows.net"
GraphTokenAudienceUri = "https://graph.ppe.windows.net/"
DataLakeStoreServiceUri = "https://caboaccountdogfood.net"
DataLakeAnalyticsJobAndCatalogServiceUri = "https://konaaccountdogfood.net"
GalleryUri = "https://next.gallery.azure-test.net/"
GraphUri = "https://graph.ppe.windows.net/"
IbizaPortalUri = "http://next.onecloud.azure-test.net"
RdfePortalUri = "https://auxnext.windows.azure-test.net"
ResourceManagementUri = "https://api-next.resources.windows-int.net/"
ServiceManagementUri = "https://managementnext.rdfetest.dnsdemo4.com"
AADTokenAudienceUri = "https://management.core.windows.net"
GraphTokenAudienceUri = "https://graph.ppe.windows.net/"
DataLakeStoreServiceUri = "https://caboaccountdogfood.net"
DataLakeAnalyticsJobAndCatalogServiceUri = "https://konaaccountdogfood.net"

##### Environment = Current

AADAuthUri = "https://login.windows-ppe.net"
GalleryUri = "https://df.gallery.azure-test.net/"
GraphUri = "https://graph.ppe.windows.net/"
IbizaPortalUri = "http://df.onecloud.azure-test.net"
RdfePortalUri = "https://windows.azure-test.net"
ResourceManagementUri = "https://api-dogfood.resources.windows-int.net/"
ServiceManagementUri = "https://management-preview.core.windows-int.net"
AADTokenAudienceUri = "https://management.core.windows.net"
GraphTokenAudienceUri = "https://graph.ppe.windows.net/"
DataLakeStoreServiceUri = "https://caboaccountdogfood.net"
DataLakeAnalyticsJoAbndCatalogServiceUri = "https://konaaccountdogfood.net"
GalleryUri = "https://df.gallery.azure-test.net/"
GraphUri = "https://graph.ppe.windows.net/"
IbizaPortalUri = "http://df.onecloud.azure-test.net"
RdfePortalUri = "https://windows.azure-test.net"
ResourceManagementUri = "https://api-dogfood.resources.windows-int.net/"
ServiceManagementUri = "https://management-preview.core.windows-int.net"
AADTokenAudienceUri = "https://management.core.windows.net"
GraphTokenAudienceUri = "https://graph.ppe.windows.net/"
DataLakeStoreServiceUri = "https://caboaccountdogfood.net"
DataLakeAnalyticsJoAbndCatalogServiceUri = "https://konaaccountdogfood.net"

##### Environment = Custom
When specified, test framework expect all Uri's to be provided by the user as part of the connection string.
Expand Down
5 changes: 3 additions & 2 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="NugetOfficialV3" value="https://api.nuget.org/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Local" value="tools/LocalNugetFeed" />
<add key="roslyn" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" />
</packageSources>
</configuration>
</configuration>
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@


# Microsoft Azure SDK for .NET
## All PRs should be opened against master branch. This branch is being retired and will be deleted.

### Microsoft Azure SDK for .NET
----------
The Microsoft Azure SDK for .NET allows you to build applications
that take advantage of scalable cloud computing resources.
Expand Down
17 changes: 17 additions & 0 deletions eng/AzSdk.reference.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure" Version="[3.3.18, 4.0.0)" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="[2.3.18, 3.0.0)" />
</ItemGroup>

<ItemGroup Condition="'$(IsTargetingNetStandard)' == 'true'">
<PackageReference Include="System.Net.Http" Version="4.3.0"/>
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
</ItemGroup>

<ItemGroup Condition="'$(IsTargetingNetFx)' == 'true'">
<Reference Include="System.Net" />
<Reference Include="System.Net.Http" />
<PackageReference Include="Newtonsoft.Json" Version="6.0.8" />
</ItemGroup>
</Project>
14 changes: 14 additions & 0 deletions eng/AzSdk.test.reference.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />

<PackageReference Include="Microsoft.Azure.Test.HttpRecorder" Version="[1.13.1, 2.0.0)" />
<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure.TestFramework" Version="[1.7.5, 2.0.0)" />
<PackageReference Include="Microsoft.Azure.ResourceManager" Version="[1.1.0-preview]" />

<!-- This is needed for discovering tests in test explorer -->
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
</ItemGroup>
</Project>
51 changes: 51 additions & 0 deletions eng/Directory.Build.Data.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Setup default project properties -->
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
<PlatformName Condition="'$(PlatformName)' == ''">$(Platform)</PlatformName>
<SignAssembly>true</SignAssembly>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<!-- TargetFramework default properties -->
<PropertyGroup>
<RequiredTargetFrameworks>net452;netstandard1.4</RequiredTargetFrameworks>

<IsTargetingNetFx Condition="$(TargetFramework.StartsWith('net4'))">true</IsTargetingNetFx>
<IsTargetingNetStandard Condition="$(TargetFramework.StartsWith('netstandard'))">true</IsTargetingNetStandard>
<IsTargetingNetCoreApp Condition="$(TargetFramework.StartsWith('netcoreapp'))">true</IsTargetingNetCoreApp>

<DefineConstants Condition="'$(IsTargetingNetFx)' == 'true'">$(DefineConstants);FullNetFx</DefineConstants>
</PropertyGroup>

<!-- Setup common output paths -->
<PropertyGroup>
<ArtifactsDir Condition="'$(ArtifactsDir)' == ''">$(RepoRoot)artifacts\</ArtifactsDir>
<ArtifactsObjDir>$(ArtifactsDir)obj\</ArtifactsObjDir>
<ArtifactsBinDir>$(ArtifactsDir)bin\</ArtifactsBinDir>
<ArtifactsPackagesDir>$(ArtifactsDir)packages\$(Configuration)\</ArtifactsPackagesDir>

<OutDirName Condition="'$(OutDirName)' == ''">$(MSBuildProjectName)</OutDirName>

<BaseOutputPath Condition="'$(BaseOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(ArtifactsBinDir)$(OutDirName)\'))</BaseOutputPath>
<OutputPath Condition="'$(PlatformName)' == 'AnyCPU'">$(BaseOutputPath)$(Configuration)\</OutputPath>
<OutputPath Condition="'$(PlatformName)' != 'AnyCPU'">$(BaseOutputPath)$(PlatformName)\$(Configuration)\</OutputPath>

<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(ArtifactsObjDir)$(OutDirName)\'))</BaseIntermediateOutputPath>
<IntermediateOutputPath Condition="'$(PlatformName)' == 'AnyCPU'">$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
<IntermediateOutputPath Condition="'$(PlatformName)' != 'AnyCPU'">$(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\</IntermediateOutputPath>

<PackageOutputPath>$(ArtifactsPackagesDir)</PackageOutputPath>
</PropertyGroup>

<!-- Common library and package properties -->
<PropertyGroup>
<Company>Microsoft Corporation</Company>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<Authors>Microsoft</Authors>
<Product>Azure .NET SDK</Product>
<NeutralLanguage>en-US</NeutralLanguage>
</PropertyGroup>
</Project>
Loading