Projects and Solutions

Back to -Products -Sapphire-IDE -FAQ -Projects and Solutions

Strange error on loading project.

I get this error message on loading a project:

“Error 2 The "RML.Steel.SteelRailsBuild" task could not be loaded from the assembly SteelBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a42f26dbbcba2be, processorArchitecture=MSIL.
Could not load file or assembly 'SteelBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a42f26dbbcba2be' or one of its dependencies.
The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

This error may occur when loading a project file created using an older version of Ruby In Steel. Older versions defined The key ’processorArchitecture=MSIL’, which should be, ’processorArchitecture=x86’.

To fix this problem:

- Unload the project file in the Solution Explorer (right click on the project node and select Unload Project). Then right click and select Edit Project. This loads up an XML project definition file. Look for two lines like this:

<UsingTask TaskName="RML.Steel.SteelRubyBuild" AssemblyName="SteelBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a42f26dbbcba2be, processorArchitecture=MSIL" />
 <UsingTask TaskName="RML.Steel.SteelRailsBuild" AssemblyName="SteelBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a42f26dbbcba2be, processorArchitecture=MSIL" />

- Change the MSIL to x86 as shown below:

<UsingTask TaskName="RML.Steel.SteelRubyBuild" AssemblyName="SteelBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a42f26dbbcba2be, processorArchitecture=x86" />
 <UsingTask TaskName="RML.Steel.SteelRailsBuild" AssemblyName="SteelBuild, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a42f26dbbcba2be, processorArchitecture=x86" />

- Save this and reload the project.

Bookmark and Share   Keywords:  error message  Ruby In Steel 1
© SapphireSteel Software 2014