Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1479
Visual Studio 2022, net 6 winforms project, no infragistics tools in toolbox
posted

I've created a net 6 winforms project, I've added the nuget packages for Infragistics.WinForms and Infragistics.WinForms.Editors (22.1.71) from our private feed. When I open up the designer for a blank form I don't see any infragistics controls in the toolbox. Any suggestions what I might be doing wrong?

This is my project file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net6.0-windows</TargetFramework>
    <StartupObject>Sub Main</StartupObject>
    <UseWindowsForms>true</UseWindowsForms>
    <MyType>WindowsForms</MyType>
  </PropertyGroup>

  <ItemGroup>
    <Import Include="System.Data" />
    <Import Include="System.Drawing" />
    <Import Include="System.Windows.Forms" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Infragistics.WinForms" Version="22.1.71" />
    <PackageReference Include="Infragistics.WinForms.Editors" Version="22.1.71" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="My Project\Application.Designer.vb">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>Application.myapp</DependentUpon>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <None Update="My Project\Application.myapp">
      <Generator>MyApplicationCodeGenerator</Generator>
      <LastGenOutput>Application.Designer.vb</LastGenOutput>
    </None>
  </ItemGroup>

</Project>

Also noticed the following under Windows Forms Output:

[12:10:02.419533] warn: [NetFormsTest]: Encountered an additional TypeRoutingDefinition for 'Infragistics.Win.UltraActivityIndicator.UltraActivityIndicatorDesigner'
[12:10:02.419533] warn: [NetFormsTest]: Encountered an additional TypeRoutingDefinition for 'Infragistics.Win.UltraWinEditors.UltraPictureBoxDesigner'