Skip to content

Commit

Permalink
Updated for v2 (#1)
Browse files Browse the repository at this point in the history
- Now targets netstandard2.0 and net461
- Added test project
- CI/CD
  - Uses Cake to build
  - Uses GitVersion to calculate current version
  - Added appveyor.yml file
  • Loading branch information
Kralizek authored Feb 24, 2019
1 parent defd6f5 commit c5078ef
Show file tree
Hide file tree
Showing 23 changed files with 1,201 additions and 100 deletions.
132 changes: 122 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig

# Created by https://www.gitignore.io/api/visualstudio,visualstudiocode
# Edit at https://www.gitignore.io/?templates=visualstudio,visualstudiocode

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
.history

### VisualStudio ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
Expand All @@ -17,16 +37,21 @@
[Rr]eleases/
x64/
x86/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio 2015 cache/options directory
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
Expand All @@ -40,18 +65,28 @@ TestResult.xml
[Rr]eleasePS/
dlldata.c

# DNX
# Benchmark Results
BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
Expand All @@ -61,6 +96,7 @@ artifacts/
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
Expand Down Expand Up @@ -89,6 +125,9 @@ ipch/
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

Expand All @@ -109,6 +148,14 @@ _TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover

# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
Expand Down Expand Up @@ -140,7 +187,7 @@ publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
Expand All @@ -153,12 +200,12 @@ PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

Expand All @@ -175,27 +222,34 @@ AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
!?*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs

# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true
**/wwwroot/lib/

# RIA/Silverlight projects
Generated_Code/
Expand All @@ -207,15 +261,19 @@ _UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
*.ldf
*.ndf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser

# Microsoft Fakes
FakesAssemblies/
Expand All @@ -225,13 +283,17 @@ FakesAssemblies/

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
Expand All @@ -250,3 +312,53 @@ paket-files/
# JetBrains Rider
.idea/
*.sln.iml

# CodeRush personal settings
.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
tools/**
!tools/packages.config
outputs/**

# Tabs Studio
*.tss

# Telerik's JustMock configuration file
*.jmconfig

# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs

# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Local History for Visual Studio
.localhistory/

# BeatPulse healthcheck temp database
healthchecksdb

# End of https://www.gitignore.io/api/visualstudio,visualstudiocode

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

7 changes: 7 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
next-version: 2.0.0
mode: ContinuousDeployment
continuous-delivery-fallback-tag: preview

branches:
develop:
tag: vnext
72 changes: 60 additions & 12 deletions LoggingExtensions.sln
Original file line number Diff line number Diff line change
@@ -1,28 +1,76 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kralizek.LoggingExtensions", "src\Kralizek.LoggingExtensions\Kralizek.LoggingExtensions.csproj", "{A51F4C0B-F737-4FEB-98BC-AE60505BA8DA}"
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{DAD92862-7817-4525-9B35-DED94F7FCC2E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleAppSample", "sample\ConsoleAppSample\ConsoleAppSample.csproj", "{4893B22D-5C3B-4B61-9169-84002416FE53}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{160E7169-F508-471B-A0AC-BFD511EA7FB6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{06F07CD7-BA6F-4F5C-A207-80F5CA1E4742}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kralizek.Extensions.Logging", "src\Kralizek.Extensions.Logging\Kralizek.Extensions.Logging.csproj", "{745BBC39-5214-4167-A5DF-0F2444C1F608}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.Extensions.Logging", "tests\Tests.Extensions.Logging\Tests.Extensions.Logging.csproj", "{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleAppSample", "sample\ConsoleAppSample\ConsoleAppSample.csproj", "{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A51F4C0B-F737-4FEB-98BC-AE60505BA8DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A51F4C0B-F737-4FEB-98BC-AE60505BA8DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A51F4C0B-F737-4FEB-98BC-AE60505BA8DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A51F4C0B-F737-4FEB-98BC-AE60505BA8DA}.Release|Any CPU.Build.0 = Release|Any CPU
{4893B22D-5C3B-4B61-9169-84002416FE53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4893B22D-5C3B-4B61-9169-84002416FE53}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4893B22D-5C3B-4B61-9169-84002416FE53}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4893B22D-5C3B-4B61-9169-84002416FE53}.Release|Any CPU.Build.0 = Release|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Debug|Any CPU.Build.0 = Debug|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Debug|x64.ActiveCfg = Debug|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Debug|x64.Build.0 = Debug|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Debug|x86.ActiveCfg = Debug|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Debug|x86.Build.0 = Debug|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Release|Any CPU.ActiveCfg = Release|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Release|Any CPU.Build.0 = Release|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Release|x64.ActiveCfg = Release|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Release|x64.Build.0 = Release|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Release|x86.ActiveCfg = Release|Any CPU
{745BBC39-5214-4167-A5DF-0F2444C1F608}.Release|x86.Build.0 = Release|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Debug|x64.ActiveCfg = Debug|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Debug|x64.Build.0 = Debug|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Debug|x86.ActiveCfg = Debug|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Debug|x86.Build.0 = Debug|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Release|Any CPU.Build.0 = Release|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Release|x64.ActiveCfg = Release|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Release|x64.Build.0 = Release|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Release|x86.ActiveCfg = Release|Any CPU
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6}.Release|x86.Build.0 = Release|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Debug|x64.ActiveCfg = Debug|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Debug|x64.Build.0 = Debug|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Debug|x86.ActiveCfg = Debug|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Debug|x86.Build.0 = Debug|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Release|Any CPU.Build.0 = Release|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Release|x64.ActiveCfg = Release|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Release|x64.Build.0 = Release|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Release|x86.ActiveCfg = Release|Any CPU
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{745BBC39-5214-4167-A5DF-0F2444C1F608} = {DAD92862-7817-4525-9B35-DED94F7FCC2E}
{F672AE8A-02F0-4C60-A903-35D3E04EFFF6} = {160E7169-F508-471B-A0AC-BFD511EA7FB6}
{8CC34DB3-5DE7-468C-B9CE-04EEDB4C62F0} = {06F07CD7-BA6F-4F5C-A207-80F5CA1E4742}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {812B76DF-5C65-48B7-ABC5-91586511F5B9}
EndGlobalSection
EndGlobal
Loading

0 comments on commit c5078ef

Please sign in to comment.