diff --git a/src/GeneralUpdate.Core/Download/AbstractTask.cs b/src/GeneralUpdate.Core/Download/AbstractTask.cs index ea397eca21de82a942635d195603c58c5fd7354c..dc41688b2e6702cac2731d56b7425fe78c812501 100644 --- a/src/GeneralUpdate.Core/Download/AbstractTask.cs +++ b/src/GeneralUpdate.Core/Download/AbstractTask.cs @@ -221,10 +221,6 @@ namespace GeneralUpdate.Core.Download int readSize = state.Stream.Read(bytes, 0, 1024); while (readSize > 0 && state.IsRangeDownload) { - if (bytesReceived == 47664803) - { - - } if (state == null || state.FileStream == null) break; lock (state.FileStream) { diff --git a/src/GeneralUpdate.Core/GeneralUpdate.Core.csproj b/src/GeneralUpdate.Core/GeneralUpdate.Core.csproj index 2dedc9b518c5ec6ee63d6a5e5da87d4ad0fd0763..fdea76a85371c8e52a3982eec6442673feb67965 100644 --- a/src/GeneralUpdate.Core/GeneralUpdate.Core.csproj +++ b/src/GeneralUpdate.Core/GeneralUpdate.Core.csproj @@ -3,13 +3,13 @@ netstandard2.0 Library $(AssemblyName) - 4.10.12 + 4.10.13 juster.zhu juster.zhu false GeneralUpdate.ico Snipaste_128.png - False + True Copyright © 2022 This section describes how to upgrade client applications. Provides high-performance, low-loss, resume-breakpoint, version-by-version update, binary differential update, incremental update function, configuration file retention update and other features. diff --git a/src/GeneralUpdate.Differential/DifferentialCore.cs b/src/GeneralUpdate.Differential/DifferentialCore.cs index de2a755bf8c8f71c29d3284e1494671e82739349..dcbcec0efaca1535cccdd43f6d901a010f9250f2 100644 --- a/src/GeneralUpdate.Differential/DifferentialCore.cs +++ b/src/GeneralUpdate.Differential/DifferentialCore.cs @@ -197,10 +197,7 @@ namespace GeneralUpdate.Differential #region Private Methods - private void OnCompressProgress(object sender, BaseCompressProgressEventArgs e) - { - if (_compressProgressCallback != null) _compressProgressCallback(sender, e); - } + private void OnCompressProgress(object sender, BaseCompressProgressEventArgs e)=> _compressProgressCallback(sender, e); #endregion Private Methods } diff --git a/src/GeneralUpdate.PacketTool/.gitignore b/src/GeneralUpdate.PacketTool/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..8afdcb6356c3fdc4020ade7b6efd925e2cc06c73 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/.gitignore @@ -0,0 +1,454 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# Tye +.tye/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +## +## Visual studio for Mac +## + + +# globs +Makefile.in +*.userprefs +*.usertasks +config.make +config.status +aclocal.m4 +install-sh +autom4te.cache/ +*.tar.gz +tarballs/ +test-results/ + +# Mac bundle stuff +*.dmg +*.app + +# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# JetBrains Rider +.idea/ +*.sln.iml + +## +## Visual Studio Code +## +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json diff --git a/src/GeneralUpdate.PacketTool/App.axaml b/src/GeneralUpdate.PacketTool/App.axaml new file mode 100644 index 0000000000000000000000000000000000000000..7645fcaefa8302f879a466314cb2e72c1b1c7334 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/App.axaml @@ -0,0 +1,12 @@ + + + + + + + + + diff --git a/src/GeneralUpdate.PacketTool/App.axaml.cs b/src/GeneralUpdate.PacketTool/App.axaml.cs new file mode 100644 index 0000000000000000000000000000000000000000..e558985ef6a3606413f5fc9dc137d9ae6b6a6f06 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/App.axaml.cs @@ -0,0 +1,29 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; +using GeneralUpdate.PacketTool.ViewModels; +using GeneralUpdate.PacketTool.Views; + +namespace GeneralUpdate.PacketTool +{ + public partial class App : Application + { + public override void Initialize() + { + AvaloniaXamlLoader.Load(this); + } + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + desktop.MainWindow = new MainWindow + { + DataContext = new MainWindowViewModel(), + }; + } + + base.OnFrameworkInitializationCompleted(); + } + } +} diff --git a/src/GeneralUpdate.PacketTool/Assets/avalonia-logo.ico b/src/GeneralUpdate.PacketTool/Assets/avalonia-logo.ico new file mode 100644 index 0000000000000000000000000000000000000000..da8d49ff9b94e52778f5324a1b87dd443a698b57 Binary files /dev/null and b/src/GeneralUpdate.PacketTool/Assets/avalonia-logo.ico differ diff --git a/src/GeneralUpdate.PacketTool/GeneralUpdate.PacketTool.csproj b/src/GeneralUpdate.PacketTool/GeneralUpdate.PacketTool.csproj new file mode 100644 index 0000000000000000000000000000000000000000..389dafd176acff1ca0a01e75eb92db73a6a9ab22 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/GeneralUpdate.PacketTool.csproj @@ -0,0 +1,39 @@ + + + WinExe + net6.0 + enable + + copyused + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/GeneralUpdate.PacketTool/Program.cs b/src/GeneralUpdate.PacketTool/Program.cs new file mode 100644 index 0000000000000000000000000000000000000000..8b4cb2572957269bd7839cb983bb43910d607c43 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/Program.cs @@ -0,0 +1,24 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.ReactiveUI; +using System; + +namespace GeneralUpdate.PacketTool +{ + internal class Program + { + // Initialization code. Don't use any Avalonia, third-party APIs or any + // SynchronizationContext-reliant code before AppMain is called: things aren't initialized + // yet and stuff might break. + [STAThread] + public static void Main(string[] args) => BuildAvaloniaApp() + .StartWithClassicDesktopLifetime(args); + + // Avalonia configuration, don't remove; also used by visual designer. + public static AppBuilder BuildAvaloniaApp() + => AppBuilder.Configure() + .UsePlatformDetect() + .LogToTrace() + .UseReactiveUI(); + } +} diff --git a/src/GeneralUpdate.PacketTool/ViewLocator.cs b/src/GeneralUpdate.PacketTool/ViewLocator.cs new file mode 100644 index 0000000000000000000000000000000000000000..20c3c06a30d688f3bd12f638cb5ea8022f055dff --- /dev/null +++ b/src/GeneralUpdate.PacketTool/ViewLocator.cs @@ -0,0 +1,30 @@ +using Avalonia.Controls; +using Avalonia.Controls.Templates; +using GeneralUpdate.PacketTool.ViewModels; +using System; + +namespace GeneralUpdate.PacketTool +{ + public class ViewLocator : IDataTemplate + { + public IControl Build(object data) + { + var name = data.GetType().FullName!.Replace("ViewModel", "View"); + var type = Type.GetType(name); + + if (type != null) + { + return (Control)Activator.CreateInstance(type)!; + } + else + { + return new TextBlock { Text = "Not Found: " + name }; + } + } + + public bool Match(object data) + { + return data is ViewModelBase; + } + } +} diff --git a/src/GeneralUpdate.PacketTool/ViewModels/MainWindowViewModel.cs b/src/GeneralUpdate.PacketTool/ViewModels/MainWindowViewModel.cs new file mode 100644 index 0000000000000000000000000000000000000000..6222eb336b3664315c93d2bf7b37d8578f76b035 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/ViewModels/MainWindowViewModel.cs @@ -0,0 +1,73 @@ +using Avalonia.Controls; +using GeneralUpdate.Differential; +using GeneralUpdate.PacketTool.Views; +using ReactiveUI; +using System; +using System.IO; +using System.Reactive; +using System.Threading.Tasks; + +namespace GeneralUpdate.PacketTool.ViewModels +{ + public class MainWindowViewModel : ViewModelBase + { + private string sourcePath, targetPath, patchPath,infoMessage; + public ReactiveCommand BuildCommand { get; } + public ReactiveCommand SelectFolderCommand { get; } + public string SourcePath { get => sourcePath; set => this.RaiseAndSetIfChanged(ref sourcePath, value); } + public string TargetPath { get => targetPath; set => this.RaiseAndSetIfChanged(ref targetPath, value); } + public string PatchPath { get => patchPath; set => this.RaiseAndSetIfChanged(ref patchPath, value); } + public string InfoMessage { get => infoMessage; set => this.RaiseAndSetIfChanged(ref infoMessage,value); } + + public MainWindowViewModel() + { + BuildCommand = ReactiveCommand.Create(BuildPacketAction); + SelectFolderCommand = ReactiveCommand.Create(SelectFolderAction); + } + + private async void SelectFolderAction(object obj) + { + var button = obj as Button; + var dialog = new OpenFolderDialog(); + var result = await dialog.ShowAsync(MainWindow.Instance); + if (result == null || button == null) return; + switch (button.Name) + { + case "BtnSource": + SourcePath = result; + break; + case "BtnTarget": + TargetPath = result; + break; + case "BtnPatch": + PatchPath = result; + break; + } + } + + private void BuildPacketAction() + { + if (string.IsNullOrEmpty(SourcePath) || string.IsNullOrEmpty(TargetPath) || string.IsNullOrEmpty(PatchPath) || + !Directory.Exists(SourcePath) || !Directory.Exists(TargetPath) || !Directory.Exists(PatchPath)) + { + InfoMessage += "The path is not set or the folder does not exist !" + "\r\n"; + return; + } + Task.Run(async () => + { + try + { + await DifferentialCore.Instance.Clean(SourcePath, TargetPath, PatchPath, (sender, args) => + { + InfoMessage += $"{args.Name} - {args.Path}" + "\r\n"; + }); + InfoMessage += $" Build succeeded : { TargetPath } ." + "\r\n"; + } + catch (Exception ex) + { + InfoMessage += $" Build failed : { TargetPath } , Error : { ex.Message } !" + "\r\n"; + } + }); + } + } +} diff --git a/src/GeneralUpdate.PacketTool/ViewModels/ViewModelBase.cs b/src/GeneralUpdate.PacketTool/ViewModels/ViewModelBase.cs new file mode 100644 index 0000000000000000000000000000000000000000..51165664b14b204dc77b87b9a360e8c4e9ae6daa --- /dev/null +++ b/src/GeneralUpdate.PacketTool/ViewModels/ViewModelBase.cs @@ -0,0 +1,11 @@ +using ReactiveUI; +using System; +using System.Collections.Generic; +using System.Text; + +namespace GeneralUpdate.PacketTool.ViewModels +{ + public class ViewModelBase : ReactiveObject + { + } +} diff --git a/src/GeneralUpdate.PacketTool/Views/MainWindow.axaml b/src/GeneralUpdate.PacketTool/Views/MainWindow.axaml new file mode 100644 index 0000000000000000000000000000000000000000..18a4dab7667afbe55a92b981ef06bd960bef638c --- /dev/null +++ b/src/GeneralUpdate.PacketTool/Views/MainWindow.axaml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/GeneralUpdate.PacketTool/Views/MainWindow.axaml.cs b/src/GeneralUpdate.PacketTool/Views/MainWindow.axaml.cs new file mode 100644 index 0000000000000000000000000000000000000000..10acc46f557983cd41bb8d9dd788a3922e0b2461 --- /dev/null +++ b/src/GeneralUpdate.PacketTool/Views/MainWindow.axaml.cs @@ -0,0 +1,15 @@ +using Avalonia.Controls; + +namespace GeneralUpdate.PacketTool.Views +{ + public partial class MainWindow : Window + { + public static MainWindow Instance; + + public MainWindow() + { + InitializeComponent(); + Instance = this; + } + } +} diff --git a/src/GeneralUpdate.PacketTool/imgs/GeneralUpdate.ico b/src/GeneralUpdate.PacketTool/imgs/GeneralUpdate.ico new file mode 100644 index 0000000000000000000000000000000000000000..7cb4a86c1bbf84baf7b783ab21b4a7e1cf700455 Binary files /dev/null and b/src/GeneralUpdate.PacketTool/imgs/GeneralUpdate.ico differ diff --git a/src/GeneralUpdate.PacketTool/imgs/GeneralUpdate.png b/src/GeneralUpdate.PacketTool/imgs/GeneralUpdate.png new file mode 100644 index 0000000000000000000000000000000000000000..c05a526caeda732622b66576eaa848bd27467b1b Binary files /dev/null and b/src/GeneralUpdate.PacketTool/imgs/GeneralUpdate.png differ diff --git a/src/GeneralUpdate.sln b/src/GeneralUpdate.sln index 16e45f11cbc0023e0cda90618b16f29d5ef57815..7b2f147a73e57af72ed13f371c2f6cf653f331a6 100644 --- a/src/GeneralUpdate.sln +++ b/src/GeneralUpdate.sln @@ -31,7 +31,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoUpdate.ClientCore", "Au EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GeneralUpdate.Differential", "GeneralUpdate.Differential\GeneralUpdate.Differential.csproj", "{40BDA496-7614-4213-92D0-3B1B187675D3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoUpdate.Differential", "AutoUpdate.Differential\AutoUpdate.Differential.csproj", "{F5982920-F5A9-4949-90D0-0035FFFAF622}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoUpdate.Differential", "AutoUpdate.Differential\AutoUpdate.Differential.csproj", "{F5982920-F5A9-4949-90D0-0035FFFAF622}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{4674FD90-9D75-4777-B6A6-40665D737D7A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeneralUpdate.PacketTool", "GeneralUpdate.PacketTool\GeneralUpdate.PacketTool.csproj", "{7A8C3D10-44BE-4607-A1DA-445C12E2073C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -91,6 +95,10 @@ Global {F5982920-F5A9-4949-90D0-0035FFFAF622}.Debug|Any CPU.Build.0 = Debug|Any CPU {F5982920-F5A9-4949-90D0-0035FFFAF622}.Release|Any CPU.ActiveCfg = Release|Any CPU {F5982920-F5A9-4949-90D0-0035FFFAF622}.Release|Any CPU.Build.0 = Release|Any CPU + {7A8C3D10-44BE-4607-A1DA-445C12E2073C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A8C3D10-44BE-4607-A1DA-445C12E2073C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A8C3D10-44BE-4607-A1DA-445C12E2073C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A8C3D10-44BE-4607-A1DA-445C12E2073C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -109,6 +117,7 @@ Global {D18CADC0-FB28-4B88-BCA2-D531C1F9691A} = {5836AD39-6293-4CFE-AD7D-298C167973DB} {40BDA496-7614-4213-92D0-3B1B187675D3} = {91F059E6-7AD3-4FB7-9604-30A7849C6EFF} {F5982920-F5A9-4949-90D0-0035FFFAF622} = {5836AD39-6293-4CFE-AD7D-298C167973DB} + {7A8C3D10-44BE-4607-A1DA-445C12E2073C} = {4674FD90-9D75-4777-B6A6-40665D737D7A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {A7B2D0AD-E000-4749-BAC0-FF21B9872805} diff --git a/src/Tool/Program.cs b/src/Tool/Program.cs new file mode 100644 index 0000000000000000000000000000000000000000..b258f517e5ee0bb2b4f5c5cad641a27b4187ed11 --- /dev/null +++ b/src/Tool/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace Tool +{ + internal class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + } + } +} diff --git a/src/Tool/Tool.csproj b/src/Tool/Tool.csproj new file mode 100644 index 0000000000000000000000000000000000000000..2082704286ba4b078fd5f25bdb8e3029bf4ea824 --- /dev/null +++ b/src/Tool/Tool.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + +