Skip to content

Commit ee4ecfb

Browse files
webwarrior-wsknocte
authored andcommitted
build: re-enable NU1605
Re-enabled NU1605 warning. To avoid package downgrades, pinned FSharp.Core and Microsoft.Build.* packages to specific versions. `dotnet paket update --keep-patch` command was used to update paket.lock file.
1 parent 143ae50 commit ee4ecfb

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
<PublishRepositoryUrl>true</PublishRepositoryUrl>
77
<EmbedUntrackedSources>true</EmbedUntrackedSources>
88
<DebugType>embedded</DebugType>
9-
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1605</WarningsNotAsErrors>
109
</PropertyGroup>
1110
</Project>

paket.dependencies

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ nuget Microsoft.Build.Locator
2323
# don't expose as a package reference
2424
nuget Microsoft.SourceLink.GitHub copy_local: true
2525
# don't copy runtime assets
26-
nuget Microsoft.Build.Framework == 16.11.0 copy_local: false
26+
nuget Microsoft.Build.Framework == 17.2.0 copy_local: false
2727
nuget Microsoft.Build.Tasks.Core copy_local: false
28-
nuget Microsoft.Build.Utilities.Core == 16.11.0 copy_local: false
29-
nuget Microsoft.Build == 16.11.0 copy_local: false
28+
nuget Microsoft.Build.Utilities.Core == 17.2.0 copy_local: false
29+
nuget Microsoft.Build == 17.2.0 copy_local: false
3030

3131
group Docs
3232
source https://api.nuget.org/v3/index.json

paket.lock

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,19 @@ NUGET
8282
Ionide.ProjInfo.Sln (0.61.3)
8383
Microsoft.Bcl.AsyncInterfaces (8.0) - restriction: || (&& (== net6.0) (>= net462)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0)
8484
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net462)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0)
85-
Microsoft.Build (16.11) - copy_local: false
86-
Microsoft.Build.Framework (>= 16.11) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net5.0))
87-
Microsoft.NET.StringTools (>= 1.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net5.0))
88-
Microsoft.Win32.Registry (>= 4.3) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net5.0))
89-
System.Collections.Immutable (>= 5.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net5.0))
90-
System.Configuration.ConfigurationManager (>= 4.7) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net5.0))
91-
System.Reflection.Metadata (>= 1.6) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net5.0))
92-
System.Security.Principal.Windows (>= 4.7) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net5.0))
93-
System.Text.Encoding.CodePages (>= 4.0.1) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net5.0))
94-
System.Text.Json (>= 4.7) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net5.0))
95-
System.Threading.Tasks.Dataflow (>= 4.9) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net5.0))
96-
Microsoft.Build.Framework (16.11) - copy_local: false
85+
Microsoft.Build (17.2) - copy_local: false
86+
Microsoft.Build.Framework (>= 17.2) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net6.0))
87+
Microsoft.NET.StringTools (>= 1.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net6.0))
88+
Microsoft.Win32.Registry (>= 4.3) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net6.0))
89+
System.Collections.Immutable (>= 5.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net6.0))
90+
System.Configuration.ConfigurationManager (>= 4.7) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net6.0))
91+
System.Reflection.Metadata (>= 1.6) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net6.0))
92+
System.Security.Principal.Windows (>= 4.7) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net6.0))
93+
System.Text.Encoding.CodePages (>= 4.0.1) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net6.0))
94+
System.Text.Json (>= 6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net6.0))
95+
System.Threading.Tasks.Dataflow (>= 6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= net472)) (&& (== netstandard2.0) (>= net6.0))
96+
Microsoft.Build.Framework (17.2) - copy_local: false
97+
Microsoft.Win32.Registry (>= 4.3)
9798
System.Security.Permissions (>= 4.7)
9899
Microsoft.Build.Locator (1.6.10)
99100
Microsoft.Build.Tasks.Core (17.8.3) - copy_local: false
@@ -114,14 +115,14 @@ NUGET
114115
System.Text.Encoding.CodePages (>= 7.0)
115116
System.Threading.Tasks.Dataflow (>= 7.0)
116117
Microsoft.Build.Tasks.Git (8.0) - copy_local: true
117-
Microsoft.Build.Utilities.Core (16.11) - copy_local: false
118-
Microsoft.Build.Framework (>= 16.11)
118+
Microsoft.Build.Utilities.Core (17.2) - copy_local: false
119+
Microsoft.Build.Framework (>= 17.2)
119120
Microsoft.NET.StringTools (>= 1.0)
120121
Microsoft.Win32.Registry (>= 4.3)
121122
System.Collections.Immutable (>= 5.0)
122123
System.Configuration.ConfigurationManager (>= 4.7)
123-
System.Security.Permissions (>= 4.7)
124-
System.Text.Encoding.CodePages (>= 4.0.1)
124+
System.Security.Permissions (>= 4.7) - restriction: == netstandard2.0
125+
System.Text.Encoding.CodePages (>= 4.0.1) - restriction: == netstandard2.0
125126
Microsoft.CodeAnalysis.Analyzers (3.3.4)
126127
Microsoft.CodeAnalysis.Common (4.8)
127128
Microsoft.CodeAnalysis.Analyzers (>= 3.3.4)

0 commit comments

Comments
 (0)