Skip to content
This repository was archived by the owner on Mar 26, 2019. It is now read-only.

Commit b21db76

Browse files
committed
#6 dotnet core 2.1.0 preview 2 update. Full framework conditional on windows and dependency updates in sample projects
1 parent 48d758c commit b21db76

File tree

7 files changed

+18
-15
lines changed

7 files changed

+18
-15
lines changed

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ deploy:
3333
skip_symbols: true
3434
symbol_server: https://www.myget.org/F/appmetrics/symbol
3535
install:
36-
- cmd: curl -O https://download.microsoft.com/download/D/7/8/D788D3CD-44C4-487D-829B-413E914FB1C3/dotnet-sdk-2.1.300-preview1-008174-win-x64.exe
37-
- cmd: dotnet-sdk-2.1.300-preview1-008174-win-x64.exe /install /quiet /norestart /log install.log
36+
- cmd: curl -O https://download.microsoft.com/download/3/7/C/37C0D2E3-2056-4F9A-A67C-14DEFBD70F06/dotnet-sdk-2.1.300-preview2-008530-win-x64.exe
37+
- cmd: dotnet-sdk-2.1.300-preview2-008530-win-x64.exe /install /quiet /norestart /log install.log
3838
skip_commits:
3939
files:
4040
- '**/*.md'

build/dependencies.props

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
<PropertyGroup>
33
<AppMetricsCoreVersion>2.1.0-*</AppMetricsCoreVersion>
44
<AppMetricsHealthCoreVersion>2.1.0-*</AppMetricsHealthCoreVersion>
5-
<AspNetCoreVersion>2.1.0-preview1-final</AspNetCoreVersion>
6-
<MicrosoftExtensionsVersion>2.1.0-preview1-final</MicrosoftExtensionsVersion>
7-
<CoreFxVersion>4.4.0-*</CoreFxVersion>
5+
<MicrosoftExtensionsVersion>2.1.0-preview2-final</MicrosoftExtensionsVersion>
6+
<CoreFxVersion>4.4.0</CoreFxVersion>
87
<DependencyModelVersion>2.1.0-*</DependencyModelVersion>
98
<LibLogVersion>4.2.6</LibLogVersion>
109
<MicrosoftCSharpVersion>4.4.0</MicrosoftCSharpVersion>
1110
<MoqVersion>4.8.2</MoqVersion>
1211
<NewtonsoftVersion>11.0.2</NewtonsoftVersion>
13-
<TestSdkVersion>15.7.0-preview-20180320-02</TestSdkVersion>
12+
<TestSdkVersion>15.7.0</TestSdkVersion>
1413
<XunitVersion>2.4.0-beta.1.build3958</XunitVersion>
1514
<FluentAssertionsVersion>5.2.0</FluentAssertionsVersion>
1615
<FluentAssertionsJsonVersion>5.0.0</FluentAssertionsJsonVersion>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"projects": [ "src", "test", "sandbox" ],
33
"sdk": {
4-
"version": "2.1.300-preview1-008174-win-x64"
4+
"version": "2.1.300-preview2"
55
}
66
}

sandbox/HealthHostingMicrosoftExtensionsSandbox/HealthHostingMicrosoftExtensionsSandbox.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<Import Project="..\..\build\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
7-
<OutputType>exe</OutputType>
6+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7+
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
8+
<OutputType>exe</OutputType>
89
</PropertyGroup>
910

1011
<ItemGroup>

sandbox/HealthMicrosoftExtensionsSandbox/HealthMicrosoftExtensionsSandbox.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<Import Project="..\..\build\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
7-
<OutputType>exe</OutputType>
6+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7+
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
8+
<OutputType>exe</OutputType>
89
</PropertyGroup>
910

1011
<ItemGroup>

sandbox/MetricsHostingMicrosoftExtensionsSandbox/MetricsHostingMicrosoftExtensionsSandbox.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<Import Project="..\..\build\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
7-
<OutputType>exe</OutputType>
6+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7+
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
8+
<OutputType>exe</OutputType>
89
</PropertyGroup>
910

1011
<ItemGroup>

sandbox/MetricsMicrosoftExtensionsSandbox/MetricsMicrosoftExtensionsSandbox.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<Import Project="..\..\build\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
7-
<OutputType>exe</OutputType>
6+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7+
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
8+
<OutputType>exe</OutputType>
89
</PropertyGroup>
910

1011
<ItemGroup>

0 commit comments

Comments
 (0)