Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 nuget powershell 控制台中的 powershell 变量中获取活动配置的名称吗?我知道有一个 $DTE,但我不知道如何获取活动配置名称...
您可以像这样获得活动配置:
$dte.solution.solutionbuild.activeconfiguration