This is a migrated thread and some comments may be shown as answers.
Exception with devenv /build
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ulrich
Top achievements
Rank 1
Ulrich asked on 01 Apr 2009, 11:07 AM

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


1 Answer, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 01 Apr 2009, 03:39 PM
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.
Tags
General Discussions
Asked by
Ulrich
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Share this question
or