diff --git a/.azure-pipelines/dotnet.yml b/.azure-pipelines/dotnet.yml index 918a4773a..ccc584f1b 100644 --- a/.azure-pipelines/dotnet.yml +++ b/.azure-pipelines/dotnet.yml @@ -35,21 +35,8 @@ jobs: - job: 'Test' - strategy: - maxParallel: $[ variables['MaxParallelTestJobs'] ] - matrix: - Linux: - OSName: 'Linux' - OSVmImage: 'ubuntu-16.04' - Windows: - OSName: 'Windows' - OSVmImage: 'vs2017-win2016' - MacOs: - OSName: 'MacOS' - OSVmImage: 'macOS-10.13' - pool: - vmImage: '$(OSVmImage)' + vmImage: 'vs2017-win2016' steps: - task: DotNetCoreInstaller@0 @@ -59,7 +46,6 @@ jobs: - task: DotNetCoreCLI@2 displayName: 'Build & Test' -# condition: eq(variables['System.TeamProject'], 'public') env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 @@ -73,6 +59,6 @@ jobs: condition: succeededOrFailed() inputs: testResultsFiles: '**/*.trx' - testRunTitle: '$(OSName) DotNet $(DotNetCoreVersion)' + testRunTitle: 'Windows DotNet $(DotNetCoreVersion)' testResultsFormat: 'VSTest' mergeTestResults: true diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 000000000..c51e1a1db --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,8 @@ + + + $(MSBuildThisFileDirectory) + $(MSBuildThisFileDirectory)eng + + + + diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 000000000..d423c01e4 --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/eng/dotnet.proj b/dotnet.proj similarity index 50% rename from eng/dotnet.proj rename to dotnet.proj index 601bcd1e9..823f3bdfc 100644 --- a/eng/dotnet.proj +++ b/dotnet.proj @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/eng/AzureSDKToolsKey.snk b/eng/AzureSDKToolsKey.snk new file mode 100644 index 000000000..55fe4aaa7 Binary files /dev/null and b/eng/AzureSDKToolsKey.snk differ diff --git a/eng/Directory.Build.props b/eng/Directory.Build.props new file mode 100644 index 000000000..fef4502e6 --- /dev/null +++ b/eng/Directory.Build.props @@ -0,0 +1,54 @@ + + + + Debug + AnyCPU + $(Platform) + latest + true + true + snupkg + + + + + true + true + true + + + + + $(RepoRoot)artifacts\ + $(ArtifactsDir)obj\ + $(ArtifactsDir)bin\ + $(ArtifactsDir)packages\$(Configuration)\ + + $(MSBuildProjectName) + + $([System.IO.Path]::GetFullPath('$(ArtifactsBinDir)$(OutDirName)\')) + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + + $([System.IO.Path]::GetFullPath('$(ArtifactsObjDir)$(OutDirName)\')) + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + + $(ArtifactsPackagesDir) + + + + + Microsoft Corporation + © Microsoft Corporation. All rights reserved. + Microsoft + Azure .NET SDK - Tools + http://go.microsoft.com/fwlink/?LinkID=288890 + https://github.com/Azure/azure-sdk-tools + $(RepositoryUrl) + true + MIT + en-US + + + diff --git a/eng/Directory.Build.targets b/eng/Directory.Build.targets new file mode 100644 index 000000000..36a1ded47 --- /dev/null +++ b/eng/Directory.Build.targets @@ -0,0 +1,21 @@ + + + + true + + + + false + false + + + false + + + + true + false + $(MSBuildThisFileDirectory)AzureSDKToolsKey.snk + + + \ No newline at end of file diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AnalyzerAssert.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AnalyzerAssert.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AnalyzerAssert.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AnalyzerAssert.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/Azure.ClientSdk.Analyzers.Tests.csproj b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/Azure.ClientSdk.Analyzers.Tests.csproj similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/Azure.ClientSdk.Analyzers.Tests.csproj rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/Azure.ClientSdk.Analyzers.Tests.csproj diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticAnalyzerRunner.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticAnalyzerRunner.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticAnalyzerRunner.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticAnalyzerRunner.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticLocation.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticLocation.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticLocation.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticLocation.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticProject.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticProject.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticProject.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/DiagnosticProject.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/TestSource.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/TestSource.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/TestSource.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/TestSource.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.csproj b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.csproj similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.csproj rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.csproj diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs diff --git a/packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Descriptors.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Descriptors.cs similarity index 100% rename from packages/net-packages/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Descriptors.cs rename to src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Descriptors.cs