diff --git a/SpecFlow.DependencyInjection.Tests/SpecFlow.DependencyInjection.Tests.csproj b/SpecFlow.DependencyInjection.Tests/SpecFlow.DependencyInjection.Tests.csproj index cddb735..f9daa96 100644 --- a/SpecFlow.DependencyInjection.Tests/SpecFlow.DependencyInjection.Tests.csproj +++ b/SpecFlow.DependencyInjection.Tests/SpecFlow.DependencyInjection.Tests.csproj @@ -8,36 +8,23 @@ - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - + + + + - + - - - all - runtime; build; native; contentfiles; analyzers - - + + - - - all - runtime; build; native; contentfiles; analyzers - diff --git a/SpecFlow.DependencyInjection.sln b/SpecFlow.DependencyInjection.sln index efe135c..547ddc9 100644 --- a/SpecFlow.DependencyInjection.sln +++ b/SpecFlow.DependencyInjection.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.705 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29721.120 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpecFlow.DependencyInjection", "SpecFlow.DependencyInjection\SpecFlow.DependencyInjection.csproj", "{CACF906A-7230-4E37-984C-739AB1620995}" EndProject @@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .gitignore = .gitignore azure-pipelines.yml = azure-pipelines.yml GitVersion.yml = GitVersion.yml + global.json = global.json README.md = README.md EndProjectSection EndProject diff --git a/SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj b/SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj index bf569a6..62d5570 100644 --- a/SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj +++ b/SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj @@ -22,10 +22,7 @@ - - all - runtime; build; native; contentfiles; analyzers - + diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0fcc9a5..4e24c0f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,31 +15,33 @@ steps: displayName: Restore inputs: command: restore -# Build +# Build .NET Standard 2.0 - task: DotNetCoreCLI@2 displayName: Build inputs: command: build + projects: 'SpecFlow.DependencyInjection' arguments: '--configuration $(BuildConfiguration)' # Test .NET Core 2.1 - task: DotNetCoreCLI@2 displayName: Test .NET Core 2.1 inputs: command: test - projects: '**/*.Tests/*.csproj' + projects: 'SpecFlow.DependencyInjection.Tests' arguments: '--configuration $(BuildConfiguration) --framework netcoreapp2.1' # Test .NET Core 3.1 - task: DotNetCoreCLI@2 displayName: Test .NET Core 3.1 inputs: command: test - projects: '**/*.Tests/*.csproj' + projects: 'SpecFlow.DependencyInjection.Tests' arguments: '--configuration $(BuildConfiguration) --framework netcoreapp3.1' -# Pack +# Pack output of Build command - task: DotNetCoreCLI@2 displayName: Pack inputs: command: pack + packagesToPack: 'SpecFlow.DependencyInjection' nobuild: true # Publish - task: PublishBuildArtifacts@1 diff --git a/global.json b/global.json new file mode 100644 index 0000000..c685cff --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "3.1.101" + } +}