Commit df85be8e authored by Martin Finkel's avatar Martin Finkel

Add build scripts for forms.gtk, gtk and winforms project. Update all to copy...

Add build scripts for forms.gtk, gtk and winforms project. Update all to copy nupkg to scripts folder for nuget upload
parent d3224327
.\build-and-package-libvlcsharp.ps1
.\build-and-package-libvlcsharp-forms.ps1
.\build-and-package-libvlcsharp-wpf.ps1
.\build-and-package-libvlcsharp-forms-wpf.ps1
.\build-and-package-libvlcsharp-gtk.ps1
.\build-and-package-libvlcsharp-forms-gtk.ps1
.\build-and-package-libvlcsharp-winforms.ps1
\ No newline at end of file
Remove-Item ..\LibVLCSharp.Forms.Platforms.GTK\bin -Force -Recurse
Remove-Item ..\LibVLCSharp.Forms.Platforms.GTK\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.Forms.Platforms.GTK/LibVLCSharp.Forms.Platforms.GTK.csproj /t:Restore,Clean,Build /p:Configuration=Release")
robocopy ..\LibVLCSharp.Forms.Platforms.GTK\bin\Release\ . *.nupkg
\ No newline at end of file
......@@ -2,4 +2,6 @@ Remove-Item ..\LibVLCSharp.Forms.Platforms.WPF\bin -Force -Recurse
Remove-Item ..\LibVLCSharp.Forms.Platforms.WPF\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.Forms.Platforms.WPF/LibVLCSharp.Forms.Platforms.WPF.csproj /t:Restore,Clean,Build /p:Configuration=Release")
\ No newline at end of file
iex ("& {0} {1}" -f $msbuild, "../LibVLCSharp.Forms.Platforms.WPF/LibVLCSharp.Forms.Platforms.WPF.csproj /t:Restore,Clean,Build /p:Configuration=Release")
robocopy ..\LibVLCSharp.Forms.Platforms.WPF\bin\Release\ . *.nupkg
\ No newline at end of file
......@@ -2,4 +2,6 @@ Remove-Item ..\LibVLCSharp.Forms\bin -Force -Recurse
Remove-Item ..\LibVLCSharp.Forms\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.Forms/LibVLCSharp.Forms.csproj /t:Restore,Clean,Build /p:Configuration=Release")
\ No newline at end of file
iex ("& {0} {1}" -f $msbuild, "../LibVLCSharp.Forms/LibVLCSharp.Forms.csproj /t:Restore,Clean,Build /p:Configuration=Release")
robocopy ..\LibVLCSharp.Forms\bin\Release\ . *.nupkg
\ No newline at end of file
Remove-Item ..\LibVLCSharp.GTK\bin -Force -Recurse
Remove-Item ..\LibVLCSharp.GTK\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.GTK/LibVLCSharp.GTK.csproj /t:Restore,Clean,Build /p:Configuration=Release")
robocopy ..\LibVLCSharp.GTK\bin\Release\ . *.nupkg
\ No newline at end of file
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
\ No newline at end of file
......@@ -2,4 +2,6 @@ Remove-Item ..\LibVLCSharp.WPF\bin -Force -Recurse
Remove-Item ..\LibVLCSharp.WPF\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.WPF/LibVLCSharp.WPF.csproj /t:Restore,Clean,Build /p:Configuration=Release")
\ No newline at end of file
iex ("& {0} {1}" -f $msbuild, "../LibVLCSharp.WPF/LibVLCSharp.WPF.csproj /t:Restore,Clean,Build /p:Configuration=Release")
robocopy ..\LibVLCSharp.WPF\bin\Release\ . *.nupkg
\ No newline at end of file
......@@ -2,4 +2,6 @@ Remove-Item ..\LibVLCSharp\bin -Force -Recurse
Remove-Item ..\LibVLCSharp\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/LibVLCSharp.csproj /t:Restore,Clean,Build /p:Configuration=Release")
\ No newline at end of file
iex ("& {0} {1}" -f $msbuild, "../LibVLCSharp/LibVLCSharp.csproj /t:Restore,Clean,Build /p:Configuration=Release")
robocopy ..\LibVLCSharp\bin\Release\ . *.nupkg
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment