Error loading forms with PowerPacks items inside

51 views Asked by At

I have an old application WindowsForms with some PowerPacks items inside it. I don't remember the version of VisualStudio i used to build it, but now, with version 17.8.3, this app doesn't work with error: "Impossible to load file or assembly Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a or one of relative dipendencies. Impossible to find the specified file" The version of PowerPacks i actually use is 12.0.0 The strange is that i use without errors the DataRepeater tool that is in this version of PowerPacks, but when i try to use the Rectangle Shape or other tools i receive the same error message written above. Does anybody faced this error?

1

There are 1 answers

4
Diogo Ribeiro On

I encountered a similar issue with my application, and I found that installing Visual Studio 2019 resolved the problem effectively. This version of Visual Studio allows for the installation and support of older .NET Framework versions, which is particularly beneficial for legacy applications. By moving to Visual Studio 2019, you should be able to maintain compatibility with the necessary components of your application, including those that rely on earlier versions of the .NET Framework. This approach worked well for me and might be the solution you're looking for as well.