VSTA 2.0: ProxyGen does not work

  • 06-16-2008 9:38 AM In reply to

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

    Re: VSTA 2.0: ProxyGen does not work

    Thorsten,

                ProxyGen will have an unrecoverable error if there are irresolvable assemblies referenced.  For instance, exposing a the exe from ShapeAppAdvancedCSharp (VSTA v 1 sample) to VSTA v 2 ProxyGen without having VSTA v 1 installed or exposing a VSTA v 2 sample to ProxyGen v 1 without having VSTA v 2 installed.  Aside from those scenarios we haven’t seen ProxyGen v 2 have an unrecoverable error when creating files for ShapeApp samples.

     Since you have both VSTA v 1 and v 2 installed, perhaps there is some mix up.  Try this:

    1)      Do a clean rebuild of the sample you wish to expose to ProxyGen.  Try using a non-integrated sample.

    2)      If you have any environmental path variables to ProxyGen (either version) setup remove them.  I believe you will have to close and re-open any command prompt windows for this to take affect.

    3)      Explicitly change directories ProxyGen.

    4)      Expose the exe of a non-integrated sample to ProxyGen to create a descriptor file.

    Commands:

    cd "%ProgramFiles%\Visual Studio Tools for Applications 2.0 SDK\2008.02\Visual Studio Tools For Applications\Tools\ProxyGen"

    ProxyGen /l:"C:\ShapeAppSamples\ShapeAppCSharp\core\bin\Debug\ShapeAppCSharp.exe" /o:"C:\ShapeAppSamples\ShapeAppCSharp\OM.xml" /f


    Hope this helps, please let me know if you are still getting the error.
    Thanks,
    -Melody

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