diff --git a/appveyor.yml b/appveyor.yml index 4bc83a1..c64659b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,5 @@ -version: build{build} +version: '1.0.{build}' +image: Visual Studio 2019 branches: only: @@ -7,9 +8,6 @@ branches: environment: BaseVersion: 1.0.1 NugetVersion: "1.0.1-ci$(APPVEYOR_BUILD_NUMBER)" - -cache: - - src\packages -> src\**\packages.config assembly_info: patch: true @@ -25,15 +23,15 @@ nuget: configuration: Release before_build: - - cd src - - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - - appveyor DownloadFile https://raw.githubusercontent.com/appveyor/ci/master/scripts/nuget-restore.cmd - - nuget-restore - - cd .. - -build: - project: src\SpecFlow.SimpleInjector.sln - verbosity: normal - + # Display .NET Core version + - cmd: dotnet --version + # Display minimal restore text + - cmd: dotnet restore ./src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj --verbosity m +build_script: + # output will be in ./src/bin/debug/netcoreapp1.1/publish + - cmd: dotnet publish ./src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj +after_build: + # For once the build has completed artifacts: -- path: 'src\NuGetPackages\bin\*.nupkg' + - path: '\src\SpecFlow.SimpleInjector.SpecFlowPlugin\bin\Release' + name: NuGet diff --git a/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec b/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec index 86ff3bc..48b90bd 100644 --- a/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec +++ b/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec @@ -18,7 +18,7 @@ specflow SimpleInjector di dependency injection - + \ No newline at end of file diff --git a/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec.props b/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec.props index 74d370a..3ec1f4e 100644 --- a/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec.props +++ b/src/NuGetPackages/SpecFlow.SimpleInjector/SpecFlow.SimpleInjector.nuspec.props @@ -1,13 +1,29 @@  - + SpecFlow.SimpleInjector\lib\net45 - + SpecFlow.SimpleInjector\lib\net45 + + SpecFlow.SimpleInjector\lib\net471 + + + + SpecFlow.SimpleInjector\lib\net471 + + + + SpecFlow.SimpleInjector\lib\netstandard2.0 + + + + SpecFlow.SimpleInjector\lib\netstandard2.0 + + SpecFlow.SimpleInjector\content diff --git a/src/NuGetPackages/packages.config b/src/NuGetPackages/packages.config index 5d52664..5508b1e 100644 --- a/src/NuGetPackages/packages.config +++ b/src/NuGetPackages/packages.config @@ -2,5 +2,5 @@ - + \ No newline at end of file diff --git a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/App.config b/src/SpecFlow.SimpleInjector.SpecFlowPlugin/App.config deleted file mode 100644 index a6a2b7f..0000000 --- a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/App.config +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/Properties/AssemblyInfo.cs b/src/SpecFlow.SimpleInjector.SpecFlowPlugin/Properties/AssemblyInfo.cs index b14c82b..1b52dbc 100644 --- a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/Properties/AssemblyInfo.cs +++ b/src/SpecFlow.SimpleInjector.SpecFlowPlugin/Properties/AssemblyInfo.cs @@ -1,18 +1,8 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("SpecFlow.SimpleInjector (SpecFlow plugin)")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Spec Solutions")] -[assembly: AssemblyProduct("SpecFlow.SimpleInjector")] -[assembly: AssemblyCopyright("Copyright © 2017 Jakub Guc")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from @@ -21,17 +11,3 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("1eeff87c-9ec4-41c5-83b1-6ade8baa1e12")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0")] diff --git a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj b/src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj index 82d37e3..e05a945 100644 --- a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj +++ b/src/SpecFlow.SimpleInjector.SpecFlowPlugin/SpecFlow.SimpleInjector.SpecFlowPlugin.csproj @@ -1,83 +1,20 @@ - - - + - Debug - AnyCPU - {1EEFF87C-9EC4-41C5-83B1-6ADE8BAA1E12} - Library - Properties SpecFlow.SimpleInjector - SpecFlow.SimpleInjector.SpecFlowPlugin - v4.5 - 512 + netstandard2.0 + SpecFlow.SimpleInjector (SpecFlow plugin) + Spec Solutions + SpecFlow.SimpleInjector + Copyright © 2017 Jakub Guc + 1.1.0 + 1.0.0.0 + 1.0.0.0 + true + SpecFlow.SimpleInjector + Jakub Guc - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\BoDi.1.4.1\lib\net45\BoDi.dll - - - ..\packages\Gherkin.6.0.0\lib\net45\Gherkin.dll - - - ..\packages\SimpleInjector.4.6.2\lib\net45\SimpleInjector.dll - - - - - ..\packages\System.Threading.Tasks.Extensions.4.4.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll - - - ..\packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll - - - - - - - - - ..\packages\SpecFlow.3.0.225\lib\net45\TechTalk.SpecFlow.dll - - - ..\packages\Utf8Json.1.3.7\lib\net45\Utf8Json.dll - - - - - - - - - - - - + + - - \ No newline at end of file diff --git a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/packages.config b/src/SpecFlow.SimpleInjector.SpecFlowPlugin/packages.config deleted file mode 100644 index d9c9a3c..0000000 --- a/src/SpecFlow.SimpleInjector.SpecFlowPlugin/packages.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file