RudolfMeier-2283 avatar image
0 Votes"
RudolfMeier-2283 asked AnnaXiu-MSFT commented

how to import props from "Extensions" directory

I want to import a ".props" file that I have installed in the "Extensions" directory "$(DevEnvDir)Extensions". The problem is, that when I'm building the solution not inside Visual Studio, but directly from the command line using MSBuild, then I get an error because the "DevEnvDir" is not defined.
I know that I could define it when calling MSBuild from the command line. But I try to find an other way. Is there a variable that I could use instead of DevEnvDir to import my props file that is also defined in my scenario?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, please try the $(VSInstallDir) variable and check if it meets your requirement or not.

0 Votes 0 ·

0 Answers