Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sschutten opened this issue Nov 7, 2017 · 2 comments

Comments

@sschutten
Copy link

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>

@aloisdeniel
Copy link
Collaborator

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!

@sschutten
Copy link
Author

No problem. Glad to be of help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants