Skip to content

Commit

Permalink
Fixes dotnet#7025
Browse files Browse the repository at this point in the history
This change re-enables nuget warnings that were reported mistakenly previously because fix for false positives reached VS2022.
  • Loading branch information
Tanya-Solyanik committed Jul 14, 2022
1 parent 4763e8a commit 96cad8a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- NU1505 reports duplicate package download for Microsoft.NETCore.App.Host.win-x64.
Disabling this warning until https://github.com/dotnet/sdk/issues/24747 is fixed.-->
<NoWarn>$(NoWarn);NU1505</NoWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\src\Microsoft.VisualBasic.Facade.csproj" />
</ItemGroup>
Expand Down
56 changes: 14 additions & 42 deletions src/System.Windows.Forms/src/System.Windows.Forms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\System.Windows.Forms.PrivateSourceGenerators\src\System.Windows.Forms.PrivateSourceGenerators.csproj"
ReferenceOutputAssembly="false"
OutputItemType="Analyzer" />
<ProjectReference Include="..\..\System.Windows.Forms.PrivateSourceGenerators\src\System.Windows.Forms.PrivateSourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -651,48 +649,22 @@
</ItemGroup>

<ItemGroup>
<Compile Update="System\Windows\Forms\ComboBox.ChildAccessibleObject.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ObjectCollection.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.FlatComboAdapter.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.AutoCompleteDropDownFinder.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ACNativeWindow.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildTextUiaProvider.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildListUiaProvider.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProvider.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxAccessibleObject.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxItemAccessibleObjectCollection.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxItemAccessibleObject.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ChildAccessibleObject.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ObjectCollection.cs" />
<Compile Update="System\Windows\Forms\ComboBox.FlatComboAdapter.cs" />
<Compile Update="System\Windows\Forms\ComboBox.AutoCompleteDropDownFinder.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ACNativeWindow.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildTextUiaProvider.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildListUiaProvider.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProvider.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxAccessibleObject.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxItemAccessibleObjectCollection.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxItemAccessibleObject.cs" />
<Compile Update="System\Windows\Forms\ComboBox.ItemComparer.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildNativeWindow.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="System\Windows\Forms\ComboBox.ComboBoxChildNativeWindow.cs" />
</ItemGroup>

<ItemGroup Condition="Exists('comctl32.dll')">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<EnableXlfLocalization>false</EnableXlfLocalization>
<UpdateXlfOnBuild>false</UpdateXlfOnBuild>

<!-- NU1505 reports duplicate package download for Microsoft.NETCore.App.Host.win-x64.
Disabling this warning until https://github.com/dotnet/sdk/issues/24747 is fixed.-->
<NoWarn>$(NoWarn);NU1505</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
<StartupObject />
<EnableXlfLocalization>false</EnableXlfLocalization>
<UpdateXlfOnBuild>false</UpdateXlfOnBuild>
<!-- NU1505 reports duplicate package download for Microsoft.NETCore.App.Host.win-x64.
Disabling this warning until https://github.com/dotnet/sdk/issues/24747 is fixed.-->
<NoWarn>$(NoWarn);SA1633;CS8002;NU1505</NoWarn>
<NoWarn>$(NoWarn);SA1633;CS8002</NoWarn>
<Copyright>Copyright © Paolo Foti 2008</Copyright>
<Company />
<Authors>Paolo Foti</Authors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
<EnableComHosting>true</EnableComHosting>
<EnableXlfLocalization>false</EnableXlfLocalization>
<UpdateXlfOnBuild>false</UpdateXlfOnBuild>
<!-- NU1505 reports duplicate package download for Microsoft.NETCore.App.Host.win-x64.
Disabling this warning until https://github.com/dotnet/sdk/issues/24747 is fixed.-->
<NoWarn>$(NoWarn);NU1505</NoWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\..\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj" />
<ProjectReference Include="..\..\..\src\System.Windows.Forms.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
</PropertyGroup>

<PropertyGroup>
<!-- NU1505 reports duplicate package download for Microsoft.NETCore.App.Host.win-x64.
Disabling this warning until https://github.com/dotnet/sdk/issues/24747 is fixed.-->
<NoWarn>$(NoWarn);WFDEV001;NU1505</NoWarn>
<NoWarn>$(NoWarn);WFDEV001</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 96cad8a

Please sign in to comment.