diff --git a/.gitignore b/.gitignore index 2d007a45..ba003204 100644 --- a/.gitignore +++ b/.gitignore @@ -1,34 +1,179 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. -#ignore thumbnails created by windows -Thumbs.db -#Ignore files build by Visual Studio -*.obj -*.exe -*.pdb +# User-specific files +*.suo *.user -*.aps -*.pch -*.vspscc +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets +!packages/*/build/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + *_i.c *_p.c -*.ncb -*.suo +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr *.tlb +*.tli *.tlh -*.bak -*.cache -*.ilk +*.tmp +*.tmp_proj *.log -[Bb]in -[Dd]ebug*/ -*.lib -*.sbr -obj/ -[Rr]elease*/ +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.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*/ -[Tt]est[Rr]esult* -/packages/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# 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 +*.Publish.xml + +# NuGet is used in bootstrap.exe to retrieve packages +nuget.exe + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +#packages/ + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.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 + + +#LightSwitch generated files +GeneratedArtifacts/ +_Pvt_Extensions/ +ModelManifest.xml + +# ========================= +# 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 +Hearthstone Deck Tracker.sln.ide/* +packages/* !packages/repositories.config + +.github + +# ========================= +# Hearthstone DB +# ========================= + +_ReSharper*/ +[Tt]est[Rr]esult* HearthDb/CARD.xml HearthDb/CardDefs.xml -HearthDb/hsdata/ +HearthDb/hsdata/ \ No newline at end of file diff --git a/HearthDb.10.0.1.nupkg b/HearthDb.10.0.1.nupkg new file mode 100644 index 00000000..ce792388 Binary files /dev/null and b/HearthDb.10.0.1.nupkg differ diff --git a/HearthDb/Cards.cs b/HearthDb/Cards.cs index 2f130620..fcdc691a 100644 --- a/HearthDb/Cards.cs +++ b/HearthDb/Cards.cs @@ -17,7 +17,8 @@ public static class Cards public static readonly Dictionary Collectible = new Dictionary(); - static Cards() { + static Cards() + { var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("HearthDb.CardDefs.xml"); if(stream == null) return; diff --git a/HearthDb/Enums/Enums.cs b/HearthDb/Enums/Enums.cs index a12d5e12..10a6784d 100644 --- a/HearthDb/Enums/Enums.cs +++ b/HearthDb/Enums/Enums.cs @@ -1,4 +1,3 @@ -// ReSharper disable InconsistentNaming namespace HearthDb.Enums { /* THIS FILE WAS GENERATED BY HearthDb.EnumsGenerator. DO NOT EDIT. */ diff --git a/HearthDb/HearthDb.csproj b/HearthDb/HearthDb.csproj index eecc265d..e9b9caa4 100644 --- a/HearthDb/HearthDb.csproj +++ b/HearthDb/HearthDb.csproj @@ -1,13 +1,31 @@  - net471;netcoreapp2.0 + net471;net45;netcoreapp2.0;netstandard2.0 true snKey.snk 10.0.1.0 10.0.1.0 false 10.0.1 + true + HearthSim + https://github.com/HearthSim/Hearthstone-Deck-Tracker + https://github.com/HearthSim/Hearthstone-Deck-Tracker/blob/master/Hearthstone%20Deck%20Tracker/Images/HearthstoneDeckTracker.ico + https://github.com/HearthSim/HearthDb + GIT + + + + + + TRACE;DEBUG + bin\Debug\ + + + + bin\Release\ + TRACE;RELEASE