I want to run regasm.exe from cmd. which is available in c:\\windows\\Microsoft.net\\framework\\2.057
I do like this c:\\ regasm.exe
It gives regasm is n
I use this as post-build event in Visual Studio:
call "%VS90COMNTOOLS%vsvars32.bat"
regasm $(TargetPath) /tlb
Depending on your Visual Studio version, use these environment variables instead:
VS90COMNTOOLS
VS100COMNTOOLS
VS110COMNTOOLS
VS120COMNTOOLS
VS140COMNTOOLS
VS150COMNTOOLS