Skip to content

Commit

Permalink
Merge pull request #190 from telerik/nikolova/imporveDevEnvDir
Browse files Browse the repository at this point in the history
Add condition for DevEnvDir Path
  • Loading branch information
ivo-stoilov authored Dec 22, 2022
2 parents f0f6cc6 + 8477fdc commit b003d6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Build/Config.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<Project>
<PropertyGroup Condition="'$(DevEnvDir)' == '' ">
<DevEnvDir>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\</DevEnvDir>
<VSProfessional>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\</VSProfessional>
<VSEnterprise>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\</VSEnterprise>
<DevEnvDir Condition="Exists('$(VSProfessional)') == 'true'">$(VSProfessional)</DevEnvDir>
<DevEnvDir Condition="'$(DevEnvDir)' == '' ">$(VSEnterprise)</DevEnvDir>
</PropertyGroup>
</Project>

0 comments on commit b003d6f

Please sign in to comment.