This repository was archived by the owner on Jun 16, 2021. It is now read-only.
ion/ionvcproj.py: adjusted pre-build event command to work for me#76
Open
travisstaloch wants to merge 1 commit intopervognsen:masterfrom
travisstaloch:master
Open
ion/ionvcproj.py: adjusted pre-build event command to work for me#76travisstaloch wants to merge 1 commit intopervognsen:masterfrom travisstaloch:master
travisstaloch wants to merge 1 commit intopervognsen:masterfrom
travisstaloch:master
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ion/ionvcproj.py script wasn't working for me. I made changes to the pre-build event which allow me to build and debug my ion code. The only thing I have to do now after running this script is 'retarget solution'.
You can see I added packagepathparent and ioncmd to the substitution variables. ioncmd assumes that the ion executable is named 'ion'.
I believe my issues with the script were related to the VS terminal not picking up my IONHOME and also my perhaps nonstandard ion setup where I have an ion.bat in my path which points to %IONHOME%/ion.exe . This solution navigates instead to the directory above packagepath (rather than ionhome) and uses an absolute path to ion (ioncmd).