Exception with devenv /build

Thread is closed for posting
2 posts, 0 answers
  1. Ulrich
    Ulrich avatar
    1 posts
    Member since:
    Sep 2008

    Posted 01 Apr 2009 Link to this post


    The new version 2009.1.311 throws an exception

    ---------------------------
    OpenAccess addin fatal error in Load
    ---------------------------
    System.InvalidCastException: Specified cast is not valid.

       at EnvDTE.StatusBar.set_Text(String pTextc)

       at Telerik.OpenAccess.Sdk.Addin.VSAddin.OpenAccessAddin80.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom)
    ---------------------------
    OK  
    ---------------------------

    when we start the build from commandline.

    Even a new console application without any additional steps after creation throws the exception, when build is called from the commandline

    C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>
    devenv /build "Release|Any CPU" "c:\projects\test\consoleapplication1\consoleapplication1.sln"

    Any ideas?

    Uli


  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 01 Apr 2009 Link to this post

    Hello Ulrich,
    This is a regression in the actual release, it is already fixed and we will provide a patch in the next days.

    The only workaround is to use the msbuild integration and disable the addin for command line.

    Greetings,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top