Skip to content

Commit 3ab90ec

Browse files
committed
Utilize AppVeyor version patching
1 parent d3a5397 commit 3ab90ec

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

Source/Machine.VSTestAdapter.Specs/Machine.VSTestAdapter.Specs.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks>
55
<AssemblyName>Machine.VSTestAdapter.Specs</AssemblyName>
6+
<IsPackable>false</IsPackable>
67
</PropertyGroup>
78

89
<ItemGroup>

Source/Machine.VSTestAdapter/Machine.VSTestAdapter.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<AssemblyTitle>Machine.Specifications.Runner.VisualStudio</AssemblyTitle>
1212
<PackageId>Machine.Specifications.Runner.VisualStudio </PackageId>
1313
<Version>1.0.0</Version>
14+
<AssemblyVersion>1.0.0.0</AssemblyVersion>
1415
<Authors>https://github.com/machine/machine.vstestadapter</Authors>
1516
<PackageProjectUrl>https://github.com/machine/machine.vstestadapter</PackageProjectUrl>
1617
<PackageReleaseNotes>https://github.com/machine/machine.vstestadapter/releases</PackageReleaseNotes>
@@ -60,10 +61,6 @@
6061
</EmbeddedResource>
6162
</ItemGroup>
6263

63-
<ItemGroup>
64-
<Folder Include="Properties\" />
65-
</ItemGroup>
66-
6764
<ItemGroup>
6865
<!-- .NET Core -->
6966
<Content Include="Machine.Specifications.Runner.VisualStudio.props">

Source/SampleSpecs/SampleSpecs.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks>
44
<AssemblyName>SampleSpecs</AssemblyName>
55
<OutputPath>..\testdata\</OutputPath>
6+
<IsPackable>false</IsPackable>
67
</PropertyGroup>
78

89
<ItemGroup>

appveyor.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: '$(nuget_version)+{build}'
88
deploy:
99
- provider: GitHub
1010
description: |
11-
* Fixed slow test discovvery for large solutions (#74 - @bjuris)
11+
* Fix to support for VS 2017 15.5.x
1212
1313
on:
1414
appveyor_repo_tag: true
@@ -24,28 +24,25 @@ deploy:
2424
on:
2525
appveyor_repo_tag: true
2626

27-
28-
clone_depth: 5
29-
3027
pull_requests:
3128
do_not_increment_build_number: true
3229

3330
configuration: Release
34-
platform: Any CPU
3531

3632
image: Visual Studio 2017
3733

38-
build_script:
39-
- cmd: >-
40-
dotnet restore
41-
42-
dotnet build
43-
44-
dotnet test Source\Machine.VSTestAdapter.Specs\Machine.VSTestAdapter.Specs.csproj
34+
dotnet_csproj:
35+
patch: true
36+
file: '**\*.csproj'
37+
version: '$(nuget_version)'
38+
assembly_version: '$(assembly_version)'
4539

46-
dotnet pack Source\Machine.VSTestAdapter\Machine.VSTestAdapter.csproj -c Release /p:Version=%NUGET_VERSION%
40+
build:
41+
publish_nuget: true
42+
publish_nuget_symbols: true
43+
verbosity: minimal
4744

48-
test: off
45+
test_script: dotnet test -c %CONFIGURATION% Source\Machine.VSTestAdapter.Specs
4946

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

0 commit comments

Comments
 (0)