Skip to content

Commit

Permalink
Add -NoProfile to prevent PS profile loads
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire Novotny committed Nov 19, 2024
1 parent e268c46 commit 534c1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SdkTools.props
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<ScriptFilePath Condition=" '$(ScriptFilePath)' == '' ">$(RepositoryRootDirectory)\scripts\UpdateWintrust.ps1</ScriptFilePath>
</PropertyGroup>

<Exec Command="$(PowerShellFilePath) -NonInteractive -ExecutionPolicy Unrestricted -Command &quot;&amp; { &amp;'$(ScriptFilePath)' '$(OutputPath)tools\SDK\x64\wintrust.dll.ini' } &quot;" LogStandardErrorAsError="true" />
<Exec Command="$(PowerShellFilePath) -NonInteractive -NoProfile -ExecutionPolicy Unrestricted -Command &quot;&amp; { &amp;'$(ScriptFilePath)' '$(OutputPath)tools\SDK\x64\wintrust.dll.ini' } &quot;" LogStandardErrorAsError="true" />
</Target>

<ItemGroup>
Expand All @@ -60,4 +60,4 @@
<Visible>false</Visible>
</Content>
</ItemGroup>
</Project>
</Project>

0 comments on commit 534c1bc

Please sign in to comment.