VSTA 2.0: ProxyGen does not work

  • 06-19-2008 10:05 AM In reply to

    • Melody
    • Top 10 Contributor
    • Joined on 04-26-2007
    • Syracuse, NY
    • Posts 217

    Re: VSTA 2.0: ProxyGen does not work

    Thorsten,
    I was able to reproduce this.  The problem is not following the command switch with a colon and not using full paths. 

    Try using this command with colons and full paths:
    ProxyGen /v /l:C:\ShapeAppSamples\ShapeAppCSharp\core\base\bin\Debug\ShapeAppCSharp.exe /o:C:\ShapeAppSamples\Proxy_Descriptor.xml

    Here is the output showing the repro and work around:
    Setting environment for using Microsoft Visual Studio 2005 x86 tools.

    c:\Program Files\Microsoft Visual Studio 8\VC>cd "C:\Program Files\Visual Studio

     Tools for Applications 2.0 SDK\2008.02\Visual Studio Tools For Applications\Too

    ls\ProxyGen"

     

    C:\Program Files\Visual Studio Tools for Applications 2.0 SDK\2008.02\Visual Stu

    dio Tools For Applications\Tools\ProxyGen>ProxyGen /v /l ShapeAppCSharp\core\bas

    e\bin\Debug\ShapeAppCSharp.exe /o Proxy_Descriptor.xml

    An unrecoverable error was encountered during processing.

    Exception has been thrown by the target of an invocation.

    This may have been caused by earlier errors.

     

    ProxyGen.exe Information: 0 : Finished

     

    C:\Program Files\Visual Studio Tools for Applications 2.0 SDK\2008.02\Visual Stu

    dio Tools For Applications\Tools\ProxyGen>ProxyGen /v /l:C:\ShapeAppSamples\Shap

    eAppCSharp\core\base\bin\Debug\ShapeAppCSharp.exe /o:C:\ShapeAppSamples\Proxy_De

    scriptor.xml /f

    ProxyGen.exe : ProxyGen.exe [Version 9.0.30227.0]

    c Microsoft Corporation. All rights reserved.

     

    ProxyGen.exe Information: 0 : Note: All assemblies written in Visual Basic conta

    in automatically generated types that use generics and types that derive from ty

    pes in external assemblies. ProxyGen.exe does not support using these features i

    n an object model. You can ignore warnings that ProxyGen.exe displays about thes

    e unsupported features if the warnings refer to automatically generated types, r

    ather than types in your object model.

     

     

    ProxyGen.exe Information: 0 : Finished

     

    C:\Program Files\Visual Studio Tools for Applications 2.0 SDK\2008.02\Visual Stu

    dio Tools For Applications\Tools\ProxyGen>

     

    Filed under: ,
Copyright Summit Software Company, 2008. All rights reserved.