build-and-package-libvlcsharp-winforms.ps1 410 Bytes
Newer Older
1 2 3 4 5 6 7
Remove-Item ..\LibVLCSharp.WinForms\bin -Force -Recurse
Remove-Item ..\LibVLCSharp.WinForms\obj -Force -Recurse

$msbuild =  '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"'
iex ("& {0} {1}" -f $msbuild, "../LibVLCSharp.WinForms/LibVLCSharp.WinForms.csproj /t:Restore,Clean,Build /p:Configuration=Release")

robocopy  ..\LibVLCSharp.WinForms\bin\Release\ . *.nupkg