Skip to content

Commit

Permalink
Merge pull request #76 from ivanz/iz-fix-vs2017-15-5
Browse files Browse the repository at this point in the history
Fix support for VS2017 15.5.x
  • Loading branch information
ivanz committed Jan 12, 2018
2 parents cb14e38 + 02c3df1 commit 9dcedf7
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 264 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks>
<AssemblyName>Machine.VSTestAdapter.Specs</AssemblyName>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
23 changes: 0 additions & 23 deletions Source/Machine.VSTestAdapter.VSIX/License.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
114 changes: 0 additions & 114 deletions Source/Machine.VSTestAdapter.VSIX/Machine.VSTestAdapter.VSIX.csproj

This file was deleted.

33 changes: 0 additions & 33 deletions Source/Machine.VSTestAdapter.VSIX/Properties/AssemblyInfo.cs

This file was deleted.

23 changes: 0 additions & 23 deletions Source/Machine.VSTestAdapter.VSIX/source.extension.vsixmanifest

This file was deleted.

17 changes: 4 additions & 13 deletions Source/Machine.VSTestAdapter/Machine.VSTestAdapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
<_TargetDotNetFramework>net46</_TargetDotNetFramework>

<TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks>

<!-- Needed in order to later manually include the libs in the build directory instead of lib -->
<IncludeBuildOutput>false</IncludeBuildOutput>

<AssemblyName>Machine.TestAdapter</AssemblyName>
<Product>Machine.Specifications.Runner.VisualStudio</Product>
<AssemblyTitle>Machine.Specifications.Runner.VisualStudio</AssemblyTitle>
<PackageId>Machine.Specifications.Runner.VisualStudio </PackageId>
<Version>1.0.0</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Authors>https://github.com/machine/machine.vstestadapter</Authors>
<PackageProjectUrl>https://github.com/machine/machine.vstestadapter</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/machine/machine.vstestadapter/releases</PackageReleaseNotes>
<Description>Machine.Specifications (MSpec) adapter for .NET Framework and .NET Core including dotnet cli (dotnet test), Visual Studio IDE, TFS, Visual Studio Online, Visual Studio Team Services.</Description>
<PackageTags>mspec unit testing context specification bdd tdd tfs visualstudio vsts vso</PackageTags>
<IsTool>true</IsTool>
<PackageIconUrl>http://github.com/machine/machine.vstestadapter/raw/master/Misc/Machine.VSTestAdapter-64x64.png</PackageIconUrl>
</PropertyGroup>

Expand Down Expand Up @@ -60,10 +62,6 @@
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>

<ItemGroup>
<!-- .NET Core -->
<Content Include="Machine.Specifications.Runner.VisualStudio.props">
Expand All @@ -88,12 +86,5 @@
<Pack>true</Pack>
<PackagePath>build\$(_TargetDotNetFramework)\</PackagePath>
</Content>

<!-- .NET Framework - support for the old .csproj and vstest.console/IDE tooling -->
<Content Include="bin\$(Configuration)\$(_TargetDotNetFramework)\*.dll">
<Pack>true</Pack>
<PackagePath>tools\</PackagePath>
</Content>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Source/SampleSpecs/SampleSpecs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks>
<AssemblyName>SampleSpecs</AssemblyName>
<OutputPath>..\testdata\</OutputPath>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
70 changes: 26 additions & 44 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
environment:
nuget_version: '2.5.2'
nuget_prerelease: false
# vsix_version: '2.1.0'
assembly_version: '2.5.2'
nuget_version: '2.6.0-beta1'
assembly_version: '2.6.0'
nuget_prerelease: true

version: '$(nuget_version)+{build}'

pull_requests:
do_not_increment_build_number: true

configuration: Release
image: Visual Studio 2017

dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '$(nuget_version)'
assembly_version: '$(assembly_version)'

before_build: dotnet restore

build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal

test_script: dotnet test -c %CONFIGURATION% Source\Machine.VSTestAdapter.Specs

deploy:
- provider: GitHub
description: |
* Fixed slow test discovvery for large solutions (#74 - @bjuris)
* Fix to support for VS 2017 15.5.x
on:
appveyor_repo_tag: true
Expand All @@ -23,42 +43,4 @@ deploy:
api_key:
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
on:
appveyor_repo_tag: true


clone_depth: 5

pull_requests:
do_not_increment_build_number: true

configuration: Release
platform: Any CPU

#assembly_info:
# patch: true
# file: Source\**\AssemblyInfo.*
# assembly_version: '$(assembly_version).{build}'
# assembly_file_version: '$(assembly_version).{build}'
# assembly_informational_version: '$(nuget_version)'

#before_build:
#- cmd: >-
# powershell -f patch-vsix-version.ps1 -version "%VSIX_VERSION%.%APPVEYOR_BUILD_NUMBER%" -manifestFile "Source\Machine.VSTestAdapter.VSIX\source.extension.vsixmanifest"

image: Visual Studio 2017

build_script:
- cmd: >-
dotnet restore
dotnet build
dotnet test Source\Machine.VSTestAdapter.Specs\Machine.VSTestAdapter.Specs.csproj
dotnet pack Source\Machine.VSTestAdapter\Machine.VSTestAdapter.csproj -c Release /p:Version=%NUGET_VERSION%
test: off

artifacts:
- path: Source\**\*.nupkg

appveyor_repo_tag: true
1 change: 0 additions & 1 deletion machine.vstestadapter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{405D88EB
.gitattributes = .gitattributes
.gitignore = .gitignore
appveyor.yml = appveyor.yml
patch-vsix-version.ps1 = patch-vsix-version.ps1
README.md = README.md
EndProjectSection
EndProject
Expand Down
13 changes: 0 additions & 13 deletions patch-vsix-version.ps1

This file was deleted.

0 comments on commit 9dcedf7

Please sign in to comment.