How to provide a file path to /asmversion option of tlbimp for producing a versioned interop dll? RRS feed

  • Question

  • Hi,

    I am trying to place a dll on post build event using tlbimp.exe and below is the command i am using.

    tlbimp $(IBOUTDIR)\bin\Release\MyAssembly.dll /asmversion: /out (IBOUTDIR)\bin\Release\Interop.MyAssemblyLib.dll

    Now in the above command i want to replace the version with a file path from where it will read the version number to provide to the interop dll. I am not sure whether the command can read from a file or not and if it can read from a file, is it restricted to type of file or we can simply have a header file?

    LIFE - “I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best.”---Marilyn Monroe

    • Moved by Helen Zhao Friday, April 13, 2012 4:52 AM (From:Visual C++ General)
    Tuesday, April 10, 2012 8:38 AM


All replies