Skip to content

VCTargetsPath not set #3

@adambadura

Description

@adambadura

I just installed version 3 of the application. And used it to open Visual Studio C++ project. And it faild. MSBuild Explorer was unable to resolve:

<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

Judging by message the problem was that $(VCTargetsPath) was not defined.

At the same time the project works just fine from Visual Studio.

I use Visual Studio 2013 Express edition on recently updated Windows 10 (previously Windows 7).

My workaround was to create a .cmd script (in the directory that holds start menu shortcuts) that does this:

SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
"MSBuild Explorer 3.appref-ms"

It does work well. MSBuild Explorer opened that way is able to open the C++ project normally. (But for some reason the .cmd file doesn't show up in start menu - must be Windows 10 thing...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions