Skip to content

Commit 432bc10

Browse files
committed
fix for xbuild
1 parent df04a21 commit 432bc10

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/ScriptCs.Contracts/ScriptCs.Contracts.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<TargetFrameworkProfile />
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16+
<WarningsNotAsErrors>414</WarningsNotAsErrors>
1617
</PropertyGroup>
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>

src/ScriptCs.Core/ScriptCs.Core.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<TargetFrameworkProfile />
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16-
<WarningsNotAsErrors>414</WarningsNotAsErrors>
1716
</PropertyGroup>
1817
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1918
<DebugSymbols>true</DebugSymbols>

src/ScriptCs.Hosting/ScriptServicesBuilder.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace ScriptCs.Hosting
99
public class ScriptServicesBuilder : ServiceOverrides<IScriptServicesBuilder>, IScriptServicesBuilder
1010
{
1111
private readonly ITypeResolver _typeResolver;
12-
private readonly ILog _logger;
1312
private readonly ILogProvider _logProvider;
1413

1514
private IRuntimeServices _runtimeServices;
@@ -36,7 +35,6 @@ public ScriptServicesBuilder(
3635
_typeResolver = typeResolver ?? new TypeResolver();
3736
ConsoleInstance = console;
3837
_logProvider = logProvider;
39-
_logger = logProvider.ForCurrentType();
4038
}
4139

4240
public ScriptServices Build()

0 commit comments

Comments
 (0)