We just had need to update applications that were originally developed with RemObjects 6. We currently use RemObjects 8. My new laptop never had RemObjects 6 loaded and only has Visual Studio 2015 and 2017. On any of the applications, we are unable to upgrade the references to RemObjects 8 and copile sucessfully.
We get the following error:
The “RemObjects.SDK.MSBuild.RodlProcessor” task could not be loaded from the assembly RemObjects.SDK.MSBuild, Version=8.3.91.1167, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098. Could not load file or assembly ‘RemObjects.SDK.MSBuild, Version=8.3.91.1167, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098’ or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available
Is 8.3.91.1167 the version you use now, or you used to use? Can you check if RemObjects.SDK.MSBuild.dll is in the Global Assembly Cache (GAC) with that version, (usually under C:\Windows.NET, but it moves around between Windows versions)?
Thank you for the reply. The build is being performed from a developer laptop that has Visual Studio 2012, 2015 and 2017 loaded. That should cover .NET FX 3.5. I don’t think this is the issue. Am I missing something?
Thanks for the reply. We are using 8.3.91.1167 now. I could not find RemObjects.SDK.MSBuild.dll it in the GAC. I did find the dll in C:\Program Files (x86)\RemObjects Software\RemObjects SDK for .NET\Bin\IDE. Is this something I can move manually into the GAC? What can I do with the DLL?
Yes, you do. none of these Visual Studio installations contain .NET FX 3.5. Even VS 2012 comes with .NET 4.5
Please, install .NET FX 3.5 . It contains the required MSBuild support assemblies. Any other actions can potentially damage your OS and won’t help anyway.
Problem Resolved! After working with .Net 3.5 installs, I started to question why new RemObject projects worked. I started comparing the project files, and there was a difference. The older projects have an Import that apparently causes the error:
Interesting, installing .NET FX 3.5 did resolve the issue in the test environment. Probably you had to reinstall SDK too after installing .NET FX 3.5
This import is not needed at all in the client applications.
However please check build action for .RODL files in the server applications -it should be set to Embedded Resource. Otherwise it won’t be possible to access running server’s metadata.
Hi guys, currently i’m having the same issue, actually i install .net 3.5 and add the dll in the GAC but still getting the same error, can you help me please.
Can you open C:\Program Files (x86)\RemObjects Software\RemObjects SDK for .NET\Bin\IDE\RemObjects.SDK.MSBuild.dll in ILSpy and see what is wrong, pls?