Skip to content

Commit

Permalink
MSBuildDeps avoid recursive PATH in LocalDebuggerEnvironment (#11631)
Browse files Browse the repository at this point in the history
* MSBuildDeps avoid recursive PATH in LocalDebuggerEnvironment

* working approach
  • Loading branch information
memsharded committed Jul 14, 2022
1 parent 2794c76 commit 66d50e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conan/tools/microsoft/msbuilddeps.py
Expand Up @@ -48,7 +48,8 @@ class MSBuildDeps(object):
</ImportGroup>
{% if host_context %}
<PropertyGroup>
<LocalDebuggerEnvironment>PATH=%PATH%;$(Conan{{name}}BinaryDirectories)$(LocalDebuggerEnvironment)</LocalDebuggerEnvironment>
<ConanDebugPath>$(Conan{{name}}BinaryDirectories);$(ConanDebugPath)</ConanDebugPath>
<LocalDebuggerEnvironment>PATH=$(ConanDebugPath);%PATH%</LocalDebuggerEnvironment>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
{% if ca_exclude %}
<CAExcludePath>$(Conan{{name}}IncludeDirectories);$(CAExcludePath)</CAExcludePath>
Expand Down

0 comments on commit 66d50e2

Please sign in to comment.