vb.net error

vb.net error

^_^clovis^_^
Advocate Advocate
476 Views
4 Replies
Message 1 of 5

vb.net error

^_^clovis^_^
Advocate
Advocate

Hello,

I'm trying to compile my own tm_chrome.dll for Inventor. after the compiling I get an error which from which I can't find the source : Thanks a lot for any pointers

The command "    	if exist "%ProgramFiles%\Microsoft SDKs\Windows\v6.0\bin\mt.exe" set var="%ProgramFiles%\Microsoft SDKs\Windows\v6.0\bin\mt.exe"		if exist "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\bin\mt.exe" set var="%ProgramFiles%\Microsoft SDKs\Windows\v7.0\bin\mt.exe"		if exist "%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\mt.exe" set var="%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\mt.exe"		if exist "%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\mt.exe" set var="%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\mt.exe"		if exist "%PROGRAMFILES(x86)%\Microsoft SDKs\Windows\v6.0A\bin\mt.exe" set var=%PROGRAMFILES(x86)%\Microsoft SDKs\Windows\v6.0A\bin\mt.exe"		if exist "%PROGRAMFILES(x86)%\Microsoft SDKs\Windows\v7.0A\bin\mt.exe" set var="%PROGRAMFILES(x86)%\Microsoft SDKs\Windows\v7.0A\bin\mt.exe" 		if exist "%PROGRAMFILES%\Windows Kits\8.0\bin\x64\mt.exe" set var="%PROGRAMFILES%\Windows Kits\8.0\bin\x64\mt.exe"		if exist "%PROGRAMFILES%\Windows Kits\8.0\bin\x86\mt.exe" set var="%PROGRAMFILES%\Windows Kits\8.0\bin\x86\mt.exe"		if exist "%PROGRAMFILES(x86)%\Windows Kits\8.0\bin\x64\mt.exe" set var="%PROGRAMFILES(x86)%\Windows Kits\8.0\bin\x64\mt.exe"		if exist "%PROGRAMFILES(x86)%\Windows Kits\8.0\bin\x86\mt.exe" set var="%PROGRAMFILES(x86)%\Windows Kits\8.0\bin\x86\mt.exe"		call %var% -manifest "c:\users\masse\documents\visual studio 2015\Projects\tm_chrome\tm_chrome\LengthSweep.X.manifest" -outputresource:"c:\users\masse\documents\visual studio 2015\Projects\tm_chrome\tm_chrome\bin\Debug\tm_chrome.dll";#2    " exited with code 1.
0 Likes
477 Views
4 Replies
Replies (4)
Message 2 of 5

jjstr8
Collaborator
Collaborator

You shouldn't need a manifest.  I don't generate one for add-ins.

0 Likes
Message 3 of 5

HideoYamada
Advisor
Advisor

Hi,

 

The source of that message is written in :

1) Right click the project in Solution Explore.

2) Left click the 'Property'.

3) Left click the 'Compile' tab.

4) Left click the 'Build event' button.

5) You can see it in the 'Build event' window.

 

This error occurs when mt.exe is not installed. You should install Windows SDK or such like it.

https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

 

=====

Freeradical

 Hideo Yamada

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
0 Likes
Message 4 of 5

^_^clovis^_^
Advocate
Advocate

 

Hello Jjstr8,

The addins works fine. I just wanted to avoid this error message.

Thanks

0 Likes
Message 5 of 5

jjstr8
Collaborator
Collaborator

Just delete that part of your post-build event.  Assuming you're building a single DLL with all resources embedded, you wouldn't need a manifest.

0 Likes