Added ExceptionHandler and NoUpdateAvalibleHandler

This commit is contained in:
Stone-Red-Code
2021-06-26 17:11:10 +02:00
parent 4a567db427
commit f06d505f6c
82 changed files with 11901 additions and 181 deletions
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>AlwaysUpToDate_Test</RootNamespace>
<StartupObject>AlwaysUpToDate_Test.Program</StartupObject>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>2.0.0.0</FileVersion>
<PackageTags></PackageTags>
<Authors>Stone_Red</Authors>
<Company>Stone_Red</Company>
@@ -16,5 +16,4 @@
<ItemGroup>
<ProjectReference Include="..\AlwaysUpToDate\AlwaysUpToDate.csproj" />
</ItemGroup>
</Project>
</Project>
+12 -3
View File
@@ -1,23 +1,27 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using AlwaysUpToDate;
namespace AlwaysUpToDate_Test
{
internal class Program
{
static private Updater updater = new Updater(new TimeSpan(0, 0, 1), "https://raw.githubusercontent.com/Stone-Red-Code/Test/main/test.json", "./", false);
static private Updater updater = new Updater(new TimeSpan(0, 0, 1), "https://raw.githubusercontent.com/Stone-Red-Code/Test/main/test.json", "./", true);
private static void Main(string[] args)
private async static Task Main(string[] args)
{
updater.Start();
updater.ProgressChanged += Updater_ProgressChanged;
updater.UpdateAvailible += Updater_UpdateAvailible;
updater.NoUpdateAvailible += Updater_NoUpdateAvailible;
Console.ReadLine();
await Task.Delay(-1);
}
private static void Updater_UpdateAvailible(string version, string additionalInformation)
{
updater.Stop();
Console.WriteLine("New Update avalible: " + version);
Console.WriteLine("Do you want to install the new update? (y/n)");
@@ -31,5 +35,10 @@ namespace AlwaysUpToDate_Test
{
Console.WriteLine($"{totalBytesDownloaded}/{totalFileSize} {progressPercentage}%");
}
private static void Updater_NoUpdateAvailible()
{
Console.WriteLine("You are up to date");
}
}
}
@@ -8,7 +8,7 @@
".NETCoreApp,Version=v3.1": {
"AlwaysUpToDate-Test/1.0.0": {
"dependencies": {
"AlwaysUpToDate": "1.0.0"
"AlwaysUpToDate": "1.0.0.2"
},
"runtime": {
"AlwaysUpToDate-Test.dll": {}
@@ -42,7 +42,7 @@
}
}
},
"AlwaysUpToDate/1.0.0": {
"AlwaysUpToDate/1.0.0.2": {
"dependencies": {
"System.Text.Json": "5.0.2"
},
@@ -79,7 +79,7 @@
"path": "system.text.json/5.0.2",
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
},
"AlwaysUpToDate/1.0.0": {
"AlwaysUpToDate/1.0.0.2": {
"type": "project",
"serviceable": false,
"sha512": ""
@@ -3,7 +3,8 @@
"additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages",
"C:\\Microsoft\\Xamarin\\NuGet"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
]
}
}
@@ -8,7 +8,7 @@
".NETCoreApp,Version=v3.1": {
"AlwaysUpToDate-Test/1.0.0": {
"dependencies": {
"AlwaysUpToDate": "1.0.0.2"
"AlwaysUpToDate": "1.0.0.4"
},
"runtime": {
"AlwaysUpToDate-Test.dll": {}
@@ -42,7 +42,7 @@
}
}
},
"AlwaysUpToDate/1.0.0.2": {
"AlwaysUpToDate/1.0.0.4": {
"dependencies": {
"System.Text.Json": "5.0.2"
},
@@ -79,7 +79,7 @@
"path": "system.text.json/5.0.2",
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
},
"AlwaysUpToDate/1.0.0.2": {
"AlwaysUpToDate/1.0.0.4": {
"type": "project",
"serviceable": false,
"sha512": ""
@@ -3,7 +3,7 @@
"additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages",
"C:\\Microsoft\\Xamarin\\NuGet"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}
@@ -0,0 +1,453 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>AutoUpdater.NET</name>
</assembly>
<members>
<member name="T:AutoUpdaterDotNET.RemindLaterFormat">
<summary>
Enum representing the remind later time span.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.RemindLaterFormat.Minutes">
<summary>
Represents the time span in minutes.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.RemindLaterFormat.Hours">
<summary>
Represents the time span in hours.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.RemindLaterFormat.Days">
<summary>
Represents the time span in days.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.Mode">
<summary>
Enum representing the effect of Mandatory flag.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.Mode.Normal">
<summary>
In this mode, it ignores Remind Later and Skip values set previously and hide both buttons.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.Mode.Forced">
<summary>
In this mode, it won't show close button in addition to Normal mode behaviour.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.Mode.ForcedDownload">
<summary>
In this mode, it will start downloading and applying update without showing standarad update dialog in addition to Forced mode behaviour.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.AutoUpdater">
<summary>
Main class that lets you auto update applications by setting some static fields and executing its Start method.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.DownloadPath">
<summary>
Set it to folder path where you want to download the update file. If not provided then it defaults to Temp folder.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.AppTitle">
<summary>
Set the Application Title shown in Update dialog. Although AutoUpdater.NET will get it automatically, you can set this property if you like to give custom Title.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.AppCastURL">
<summary>
URL of the xml file that contains information about latest version of the application.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.OpenDownloadPage">
<summary>
Opens the download URL in default browser if true. Very usefull if you have portable application.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.BasicAuthDownload">
<summary>
Set Basic Authentication credentials required to download the file.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.BasicAuthXML">
<summary>
Set Basic Authentication credentials required to download the XML file.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.ShowSkipButton">
<summary>
If this is true users can see the skip button.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.ShowRemindLaterButton">
<summary>
If this is true users can see the Remind Later button.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.LetUserSelectRemindLater">
<summary>
If this is true users see dialog where they can set remind later interval otherwise it will take the interval from
RemindLaterAt and RemindLaterTimeSpan fields.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.RemindLaterAt">
<summary>
Remind Later interval after user should be reminded of update.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.ReportErrors">
<summary>
AutoUpdater.NET will report errors if this is true.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.RunUpdateAsAdmin">
<summary>
Set this to false if your application doesn't need administrator privileges to replace the old version.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.Mandatory">
<summary>
Set this to true if you want to ignore previously assigned Remind Later and Skip settings. It will also hide Remind Later and Skip buttons.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.UpdateMode">
<summary>
Set this to any of the available modes to change behaviour of the Mandatory flag.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.Proxy">
<summary>
Set Proxy server to use for all the web requests in AutoUpdater.NET.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.RemindLaterTimeSpan">
<summary>
Set if RemindLaterAt interval should be in Minutes, Hours or Days.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.AutoUpdater.ApplicationExitEventHandler">
<summary>
A delegate type to handle how to exit the application after update is downloaded.
</summary>
</member>
<member name="E:AutoUpdaterDotNET.AutoUpdater.ApplicationExitEvent">
<summary>
An event that developers can use to exit the application gracefully.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.AutoUpdater.CheckForUpdateEventHandler">
<summary>
A delegate type for hooking up update notifications.
</summary>
<param name="args">An object containing all the parameters recieved from AppCast XML file. If there will be an error while looking for the XML file then this object will be null.</param>
</member>
<member name="E:AutoUpdaterDotNET.AutoUpdater.CheckForUpdateEvent">
<summary>
An event that clients can use to be notified whenever the update is checked.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.AutoUpdater.ParseUpdateInfoHandler">
<summary>
A delegate type for hooking up parsing logic.
</summary>
<param name="args">An object containing the AppCast file received from server.</param>
</member>
<member name="E:AutoUpdaterDotNET.AutoUpdater.ParseUpdateInfoEvent">
<summary>
An event that clients can use to be notified whenever the AppCast file needs parsing.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.AutoUpdater.UpdateFormSize">
<summary>
Set if you want the default update form to have a different size.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.AutoUpdater.Start(System.Reflection.Assembly)">
<summary>
Start checking for new version of application and display dialog to the user if update is available.
</summary>
<param name="myAssembly">Assembly to use for version checking.</param>
</member>
<member name="M:AutoUpdaterDotNET.AutoUpdater.Start(System.String,System.Reflection.Assembly)">
<summary>
Start checking for new version of application and display dialog to the user if update is available.
</summary>
<param name="appCast">URL of the xml file that contains information about latest version of the application.</param>
<param name="myAssembly">Assembly to use for version checking.</param>
</member>
<member name="M:AutoUpdaterDotNET.AutoUpdater.ShowUpdateForm">
<summary>
Shows standard update dialog.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.AutoUpdater.Exit">
<summary>
Detects and exits all instances of running assembly, including current.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.AutoUpdater.DownloadUpdate">
<summary>
Opens the Download window that download the update and execute the installer when download completes.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.UpdateInfoEventArgs">
<summary>
Object of this class gives you all the details about the update useful in handling the update logic yourself.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.IsUpdateAvailable">
<summary>
If new update is available then returns true otherwise false.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.DownloadURL">
<summary>
Download URL of the update file.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.ChangelogURL">
<summary>
URL of the webpage specifying changes in the new update.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.CurrentVersion">
<summary>
Returns newest version of the application available to download.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.InstalledVersion">
<summary>
Returns version of the application currently installed on the user's PC.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.Mandatory">
<summary>
Shows if the update is required or optional.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.UpdateMode">
<summary>
Defines how the Mandatory flag should work.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.InstallerArgs">
<summary>
Command line arguments used by Installer.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.Checksum">
<summary>
Checksum of the update file.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.HashingAlgorithm">
<summary>
Hash algorithm that generated the checksum provided in the XML file.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.ParseUpdateInfoEventArgs">
<summary>
An object of this class contains the AppCast file received from server.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.ParseUpdateInfoEventArgs.RemoteData">
<summary>
Remote data received from the AppCast file.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.ParseUpdateInfoEventArgs.UpdateInfo">
<summary>
Set this object with values received from the AppCast file.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.ParseUpdateInfoEventArgs.#ctor(System.String)">
<summary>
An object containing the AppCast file received from server.
</summary>
<param name="remoteData">A string containing remote data received from the AppCast file.</param>
</member>
<member name="T:AutoUpdaterDotNET.BasicAuthentication">
<summary>
Provides Basic Authentication header for web request.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.BasicAuthentication.#ctor(System.String,System.String)">
<summary>
Initializes credentials for Basic Authentication.
</summary>
<param name="username">Username to use for Basic Authentication</param>
<param name="password">Password to use for Basic Authentication</param>
</member>
<member name="M:AutoUpdaterDotNET.BasicAuthentication.ToString">
<inheritdoc />
</member>
<member name="F:AutoUpdaterDotNET.DownloadUpdateDialog.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.DownloadUpdateDialog.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:AutoUpdaterDotNET.DownloadUpdateDialog.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.MyWebClient">
<inheritdoc />
</member>
<member name="F:AutoUpdaterDotNET.MyWebClient.ResponseUri">
<summary>
Response Uri after any redirects.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.MyWebClient.GetWebResponse(System.Net.WebRequest,System.IAsyncResult)">
<inheritdoc />
</member>
<member name="F:AutoUpdaterDotNET.RemindLaterForm.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.RemindLaterForm.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:AutoUpdaterDotNET.RemindLaterForm.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="F:AutoUpdaterDotNET.UpdateForm.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:AutoUpdaterDotNET.UpdateForm.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:AutoUpdaterDotNET.UpdateForm.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:AutoUpdaterDotNET.Properties.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.clock_go">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.clock_go_32">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.clock_play">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.download">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.download_32">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.DownloadSpeedMessage">
<summary>
Looks up a localized string similar to Downloading at {0}/s.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.FileIntegrityCheckFailedCaption">
<summary>
Looks up a localized string similar to Checksum differs.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.FileIntegrityCheckFailedMessage">
<summary>
Looks up a localized string similar to File integrity check failed and reported some errors..
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.hand_point">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.HashAlgorithmNotSupportedCaption">
<summary>
Looks up a localized string similar to Unsupported Hash Algorithm.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.HashAlgorithmNotSupportedMessage">
<summary>
Looks up a localized string similar to Hash algorithm provided in the XML file is not supported..
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.update">
<summary>
Looks up a localized resource of type System.Drawing.Bitmap.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateCheckFailedCaption">
<summary>
Looks up a localized string similar to Update Check Failed.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateCheckFailedMessage">
<summary>
Looks up a localized string similar to There is a problem reaching update server. Please check your internet connection and try again later..
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateUnavailableCaption">
<summary>
Looks up a localized string similar to Update Unavailable.
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateUnavailableMessage">
<summary>
Looks up a localized string similar to There is no update available. Please try again later..
</summary>
</member>
<member name="P:AutoUpdaterDotNET.Properties.Resources.ZipExtractor">
<summary>
Looks up a localized resource of type System.Byte[].
</summary>
</member>
</members>
</doc>
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
Testing new file in new folder.
@@ -14,18 +14,19 @@
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate-Test\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
@@ -57,23 +58,17 @@
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.NETCore.App.Host.win-x64",
"version": "[3.1.13, 3.1.13]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
},
"C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj": {
"version": "1.0.0.2",
"version": "1.0.0.4",
"restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj",
"projectName": "AlwaysUpToDate",
@@ -82,18 +77,19 @@
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
@@ -132,7 +128,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
}
@@ -5,12 +5,13 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.8.1</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="$([MSBuild]::EnsureTrailingSlash($(NuGetPackageFolders)))" />
<SourceRoot Include="C:\Users\David\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
@@ -11,13 +11,13 @@
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("AlwaysUpToDate-Test")]
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("AlwaysUpToDate-Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("AlwaysUpToDate-Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
@@ -1 +1 @@
41cd0daaf2ff1015abe08afd01a6caed13f77b4d
da1ab41b008bcd4dcff766a53c1aef75d94dc828
@@ -13,11 +13,11 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("AlwaysUpToDate-Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("AlwaysUpToDate-Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
@@ -1 +1 @@
220ae1cf5717286e9ea071dc72640aea7aaa7ede
a28045461202f6924fb2ea0703ad1c06bfbde8b3
@@ -9,7 +9,6 @@ C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin\Release\netcoreapp3.1\System.Text.Json.dll
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin\Release\netcoreapp3.1\AlwaysUpToDate.dll
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin\Release\netcoreapp3.1\AlwaysUpToDate.pdb
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.csprojAssemblyReference.cache
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.csproj.CoreCompileInputs.cache
@@ -17,3 +16,4 @@ C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.dll
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.pdb
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.genruntimeconfig.cache
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.csproj.AssemblyReference.cache
+9 -14
View File
@@ -33,7 +33,7 @@
"lib/netcoreapp3.0/System.Text.Json.dll": {}
}
},
"AlwaysUpToDate/1.0.0.2": {
"AlwaysUpToDate/1.0.0.4": {
"type": "project",
"framework": ".NETStandard,Version=v2.1",
"dependencies": {
@@ -129,7 +129,7 @@
"version.txt"
]
},
"AlwaysUpToDate/1.0.0.2": {
"AlwaysUpToDate/1.0.0.4": {
"type": "project",
"path": "../AlwaysUpToDate/AlwaysUpToDate.csproj",
"msbuildProject": "../AlwaysUpToDate/AlwaysUpToDate.csproj"
@@ -137,12 +137,12 @@
},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": [
"AlwaysUpToDate >= 1.0.0.2"
"AlwaysUpToDate >= 1.0.0.4"
]
},
"packageFolders": {
"C:\\Users\\David\\.nuget\\packages\\": {},
"C:\\Microsoft\\Xamarin\\NuGet\\": {}
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
@@ -154,18 +154,19 @@
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate-Test\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
@@ -197,18 +198,12 @@
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.NETCore.App.Host.win-x64",
"version": "[3.1.13, 3.1.13]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
}
+2 -3
View File
@@ -1,13 +1,12 @@
{
"version": 2,
"dgSpecHash": "h7cYyI/TV+CCEcTRZE632SBkNMDHVVkhARybMWUxxfebher2R2CBkRSQ+lToUnAxoLUV2REfEELT2Cq4ohNLhw==",
"dgSpecHash": "erKGQQBRG/qpBJ/DeYanTrhnaE1OJBGbxzjzmGzKisWWCJVvRN/bislyQSzGDFKOIED6JTcx3WnTukz68rcZng==",
"success": true,
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate-Test\\AlwaysUpToDate-Test.csproj",
"expectedPackageFiles": [
"C:\\Users\\David\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
"C:\\Users\\David\\.nuget\\packages\\system.text.encodings.web\\5.0.1\\system.text.encodings.web.5.0.1.nupkg.sha512",
"C:\\Users\\David\\.nuget\\packages\\system.text.json\\5.0.2\\system.text.json.5.0.2.nupkg.sha512",
"C:\\Users\\David\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\3.1.13\\microsoft.netcore.app.host.win-x64.3.1.13.nupkg.sha512"
"C:\\Users\\David\\.nuget\\packages\\system.text.json\\5.0.2\\system.text.json.5.0.2.nupkg.sha512"
],
"logs": []
}