Legacy-To-Windows: Reference required to assembly 'System.ComponentModel.TypeConverter

Hi,

Getting below error post Legacy to Windows conversion, how can we resolve this?

Validation Error BC30652: Reference required to assembly ‘System.ComponentModel.TypeConverter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ containing the type ‘MarshalByValueComponent’. Add one to your project

Thanks!

Hi @Rohit_More

Please refer below thread

@Rohit_More,

Packages update to latest version should resolve this one as well if not, create new workflow and copy paste the logic of this workflow and delete this one.

Thanks,
Ashok :slight_smile:

Hi @pradeep931 & @ashokkarale

Thanks for your response, I have tried both the things but the issue still persists. Is there any other way?

Thanks !

@Rohit_More,

  1. Close the project
  2. Take backup of the project.json file.
  3. Delete the project.json file from project.
  4. Open the project by double clicking on the Main.xaml file
  5. Allow Studio to rebuild the project.json
  6. Check if it resolves your issue.

Thanks,
Ashok :slight_smile:

Hi @ashokkarale,

Thank you very much for the quick response, it did resolve my issue but needed to take some additional steps as well.

I’ll summarize all the steps here I followed so it’ll be helpful for other as well.

Method 1:
step 1: close the project
step 2: Go to C:\Users<user_name>.nuget and rename Packages folder
step 3: start the project again

If this does not help then follow below method:
Method 2:
step 1: close the project
step 2: rename the project.json
step 3: open the project
step 4: if some packages are missing then you can copy-paste the missing packages in the project.json and reopen the project

It should solve the issue.

Happy Automation :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.