Assetxport icon indicating copy to clipboard operation
Assetxport copied to clipboard

'Assetxport.Cli.exe' is not recognized as an internal or external command, operable program or batch file

Open sschutten opened this issue 7 years ago • 2 comments

I've followed the instructions and added Assetxport as a NuGet package to my Android project. Next I've added the Config.assets.json file and set it up. When I build I get the following error:

'Assetxport.Cli.exe' is not recognized as an internal or external command, operable program or batch file.

Looking at the targets file, it appears to be just looking for Assetxport.Cli.exe, which means it should be in the current directory (from where the build is run) or the path to Assetxport.Cli.exe should be added to the PATH environment variable.

To make it work I replaced this line <AssetxportCli Condition=" '$(AssetxportCli)' == '' ">Assetxport.Cli.exe</AssetxportCli>

with this <AssetxportCli Condition=" '$(AssetxportCli)' == '' ">$(MSBuildThisFileDirectory)..\..\tools\Assetxport.Cli.exe</AssetxportCli>

sschutten avatar Nov 07 '17 10:11 sschutten

Hu, strange that i missed that! Thanks for the fix, I will publish a new version very soon to include that!

Sorry for the inconvenience!

aloisdeniel avatar Nov 07 '17 14:11 aloisdeniel

No problem. Glad to be of help!

sschutten avatar Nov 07 '17 14:11 sschutten