Skip to content

Commit e813f25

Browse files
committed
Added .NET Standard 1.3 support :)
1 parent 4709e16 commit e813f25

13 files changed

+183
-99
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
*.user
77
*.sln.docstates
88

9+
.vs
10+
*.lock.json
11+
912
# Build results
1013
[Dd]ebug/
1114
[Dd]ebugPublic/

Exceptionless.RandomData.sln

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2013
4-
VisualStudioVersion = 12.0.31101.0
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25123.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Exceptionless.RandomData", "Source\Exceptionless.RandomData.csproj", "{03D15274-63F1-4EE0-B16E-414E1B42D12D}"
6+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Exceptionless.RandomData", "src\Exceptionless.RandomData\Exceptionless.RandomData.xproj", "{6D157F81-A2C0-440C-A10B-488A8D3A7BF4}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Exceptioless.RandomData.Tests", "Source\Tests\Exceptioless.RandomData.Tests.csproj", "{95ACC63A-9C89-4D8A-8468-85F4158582E7}"
8+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Exceptionless.RandomData.Tests", "src\Exceptionless.RandomData.Tests\Exceptionless.RandomData.Tests.xproj", "{853401B5-50F9-4183-994A-CFC28DEEBD0D}"
99
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1212
Debug|Any CPU = Debug|Any CPU
1313
Release|Any CPU = Release|Any CPU
1414
EndGlobalSection
1515
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16-
{03D15274-63F1-4EE0-B16E-414E1B42D12D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17-
{03D15274-63F1-4EE0-B16E-414E1B42D12D}.Debug|Any CPU.Build.0 = Debug|Any CPU
18-
{03D15274-63F1-4EE0-B16E-414E1B42D12D}.Release|Any CPU.ActiveCfg = Release|Any CPU
19-
{03D15274-63F1-4EE0-B16E-414E1B42D12D}.Release|Any CPU.Build.0 = Release|Any CPU
20-
{95ACC63A-9C89-4D8A-8468-85F4158582E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21-
{95ACC63A-9C89-4D8A-8468-85F4158582E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
22-
{95ACC63A-9C89-4D8A-8468-85F4158582E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
23-
{95ACC63A-9C89-4D8A-8468-85F4158582E7}.Release|Any CPU.Build.0 = Release|Any CPU
16+
{6D157F81-A2C0-440C-A10B-488A8D3A7BF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{6D157F81-A2C0-440C-A10B-488A8D3A7BF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{6D157F81-A2C0-440C-A10B-488A8D3A7BF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{6D157F81-A2C0-440C-A10B-488A8D3A7BF4}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{853401B5-50F9-4183-994A-CFC28DEEBD0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{853401B5-50F9-4183-994A-CFC28DEEBD0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{853401B5-50F9-4183-994A-CFC28DEEBD0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{853401B5-50F9-4183-994A-CFC28DEEBD0D}.Release|Any CPU.Build.0 = Release|Any CPU
2424
EndGlobalSection
2525
GlobalSection(SolutionProperties) = preSolution
2626
HideSolutionNode = FALSE

appveyor.yml

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,55 @@
1-
version: 1.0.{build}
1+
version: 1.1.{build}
2+
os: Visual Studio 2015
23

4+
configuration: Release
5+
6+
pull_requests:
7+
do_not_increment_build_number: true
8+
9+
init:
10+
- git config --global core.autocrlf true
11+
- ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
12+
313
assembly_info:
414
patch: true
515
file: AssemblyInfo.*
616
assembly_version: "{version}.0"
717
assembly_file_version: "{version}.0"
8-
assembly_informational_version: "{version}.0"
18+
assembly_informational_version: "{version}.0 $(GIT_HASH)"
919

1020
before_build:
11-
- nuget restore
21+
- ps: >-
22+
Get-ChildItem -Path .\ -Filter project.json -Recurse -Name |
23+
ForEach {
24+
$content = Get-Content "$_"
25+
$content = $content.Replace("99.99.99-dev", "$($env:APPVEYOR_BUILD_VERSION)")
26+
Set-Content "$_" $content -Encoding UTF8
27+
}
28+
- dotnet restore -v Minimal
1229

13-
configuration: Release
30+
build_script:
31+
- dotnet pack "src\Exceptionless.RandomData" -c Release -o artifacts
32+
33+
test_script:
34+
- dotnet test "src\Exceptionless.RandomData.Tests"
1435

15-
build:
16-
publish_nuget: true
17-
publish_nuget_symbols: true
36+
artifacts:
37+
- path: artifacts\*.nupkg
38+
name: ReleaseArtifacts
1839

1940
deploy:
2041
- provider: Environment
2142
name: NuGet
22-
43+
on:
44+
branch: master
45+
- provider: GitHub
46+
auth_token:
47+
secure: 0s81q7bweVLTFSOKxnIhan7el6bIFiN8HJ1kYJzOkeFXX7wgGSq9bs/rV53X9qpf
48+
draft: true
49+
on:
50+
branch: master
51+
appveyor_repo_tag: true
52+
2353
notifications:
2454
- provider: Slack
2555
channel: '#notifications'

global.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"projects": [
3+
"src"
4+
],
5+
"sdk": {
6+
"version": "1.0.0-preview1-002702"
7+
}
8+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
5+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
6+
</PropertyGroup>
7+
8+
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
9+
<PropertyGroup Label="Globals">
10+
<ProjectGuid>853401b5-50f9-4183-994a-cfc28deebd0d</ProjectGuid>
11+
<RootNamespace>Exceptionless.RandomData.Tests</RootNamespace>
12+
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
13+
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
14+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
15+
</PropertyGroup>
16+
17+
<PropertyGroup>
18+
<SchemaVersion>2.0</SchemaVersion>
19+
</PropertyGroup>
20+
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
21+
</Project>

src/Exceptionless.RandomData.Tests/packages.config

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"testRunner": "xunit",
3+
"buildOptions": {
4+
"optimize": true,
5+
"warningsAsErrors": true,
6+
"copyToOutput": {
7+
"include": [ "xunit.runner.json" ]
8+
}
9+
},
10+
"dependencies": {
11+
"dotnet-test-xunit": "1.0.0-rc2-*",
12+
"Exceptionless.RandomData": {
13+
"target": "project"
14+
},
15+
"xunit": "2.1.0",
16+
"xunit.extensibility.core": "2.1.0",
17+
"xunit.extensibility.execution": "2.1.0",
18+
"xunit.runner.visualstudio": "2.1.0"
19+
},
20+
"frameworks": {
21+
"netcoreapp1.0": {
22+
"imports": [
23+
"dotnet",
24+
"portable-dnxcore50+net45+win8+wp8+wpa81",
25+
"portable-net45+win8"
26+
],
27+
"dependencies": {
28+
"Microsoft.NETCore.App": {
29+
"version": "1.0.0-rc2-3002702",
30+
"type": "platform"
31+
}
32+
}
33+
}
34+
}
35+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"diagnosticMessages": true,
3+
"methodDisplay": "method"
4+
}

src/Exceptionless.RandomData/Exceptionless.RandomData.csproj

Lines changed: 0 additions & 57 deletions
This file was deleted.

src/Exceptionless.RandomData/Exceptionless.RandomData.nuspec

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)