From c8f922d078e1540244de09ee72ba0c1eb8862068 Mon Sep 17 00:00:00 2001 From: didier amyot Date: Sat, 12 Aug 2023 16:25:43 -0400 Subject: [PATCH] first commit --- .gitignore | 135 +++++++++++++++++++++++ Algorithms.Tests/Algorithms.Tests.csproj | 23 ++++ Algorithms.Tests/UnitTest1.cs | 10 ++ Algorithms.Tests/Usings.cs | 1 + Algorithms/Algorithms.csproj | 10 ++ Algorithms/Program.cs | 2 + FirstProject.sln | 28 +++++ 7 files changed, 209 insertions(+) create mode 100644 .gitignore create mode 100644 Algorithms.Tests/Algorithms.Tests.csproj create mode 100644 Algorithms.Tests/UnitTest1.cs create mode 100644 Algorithms.Tests/Usings.cs create mode 100644 Algorithms/Algorithms.csproj create mode 100644 Algorithms/Program.cs create mode 100644 FirstProject.sln diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a360c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,135 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +[Bb]in/ +[Oo]bj/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.svclog +*.scc + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# Click-Once directory +publish/ + +# Publish Web Output +*.Publish.xml +*.pubxml +*.azurePubxml + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +packages/ +## TODO: If the tool you use requires repositories.config, also uncomment the next line +!packages/repositories.config + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +![Ss]tyle[Cc]op.targets +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml + +*.publishsettings + +# 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 + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + +# ========================= +# Windows detritus +# ========================= + + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac desktop service store files +.DS_Store + +_NCrunch* + diff --git a/Algorithms.Tests/Algorithms.Tests.csproj b/Algorithms.Tests/Algorithms.Tests.csproj new file mode 100644 index 0000000..0baf05a --- /dev/null +++ b/Algorithms.Tests/Algorithms.Tests.csproj @@ -0,0 +1,23 @@ + + + + net7.0 + enable + enable + + false + true + + + + + + + + + + + + + + diff --git a/Algorithms.Tests/UnitTest1.cs b/Algorithms.Tests/UnitTest1.cs new file mode 100644 index 0000000..125c17a --- /dev/null +++ b/Algorithms.Tests/UnitTest1.cs @@ -0,0 +1,10 @@ +namespace Algorithms.Tests; + +[TestClass] +public class UnitTest1 +{ + [TestMethod] + public void TestMethod1() + { + } +} \ No newline at end of file diff --git a/Algorithms.Tests/Usings.cs b/Algorithms.Tests/Usings.cs new file mode 100644 index 0000000..ab67c7e --- /dev/null +++ b/Algorithms.Tests/Usings.cs @@ -0,0 +1 @@ +global using Microsoft.VisualStudio.TestTools.UnitTesting; \ No newline at end of file diff --git a/Algorithms/Algorithms.csproj b/Algorithms/Algorithms.csproj new file mode 100644 index 0000000..f02677b --- /dev/null +++ b/Algorithms/Algorithms.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + + diff --git a/Algorithms/Program.cs b/Algorithms/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/Algorithms/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/FirstProject.sln b/FirstProject.sln new file mode 100644 index 0000000..5acd858 --- /dev/null +++ b/FirstProject.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Algorithms", "Algorithms\Algorithms.csproj", "{17438337-BB9F-4B71-B715-CB7A4056264D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Algorithms.Tests", "Algorithms.Tests\Algorithms.Tests.csproj", "{B4601094-851E-436A-B3E8-D6E93039BB27}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {17438337-BB9F-4B71-B715-CB7A4056264D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {17438337-BB9F-4B71-B715-CB7A4056264D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {17438337-BB9F-4B71-B715-CB7A4056264D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {17438337-BB9F-4B71-B715-CB7A4056264D}.Release|Any CPU.Build.0 = Release|Any CPU + {B4601094-851E-436A-B3E8-D6E93039BB27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B4601094-851E-436A-B3E8-D6E93039BB27}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B4601094-851E-436A-B3E8-D6E93039BB27}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B4601094-851E-436A-B3E8-D6E93039BB27}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal