Resources | Resources |



Troubleshooting tips

This section provides information on possible errors and solutions.

CLI.Core.dll or Common.FilesystemUtilities.dll missing

If an error message indicates that CLI.Core.dll or Common.FilesystemUtilities.dll is missing, build the common project, as follows:

nant build.common -D:/Configuration=Debug

Administrator privilege required

If administrator privilege is required, you may see one of the following errors:

[exec] C:\Program Files (x86)\Visual Studio 2005 SDK\2007.02\
error MSB6003: The specified task executable could not be run.
The requested operation requires elevation 
error MSB3216: Cannot register assembly "C:\BMP_tools_sr ckit_18Mar\plugin
- access denied. Please make sure you're running the application as administrator.
Access to the registry key 'HKEY_CLASSES_ROOT\Record' is denied. 

You need to run cmd.exe as administrator.

IToolsetRepositoryMonitor missing

When the IToolsetRepositoryMonitor interface is missing from the Brew MP SDK, you will see an error similar to the following:

[exec] MainWindow.xaml.cs(68,17): error CS0246:
The type or namespace name 'IToolsetRepositoryMonitor'
could not be found (are you missing a using directive or an assembly reference?)
  [exec] Done Building Project
(_CompileTemporaryAssembly target(s)) -- FAILED.
  [exec] Done Building Project
(Rebuild target(s)) -- FAILED.

You need to download and install a newer version of the Brew MP SDK (version 7.12.3 or newer).

The "FindRibbons" task failed unexpectedly.

The build of vsplugins or resourcelocalization may fail if you have a newer version of Visual Studio 2010. An error message similar to the following may occur:

[exec] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\OfficeTools\
Microsoft.VisualStudio.Tools.Office.targets(176,9): error MSB4018: The "FindRibbons"
task failed unexpectedly. [C:\BMP_tools_srckit_18Mar\plugin\ResourceLocalization\src\
[exec] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\OfficeTools\
error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly
'BREWMPLocalizationExcelAddin, Version=, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot
find the file specified.  [C:\BMP_tools_srckit_18Mar\plugin\ResourceLocalization

To correct this, do the following:

  1. Open a command prompt window and change directory to plugin\ResourceLocalization\src\BREWMPLocalizationExcelAddin\.
  2. In the command prompt window, run the following command to upgrade the project:
    "%VS100COMNTOOLS%\..\IDE\devenv" BREWMPLocalizationExcelAddin.csproj /Upgrade

    Note: You may need to run a similar command in the plugin\ResourceLocalization\src\BREWMPStringLocalizationLibrary directory for BREWMPStringLocalizationLibrary.csproj.

You can also update the project by opening it in Visual Studio 2010, as follows:

  1. Open plugin\ResourceLocalization\src\BREWMPLocalizationExcelAddin\BREWMPLocalizationExcelAddin.csproj in Visual Studio 2010.
  2. When prompted to convert the project, click Next to proceed with the conversion.
  3. Click Finish to complete the conversion, then click Close.
  4. In the Solution Explorer window, right-click on BREWMPLocalizationExcelAddin, and select Rebuild.

Perform these same steps for plugin\ResourceLocalization\src\BREWMPStringLocalizationLibrary\BREWMPStringLocalizationLibrary.csproj, right-clicking on BREWMPStringLocalizationLibrary in Solution Explorer.

Run the nant command to build vsplugins again.