forked from serilog/serilog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request serilog#939 from adamchester/rc4-tooling
VS 2017 / dotnet 1.0.0 tooling
- Loading branch information
Showing
22 changed files
with
295 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@powershell .\Build.ps1 %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
#!/bin/bash | ||
export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" | ||
DotnetCliVersion=${CLI_VERSION:="1.0.0"} | ||
install_script_url=https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | ||
curl -sSL $install_script_url | bash /dev/stdin --version "$DotnetCliVersion" --install-dir "$DOTNET_INSTALL_DIR" | ||
export PATH="$DOTNET_INSTALL_DIR:$PATH" | ||
|
||
# See issue https://github.com/NuGet/Home/issues/2163 | ||
ulimit -n 2048 | ||
|
||
dotnet --info | ||
dotnet restore | ||
for path in src/*/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet build ${dirname} -c Release | ||
|
||
for path in src/**/*.csproj; do | ||
dotnet build -f netstandard1.0 -c Release ${path} | ||
dotnet build -f netstandard1.3 -c Release ${path} | ||
done | ||
|
||
for path in test/Serilog.Tests/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet build ${dirname} -f netcoreapp1.0 -c Release | ||
dotnet test ${dirname} -f netcoreapp1.0 -c Release | ||
for path in test/*.Tests/*.csproj; do | ||
dotnet test -f netcoreapp1.0 -c Release ${path} | ||
done | ||
|
||
for path in test/Serilog.PerformanceTests/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet build ${dirname} -f netcoreapp1.0 -c Release | ||
done | ||
for path in test/*.PerformanceTests/*.PerformanceTests.csproj; do | ||
dotnet build -f netcoreapp1.1 -c Release ${path} | ||
# dotnet test -f netcoreapp1.1 -c Release ${path} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"projects": [ "src", "test" ], | ||
"sdk": { | ||
"version": "1.0.0-preview2-003121" | ||
"version": "1.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
#!/bin/bash | ||
dotnet restore | ||
for path in src/*/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet build ${dirname} -c Release | ||
done | ||
for path in test/Serilog.PerformanceTests/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet test ${dirname} -f netcoreapp1.0 -c Release | ||
done | ||
|
||
for path in test/*.PerformanceTests/*.csproj; do | ||
dotnet test -f netcoreapp1.1 -c Release ${path} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Description>Simple .NET logging with fully-structured events</Description> | ||
<VersionPrefix>2.4.1</VersionPrefix> | ||
<Authors>Serilog Contributors</Authors> | ||
<TargetFrameworks>net45;net46;netstandard1.0;netstandard1.3</TargetFrameworks> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AssemblyName>Serilog</AssemblyName> | ||
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> | ||
<PackageId>Serilog</PackageId> | ||
<PackageTags>serilog;logging;semantic;structured</PackageTags> | ||
<PackageIconUrl>http://serilog.net/images/serilog-nuget.png</PackageIconUrl> | ||
<PackageProjectUrl>http://serilog.net</PackageProjectUrl> | ||
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl> | ||
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | ||
<!-- Don't reference the full NETStandard.Library --> | ||
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' "> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' "> | ||
<PackageReference Include="Microsoft.CSharp" Version="4.0.1" /> | ||
<PackageReference Include="System.Collections" Version="4.0.11" /> | ||
<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11" /> | ||
<PackageReference Include="System.Globalization" Version="4.0.11" /> | ||
<PackageReference Include="System.Linq" Version="4.1.0" /> | ||
<PackageReference Include="System.Reflection" Version="4.1.0" /> | ||
<PackageReference Include="System.Reflection.Extensions" Version="4.0.1" /> | ||
<PackageReference Include="System.Runtime" Version="4.1.0" /> | ||
<PackageReference Include="System.Runtime.Extensions" Version="4.1.0" /> | ||
<PackageReference Include="System.Text.RegularExpressions" Version="4.1.0" /> | ||
<PackageReference Include="System.Threading" Version="4.0.11" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<DefineConstants>$(DefineConstants);REMOTING;HASHTABLE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' "> | ||
<DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> | ||
<DefineConstants>$(DefineConstants);ASYNCLOCAL;HASHTABLE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> | ||
<PackageReference Include="System.Collections.NonGeneric" Version="4.0.1" /> | ||
<PackageReference Include="Microsoft.CSharp" Version="4.0.1" /> | ||
<PackageReference Include="System.Collections" Version="4.0.11" /> | ||
<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11" /> | ||
<PackageReference Include="System.Globalization" Version="4.0.11" /> | ||
<PackageReference Include="System.Linq" Version="4.1.0" /> | ||
<PackageReference Include="System.Reflection" Version="4.1.0" /> | ||
<PackageReference Include="System.Reflection.Extensions" Version="4.0.1" /> | ||
<PackageReference Include="System.Runtime" Version="4.1.0" /> | ||
<PackageReference Include="System.Runtime.Extensions" Version="4.1.0" /> | ||
<PackageReference Include="System.Text.RegularExpressions" Version="4.1.0" /> | ||
<PackageReference Include="System.Threading" Version="4.0.11" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.