修复VS2017下,SolutionDir不正确的问题#21
Open
gunsungithub wants to merge 1 commit intocopyliu:masterfrom
gunsungithub:master
Open
修复VS2017下,SolutionDir不正确的问题#21gunsungithub wants to merge 1 commit intocopyliu:masterfrom gunsungithub:master
gunsungithub wants to merge 1 commit intocopyliu:masterfrom
gunsungithub:master
Conversation
Owner
|
请问你是直接在VS的命令行下直接运行MSBuild吗? 这样的话确实SolutionDir可能会不一样, 在VS里build的话会赋值下去. |
Author
|
我是在界面里生成解决方案的。 |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
hi
我是用2017时,wtf_lib_builder的bat,build libwtfdanmaku的输出没有输出到SolutionDir下,这是因为bat中执行MSBuild时,SolutionDir为当前项目的默认值。
机理我并不是很清楚,但是现象就是如此,可以在bat中改/verbosity:diag,可以看到输出目录确实是libwtfdanmaku项目的默认输出目录,而非SolutionDir正确指定情况下的目录。
不知道你是否要支持其他版本VS,我这里2017是这样的。