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

Possible alternative for VsDevCmd.bat #75

Open
adakitesystems opened this issue Sep 28, 2018 · 1 comment
Open

Possible alternative for VsDevCmd.bat #75

adakitesystems opened this issue Sep 28, 2018 · 1 comment

Comments

@adakitesystems
Copy link
Collaborator

adakitesystems commented Sep 28, 2018

Thanks to @Jabbo16 for mentioning this in BWAPI4J Discord:

Jabbo / Ecgberht: found this: https://github.com/Microsoft/vswhere Could be a better way to search for MSBuild

Currently, we use a Gradle script to determine/guess the user's path to VsDevCmd.bat which is a Windows batch file for VS2017 that prepares the command prompt environment to use MSBuild.exe and other VS tools. I haven't tested vswhere yet but it could be a good replacement.

I consider this to be semi-related to Issue #73.

@adakitesystems
Copy link
Collaborator Author

Specifically, we probably would use vswhere to determine the VsDevCmd.bat path using something like this: https://github.com/Microsoft/vswhere/wiki/Start-Developer-Command-Prompt.

i.e. We might just use it for "%%i\Common7\Tools\vsdevcmd.bat".

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

1 participant