diff --git a/.gitignore b/.gitignore index 7a2f8368..184e6003 100644 --- a/.gitignore +++ b/.gitignore @@ -1,202 +1,203 @@ -## 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/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ -build_output/ -.build/ - -# Roslyn cache directories -*.ide/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -#NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -*_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 -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding addin-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml - -# 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 -# TODO: 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 - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# If using the old MSBuild-Integrated Package Restore, uncomment this: -#!**/packages/repositories.config - -# Windows Azure Build Output -csx/ -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -sql/ -*.Cache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ - -# 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 -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# ========================= -# Operating System Files -# ========================= - -# OSX -# ========================= - +## 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/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ +build_output/ +.build/ + +# Roslyn cache directories +*.ide/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +#NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +*_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 +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding addin-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml + +# 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 +# TODO: 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 + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# If using the old MSBuild-Integrated Package Restore, uncomment this: +#!**/packages/repositories.config + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ + +# 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 +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# ========================= +# Operating System Files +# ========================= + +# OSX +# ========================= + .DS_Store .AppleDouble .LSOverride # Icon must end with two \r -Icon +Icon + # Thumbnails ._* @@ -211,22 +212,25 @@ Icon Network Trash Folder Temporary Items .apdisk - -# Windows -# ========================= - -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msm -*.msp + +# Windows +# ========================= + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# vscode +.vs/ \ No newline at end of file diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config deleted file mode 100644 index 67f8ea04..00000000 --- a/.nuget/NuGet.Config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe deleted file mode 100644 index 9ca66594..00000000 Binary files a/.nuget/NuGet.exe and /dev/null differ diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets deleted file mode 100644 index 19a142b3..00000000 --- a/.nuget/NuGet.targets +++ /dev/null @@ -1,112 +0,0 @@ - - - - $(MSBuildProjectDirectory)\..\ - - false - - false - - true - - true - - - - - - - - - $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) - - - - $(SolutionDir).nuget - - - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - - - $(MSBuildProjectDirectory)\packages.config - $(PackagesProjectConfig) - - - - $(NuGetToolsPath)\NuGet.exe - @(PackageSource) - "$(NuGetExePath)" - mono --runtime=v4.0.30319 "$(NuGetExePath)" - $(TargetDir.Trim('\\')) - -RequireConsent - -NonInteractive - "$(SolutionDir) " - "$(SolutionDir)" - - $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) - $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols - - - RestorePackages; - $(BuildDependsOn); - - - - $(BuildDependsOn); - BuildPackage; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.nuget/packages.config b/.nuget/packages.config deleted file mode 100644 index 9ef0a3c4..00000000 --- a/.nuget/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/GildedRose.sln b/GildedRose.sln index 52179edc..aafb3df1 100644 --- a/GildedRose.sln +++ b/GildedRose.sln @@ -1,30 +1,19 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30320.27 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GildedRose.Tests", "src\GildedRose.Tests\GildedRose.Tests.csproj", "{CD4715A2-532E-4C74-BC40-36EE64F61FCA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{21A00AD6-7CA9-4991-98A7-0E9BD6BDFF32}" - ProjectSection(SolutionItems) = preProject - .nuget\NuGet.Config = .nuget\NuGet.Config - .nuget\NuGet.targets = .nuget\NuGet.targets - .nuget\packages.config = .nuget\packages.config - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E9B2B641-EF32-484B-8255-AA7AE68231D5}" ProjectSection(SolutionItems) = preProject MIT-LICENSE.txt = MIT-LICENSE.txt README.md = README.md EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".build", ".build", "{B8B88B1C-EDE3-463E-AE8D-21A915B514F5}" - ProjectSection(SolutionItems) = preProject - build.bat = build.bat - tasks.ps1 = tasks.ps1 - EndProjectSection +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{829221A4-ACDD-4E9D-95B3-FD2323AF98D2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GildedRose.Console", "src\GildedRose.Console\GildedRose.Console.csproj", "{22A2292D-0D34-41DC-A01E-B6782EC137CB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GildedRose.Console", "src\GildedRose.Console\GildedRose.Console.csproj", "{F2E879A9-7F1C-4C34-AB0D-2662F9815046}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GildedRose.Tests", "src\GildedRose.Tests\GildedRose.Tests.csproj", "{7B36F5D2-48D7-49BB-A384-5B802DCBE23E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -32,16 +21,23 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {CD4715A2-532E-4C74-BC40-36EE64F61FCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CD4715A2-532E-4C74-BC40-36EE64F61FCA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CD4715A2-532E-4C74-BC40-36EE64F61FCA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CD4715A2-532E-4C74-BC40-36EE64F61FCA}.Release|Any CPU.Build.0 = Release|Any CPU - {F2E879A9-7F1C-4C34-AB0D-2662F9815046}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F2E879A9-7F1C-4C34-AB0D-2662F9815046}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F2E879A9-7F1C-4C34-AB0D-2662F9815046}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F2E879A9-7F1C-4C34-AB0D-2662F9815046}.Release|Any CPU.Build.0 = Release|Any CPU + {22A2292D-0D34-41DC-A01E-B6782EC137CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {22A2292D-0D34-41DC-A01E-B6782EC137CB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {22A2292D-0D34-41DC-A01E-B6782EC137CB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {22A2292D-0D34-41DC-A01E-B6782EC137CB}.Release|Any CPU.Build.0 = Release|Any CPU + {7B36F5D2-48D7-49BB-A384-5B802DCBE23E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B36F5D2-48D7-49BB-A384-5B802DCBE23E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B36F5D2-48D7-49BB-A384-5B802DCBE23E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B36F5D2-48D7-49BB-A384-5B802DCBE23E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F34FDAFD-7A14-4BAB-B80E-F6E74B58EAE3} + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {22A2292D-0D34-41DC-A01E-B6782EC137CB} = {829221A4-ACDD-4E9D-95B3-FD2323AF98D2} + {7B36F5D2-48D7-49BB-A384-5B802DCBE23E} = {829221A4-ACDD-4E9D-95B3-FD2323AF98D2} + EndGlobalSection EndGlobal diff --git a/README.md b/README.md index 21beca9f..037935ed 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ Quality is 80 and it never alters. ## Getting Started -Clone the repository. Run build.bat from Powershell. If you see +Clone the repository. Run `dotnet test`. If you see output similar to the following screenshot, you are ready to start refactoring. -![alt text](images/build_output.png "Good Build Output") +![Test Run Successful. Total Tests: 1. Passed: 1 ](images/build_output.png "dotnet test output") ## Who, What, Why? Who: [@TerryHughes](https://twitter.com/TerryHughes), [@NotMyself](https://twitter.com/NotMyself) diff --git a/build.bat b/build.bat deleted file mode 100644 index edcce145..00000000 --- a/build.bat +++ /dev/null @@ -1,57 +0,0 @@ -@ECHO OFF - -powershell -NoProfile -ExecutionPolicy Unrestricted -Command ^ - -$ErrorActionPreference = 'Stop'; ^ -$WorkingDir = Convert-Path .; ^ -$BuildPackageName = 'psake.net'; ^ -$PSMajorVersion = 3; ^ - -if ($PSVersionTable.PSVersion.Major -lt $PSMajorVersion) { Write-Host -ForegroundColor Red "ERROR: The script cannot be run because it requires Windows PowerShell version 3.0 or greater"; exit 1 }; ^ - -function Get-PackageDir() { ^ - param([xml]$packagesXml, [string]$packagesDir, [string]$packageName); ^ - ForEach ($package in $packagesXml.packages.package) { ^ - if ($package.id -eq $packageName) { return Join-Path $packagesDir ($package.id + '.' + $package.version) } ^ - } else { ^ - Write-Host -ForegroundColor Red "ERROR: Cannot find '$packageName' package"; ^ - exit 1; ^ - }; ^ -}; ^ - -function Test-LastExitCode { if ($LastExitCode -ne 0 -and $LastExitCode) { Write-Host "ExitCode: $LastExitCode" -ForegroundColor Red; exit $LastExitCode } }; ^ - -$NuGet = Join-Path $WorkingDir '.nuget\NuGet.exe'; ^ -if (-not (Test-Path $NuGet)) { ^ - Write-Host 'Downloading NuGet.exe' -ForegroundColor Cyan; ^ - $(New-Object System.Net.WebClient).DownloadFile('https://www.nuget.org/nuget.exe', $NuGet); ^ -}; ^ - -$PackagesDir = cmd /c "$NuGet" config RepositoryPath -AsPath; ^ -if ($PackagesDir -eq '"WARNING: Key ''RepositoryPath'' not found.'") { Write-Host -ForegroundColor Red "ERROR: Cannot find 'RepositoryPath' key in NuGet.config"; exit 1 }; ^ - -$PackagesConfig = Join-Path $WorkingDir '.nuget\packages.config'; ^ -if (-not (Test-Path $PackagesConfig)) { Write-Host -ForegroundColor Red "ERROR: Cannot find solution 'packages.config'"; exit 1 }; ^ -[xml]$PackagesXml = Get-Content $PackagesConfig; ^ - -Write-Host "Restoring NuGet packages" -ForegroundColor Cyan; ^ -cmd /c $NuGet restore; ^ -Test-LastExitCode; ^ - -Write-Host "Atempting to resolve semantic version" -ForegroundColor Cyan; ^ -$GitVersion = Out-String -InputObject (cmd /c (Join-Path (Get-PackageDir $PackagesXml $PackagesDir 'GitVersion.CommandLine') 'tools\GitVersion.exe')); ^ -try { Write-Host "Semantic version: " $(ConvertFrom-Json -InputObject $GitVersion).SemVer } catch [System.Exception] { Write-Host -ForegroundColor Red $GitVersion; exit 1 }; ^ - -$Psake = Join-Path (Get-PackageDir $PackagesXml $PackagesDir 'psake') 'tools\psake.psm1'; ^ -if (Test-Path $(Join-Path $WorkingDir ($BuildPackageName + '\Functions.psm1'))) { ^ - $Functions = Join-Path $WorkingDir ($BuildPackageName + '\Functions.psm1') ^ -} else { ^ - $Functions = Join-Path (Get-PackageDir $PackagesXml $PackagesDir $BuildPackageName) '\Functions.psm1'; ^ -}; ^ - -Import-Module "$Psake", "$Functions"; ^ -Write-Host 'Invoking psake' -ForegroundColor Cyan; ^ -Invoke-psake $(Join-Path $WorkingDir '.\tasks.ps1') %*; ^ - -if (($psake.build_success -eq $false) -and ($LastExitCode -eq 0 -or -not ($LastExitCode))) { $LastExitCode = 1 }; ^ -Test-LastExitCode; \ No newline at end of file diff --git a/images/build_output.png b/images/build_output.png index ab0609b2..66134d85 100644 Binary files a/images/build_output.png and b/images/build_output.png differ diff --git a/src/GildedRose.Console/GildedRose.Console.csproj b/src/GildedRose.Console/GildedRose.Console.csproj index 82251934..c73e0d16 100644 --- a/src/GildedRose.Console/GildedRose.Console.csproj +++ b/src/GildedRose.Console/GildedRose.Console.csproj @@ -1,59 +1,8 @@ - - - + + - Debug - AnyCPU - {F2E879A9-7F1C-4C34-AB0D-2662F9815046} Exe - Properties - GildedRose.Console - GildedRose.Console - v4.5 - 512 + netcoreapp3.1 - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + diff --git a/src/GildedRose.Console/Program.cs b/src/GildedRose.Console/Program.cs index f39daa35..9d02159d 100644 --- a/src/GildedRose.Console/Program.cs +++ b/src/GildedRose.Console/Program.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace GildedRose.Console { @@ -10,8 +11,8 @@ static void Main(string[] args) System.Console.WriteLine("OMGHAI!"); var app = new Program() - { - Items = new List + { + Items = new List { new Item {Name = "+5 Dexterity Vest", SellIn = 10, Quality = 20}, new Item {Name = "Aged Brie", SellIn = 2, Quality = 0}, @@ -26,7 +27,7 @@ static void Main(string[] args) new Item {Name = "Conjured Mana Cake", SellIn = 3, Quality = 6} } - }; + }; app.UpdateQuality(); diff --git a/src/GildedRose.Console/Properties/AssemblyInfo.cs b/src/GildedRose.Console/Properties/AssemblyInfo.cs deleted file mode 100644 index eed55744..00000000 --- a/src/GildedRose.Console/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("GildedRose.Console")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("DSHS")] -[assembly: AssemblyProduct("GildedRose.Console")] -[assembly: AssemblyCopyright("Copyright © DSHS 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("99f174df-0709-4d59-bd90-f1d9f64fd023")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/GildedRose.Console/app.config b/src/GildedRose.Console/app.config deleted file mode 100644 index 8e156463..00000000 --- a/src/GildedRose.Console/app.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/GildedRose.Console/packages.config b/src/GildedRose.Console/packages.config deleted file mode 100644 index 6472181b..00000000 --- a/src/GildedRose.Console/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/GildedRose.Tests/GildedRose.Tests.csproj b/src/GildedRose.Tests/GildedRose.Tests.csproj index f169d01a..e47fe916 100644 --- a/src/GildedRose.Tests/GildedRose.Tests.csproj +++ b/src/GildedRose.Tests/GildedRose.Tests.csproj @@ -1,88 +1,19 @@ - - - - + + - Debug - AnyCPU - 8.0.30703 - 2.0 - {CD4715A2-532E-4C74-BC40-36EE64F61FCA} - Library - Properties - GildedRose.Tests - GildedRose.Tests - v4.5.1 - 512 - - - - ..\..\ - true + net9.0 + + false - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - - - ..\..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll - True - - - ..\..\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll - True - - - ..\..\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll - True - - - - - - - - - + - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - - - - - \ No newline at end of file + + diff --git a/src/GildedRose.Tests/Properties/AssemblyInfo.cs b/src/GildedRose.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index e69de29b..00000000 diff --git a/src/GildedRose.Tests/packages.config b/src/GildedRose.Tests/packages.config deleted file mode 100644 index 843c91f3..00000000 --- a/src/GildedRose.Tests/packages.config +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/tasks.ps1 b/tasks.ps1 deleted file mode 100644 index 5068112c..00000000 --- a/tasks.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -# Needed because running 'psake.bat -doc' result in $psake.build_success being false -$psake.build_success = $true - -properties { - . $(Get-DefaultPropertiesFile) - $src_dir = Join-Path $base_dir "src" - $project_name = "GildedRose.Console" - $project_dir = Join-Path $src_dir $project_name -} - -Import-DefaultTasks Version, Clean, Build, Test - -Task Default -Depends Clean, Build, Test \ No newline at end of file