From da4a8dfa9dea1b790e5b92f3e2ae15bfdc550536 Mon Sep 17 00:00:00 2001 From: Robert Muehsig Date: Sun, 30 Dec 2018 23:18:18 +0100 Subject: [PATCH] cleanups and licenseUrl for package fixed --- Changelog.md | 11 +++++++++++ ElectronNET.API/ElectronNET.API.csproj | 12 +++++++++--- ElectronNET.API/WebContents.cs | 5 +++++ ElectronNET.CLI/ElectronNET.CLI.csproj | 13 +++++++++++-- buildReleaseNuGetPackages.cmd | 8 ++++---- 5 files changed, 40 insertions(+), 9 deletions(-) diff --git a/Changelog.md b/Changelog.md index 29b61c86..e9b14c38 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,8 +1,19 @@ # not release + +# 0.0.11 + ElectronNET.CLI: * Invoke 'npm install' without --prod flag to install needed devDependencies as well. +* Enable SourceLink +* NuGet Package License Information updated (deprecation of licenseUrl) + +ElectronNET.API: + +* Documentation added for WebContents.GetUrl() +* Enable SourceLink +* NuGet Package License Information updated (deprecation of licenseUrl) # 0.0.10 diff --git a/ElectronNET.API/ElectronNET.API.csproj b/ElectronNET.API/ElectronNET.API.csproj index 03580025..45cdb82d 100644 --- a/ElectronNET.API/ElectronNET.API.csproj +++ b/ElectronNET.API/ElectronNET.API.csproj @@ -1,4 +1,4 @@ - + netcoreapp2.1 @@ -8,15 +8,17 @@ Gregor Biswanger, Robert Muehsig Electron.NET - https://github.com/ElectronNET/Electron.NET/blob/master/LICENSE + MIT https://github.com/ElectronNET/Electron.NET/ Building cross platform electron based desktop apps with .NET Core and ASP.NET NET Core. This package contains the API to access the "native" electron API. https://github.com/ElectronNET/Electron.NET/ + git + true electron aspnetcore Changelog: https://github.com/ElectronNET/Electron.NET/blob/master/Changelog.md https://raw.githubusercontent.com/ElectronNET/Electron.NET/master/assets/images/electron.net-logo-square.png - 1.0.0.2 + 1.0.0.0 @@ -40,6 +42,10 @@ This package contains the API to access the "native" electron API. + + all + runtime; build; native; contentfiles; analyzers + diff --git a/ElectronNET.API/WebContents.cs b/ElectronNET.API/WebContents.cs index 766887b1..f56b2a78 100644 --- a/ElectronNET.API/WebContents.cs +++ b/ElectronNET.API/WebContents.cs @@ -132,6 +132,11 @@ public Task PrintToPDFAsync(string path, PrintToPDFOptions options = null) return taskCompletionSource.Task; } + /// + /// Is used to get the Url of the loaded page. + /// It's usefull if a web-server redirects you and you need to know where it redirects. For instance, It's useful in case of Implicit Authorization. + /// + /// URL of the loaded page public Task GetUrl() { var taskCompletionSource = new TaskCompletionSource(); diff --git a/ElectronNET.CLI/ElectronNET.CLI.csproj b/ElectronNET.CLI/ElectronNET.CLI.csproj index 1af207fe..c7fc3280 100644 --- a/ElectronNET.CLI/ElectronNET.CLI.csproj +++ b/ElectronNET.CLI/ElectronNET.CLI.csproj @@ -9,15 +9,17 @@ true ..\artifacts ElectronNET.CLI - 1.0.4.2 + 1.0.0.0 Gregor Biswanger, Robert Muehsig Electron.NET Building cross platform electron based desktop apps with .NET Core and ASP.NET NET Core. This package contains the dotnet tooling to electronize your application. - https://github.com/ElectronNET/Electron.NET/blob/master/LICENSE + MIT https://github.com/ElectronNET/Electron.NET/ https://github.com/ElectronNET/Electron.NET/ + git + true electron aspnetcore Changelog: https://github.com/ElectronNET/Electron.NET/blob/master/Changelog.md https://raw.githubusercontent.com/ElectronNET/Electron.NET/master/assets/images/electron.net-logo-square.png @@ -76,6 +78,13 @@ This package contains the dotnet tooling to electronize your application. + + + + all + runtime; build; native; contentfiles; analyzers + + diff --git a/buildReleaseNuGetPackages.cmd b/buildReleaseNuGetPackages.cmd index f2355687..8a2c0919 100644 --- a/buildReleaseNuGetPackages.cmd +++ b/buildReleaseNuGetPackages.cmd @@ -2,11 +2,11 @@ echo "Start building Electron.NET dev stack..." echo "Restore & Build API" cd ElectronNet.API dotnet restore -dotnet build --configuration Release --force /property:Version=0.0.10 -dotnet pack /p:Version=0.0.10 --configuration Release --force --output "%~dp0artifacts" +dotnet build --configuration Release --force /property:Version=0.0.11 +dotnet pack /p:Version=0.0.11 --configuration Release --force --output "%~dp0artifacts" cd .. echo "Restore & Build CLI" cd ElectronNet.CLI dotnet restore -dotnet build --configuration Release --force /property:Version=0.0.10 -dotnet pack /p:Version=0.0.10 --configuration Release --force --output "%~dp0artifacts" +dotnet build --configuration Release --force /property:Version=0.0.11 +dotnet pack /p:Version=0.0.11 --configuration Release --force --output "%~dp0artifacts"