Skip to content

Commit

Permalink
Added Target to execute zip publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Timthreetwelve committed Jun 17, 2023
1 parent 98fed92 commit 5d8b3ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions WUView/WUView.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,14 @@
<Exec Command="powershell -NoProfile -File &quot;$(ProjectDir)Powershell\GenBuildInfo.ps1&quot; -assemblyName $(AssemblyName) -assemblyVersion $(AssemblyVersion)" />
</Target>

<Target Name="PublishZip" AfterTargets="Publish" >
<PropertyGroup>
<PowerShellScript>-File &quot;D:\Visual Studio\Source\PowerShell\PublishZip\PubZip.ps1&quot;</PowerShellScript>
<Name>-name &quot;Windows Update Viewer&quot;</Name>
<Version>-version $(AssemblyVersion)</Version>
<Path>-path &quot;$(ProjectDir)&quot;</Path>
</PropertyGroup>
<Exec Command="pwsh -NoProfile $(PowerShellScript) $(Name) $(Version) $(Path)" />
</Target>

</Project>

0 comments on commit 5d8b3ed

Please sign in to comment.