From 506e58d43dc0e607122e54733af29c3b753d5e2d Mon Sep 17 00:00:00 2001 From: Vlad Zarytovskii Date: Wed, 27 Apr 2022 15:09:17 +0200 Subject: [PATCH] Workaround for Duplicate 'PackageDownload' items warning (#13055) --- src/fsharp/fsi/fsi.fsproj | 3 +++ .../FSharp.ProjectSystem.Base/FSharp.ProjectSystem.Base.csproj | 3 +++ .../FSharp.ProjectSystem.PropertyPages.vbproj | 3 +++ vsintegration/tests/UnitTests/VisualFSharp.UnitTests.fsproj | 3 +++ 4 files changed, 12 insertions(+) diff --git a/src/fsharp/fsi/fsi.fsproj b/src/fsharp/fsi/fsi.fsproj index 39cacc086..a3d297da7 100644 --- a/src/fsharp/fsi/fsi.fsproj +++ b/src/fsharp/fsi/fsi.fsproj @@ -8,6 +8,9 @@ net472;net6.0 net6.0 $(NoWarn);44 + + $(NoWarn);NU1504 true $(OtherFlags) --warnon:1182 fsi.res diff --git a/vsintegration/src/FSharp.ProjectSystem.Base/FSharp.ProjectSystem.Base.csproj b/vsintegration/src/FSharp.ProjectSystem.Base/FSharp.ProjectSystem.Base.csproj index 1d5316c9d..5696fed4b 100644 --- a/vsintegration/src/FSharp.ProjectSystem.Base/FSharp.ProjectSystem.Base.csproj +++ b/vsintegration/src/FSharp.ProjectSystem.Base/FSharp.ProjectSystem.Base.csproj @@ -7,6 +7,9 @@ FSharp.ProjectSystem.Base $(NoWarn),618,1570,1572,1573,1574,1591,3001,3002,3003,3005,3008,3009,3021,3024 $(NoWarn);VSTHRD010 + + $(NoWarn);NU1504 $(DefineConstants);CODE_ANALYSIS Microsoft.VisualStudio.FSharp.ProjectSystem true diff --git a/vsintegration/src/FSharp.ProjectSystem.PropertyPages/FSharp.ProjectSystem.PropertyPages.vbproj b/vsintegration/src/FSharp.ProjectSystem.PropertyPages/FSharp.ProjectSystem.PropertyPages.vbproj index 82d493fe0..2cf053526 100644 --- a/vsintegration/src/FSharp.ProjectSystem.PropertyPages/FSharp.ProjectSystem.PropertyPages.vbproj +++ b/vsintegration/src/FSharp.ProjectSystem.PropertyPages/FSharp.ProjectSystem.PropertyPages.vbproj @@ -12,6 +12,9 @@ false 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 40026;42105;42107;42353 + + $(NoWarn);NU1504 net472 win true diff --git a/vsintegration/tests/UnitTests/VisualFSharp.UnitTests.fsproj b/vsintegration/tests/UnitTests/VisualFSharp.UnitTests.fsproj index b1ee2def9..b894badf6 100644 --- a/vsintegration/tests/UnitTests/VisualFSharp.UnitTests.fsproj +++ b/vsintegration/tests/UnitTests/VisualFSharp.UnitTests.fsproj @@ -7,6 +7,9 @@ x86 Library $(NoWarn);44;58;75;3005 + + $(NoWarn);NU1504 true true true -- GitLab