From 1c04fc4979977fa71cdca0901d0d7cb5c14d8794 Mon Sep 17 00:00:00 2001 From: amaitland Date: Wed, 5 Aug 2020 17:46:10 +1000 Subject: [PATCH] Nuget Update - Add batch to update nuget packages First attempt, requires nuget.exe in folder directly above solution directory --- UpdateNugetPackages.bat | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 UpdateNugetPackages.bat diff --git a/UpdateNugetPackages.bat b/UpdateNugetPackages.bat new file mode 100644 index 0000000..796239b --- /dev/null +++ b/UpdateNugetPackages.bat @@ -0,0 +1,9 @@ +SET cefsharpversion=84.3.10-pre + +..\nuget update CefSharp.MinimalExample.OffScreen\CefSharp.MinimalExample.OffScreen.csproj -Id CefSharp.OffScreen -Version %cefsharpversion% +..\nuget update CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.csproj -Id CefSharp.WinForms -Version %cefsharpversion% +..\nuget update CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.csproj -Id CefSharp.Wpf -Version %cefsharpversion% + +dotnet add CefSharp.MinimalExample.OffScreen\CefSharp.MinimalExample.OffScreen.netcore.csproj package CefSharp.OffScreen -v %cefsharpversion% +dotnet add CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.netcore.csproj package CefSharp.WinForms -v %cefsharpversion% +dotnet add CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.netcore.csproj package CefSharp.Wpf -v %cefsharpversion% \ No newline at end of file