Skip to content

Commit

Permalink
reverted all structured logger related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Apr 11, 2024
1 parent 54a5a46 commit 58b5dc0
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 126 deletions.
2 changes: 1 addition & 1 deletion build-script/build-script.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>build_script</RootNamespace>
<WarnOn>3390;$(WarnOn)</WarnOn>
<NoWarn>0020</NoWarn>
Expand Down
5 changes: 1 addition & 4 deletions build-script/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,7 @@ let initTargets (argv) =
(fun opts ->
{ opts with
Configuration = configuration
MSBuildParams =
{ opts.MSBuildParams with
Properties = [ "DefineConstants", compilationConstant ]
DisableInternalBinLog = true } })
MSBuildParams = { opts.MSBuildParams with Properties = [ "DefineConstants", compilationConstant ] } })
NetStandardSolution)

Target.create "NetStandard - Unit Tests" (fun _ -> runStandardTests UnitTests |> ignore)
Expand Down
1 change: 0 additions & 1 deletion build-script/paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ nuget Fake.DotNet.Cli
nuget Fake.DotNet.Testing.XUnit2
nuget Microsoft.Build 17.3.2
nuget Microsoft.Build.Tasks.Core 17.3.2
nuget MSBuild.StructuredLogger
134 changes: 67 additions & 67 deletions build-script/paket.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "7.0.305",
"rollForward": "disable"
"version": "6.0.300",
"rollForward": "latestMajor"
}
}
5 changes: 2 additions & 3 deletions src/IO.Ably.NETFramework/IO.Ably.NETFramework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
<WarningLevel>4</WarningLevel>
<RunCodeAnalysis>true</RunCodeAnalysis>
<CodeAnalysisRuleSet>..\IO.Ably.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\IO.Ably.xml</DocumentationFile>
<NoWarn>NU1903</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down Expand Up @@ -109,4 +108,4 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\Microsoft.CodeQuality.Analyzers.2.9.6\build\Microsoft.CodeQuality.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeQuality.Analyzers.2.9.6\build\Microsoft.CodeQuality.Analyzers.props'))" />
</Target>
</Project>
</Project>
50 changes: 2 additions & 48 deletions src/IO.Ably.NETStandard20/IO.Ably.NETStandard20.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,15 @@
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\IO.Ably.NETStandard20.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\IO.Ably.NETStandard20.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='package|netstandard2.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='package|net6.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='package|net7.0|AnyCPU'">
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1903;</NoWarn>
</PropertyGroup>

<Import Project="..\IO.Ably.Shared\IO.Ably.Shared.projitems" Label="Shared" />

<Import Project="..\IO.Ably.Shared.MsgPack\IO.Ably.Shared.MsgPack.projitems" Label="Shared" Condition="$(DefineConstants.Contains(MSGPACK))" />
Expand Down

0 comments on commit 58b5dc0

Please sign in to comment.