Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MissingMethodException

You may see the following exception in a browser when you use Blazor WebAssembly Scheduler:

System.MissingMethodException: Constructor on type ‘System.ComponentModel.Int32Converter’ not found.

To resolve this issue, do one of the following:

  • Set the BlazorWebAssemblyEnableLinking property to false in the project file to disable the link with an MSBuild property.
    <PropertyGroup>
    ...
      <BlazorWebAssemblyEnableLinking>false</BlazorWebAssemblyEnableLinking>
    </PropertyGroup>
    
  • Add the LinkerConfig.xml file and include the following code:
    <?xml version="1.0" encoding="UTF-8" ?>
    ...
    <linker>
      ...
      <assembly fullname="System">
          <!-- Use this line to include the entire assembly. -->
          <type fullname="System.ComponentModel*" />
          <!-- Uncomment the following lines to include individual types. -->
          <!-- <type fullname="System.ComponentModel.Int32Converter*" />
          <type fullname="System.ComponentModel.BooleanConverter*" />
          <type fullname="System.ComponentModel.DateTimeConverter*" />
          <type fullname="System.ComponentModel.StringConverter*" /> -->
          ...
      </assembly>
    </linker>
    
    Then specify this file as an MSBuild item in the project file.
    <ItemGroup>
      ...
      <BlazorLinkerDescriptor Include="LinkerConfig.xml" />
    </ItemGroup>
    

See the following topic for more information: Configure the Linker for ASP.NET Core Blazor.