joelverhagen / NuGetTools

A website containing some various tools to help understand NuGet.
http://nugettools.azurewebsites.net/
MIT License
50 stars 18 forks source link

clone and run doesn't work #23

Closed zivkan closed 1 year ago

zivkan commented 1 year ago

The repo readme doesn't have instructions for getting started, so I tried cloning the repo, opened the sln and pressed F5. When my browser opens, I get this error message:

ArgumentNullException: String reference not set to an instance of a String. Parameter name: s System.DateTimeParse.Parse(string s, DateTimeFormatInfo dtfi, DateTimeStyles styles, out TimeSpan offset)

Here's a screenshot of some more info: image

joelverhagen commented 1 year ago

I think you need to run build.ps1 to initialize some stuff. Give that a try. I don't remember since it's been a long time since I've worked on this project any more than deploying new versions of NuGet client SDK.

zivkan commented 1 year ago

After a while I noticed the build.ps1. I still haven't run it, but I also see the Build app which seems to modify the assembly attributes of an already compiled dll. I haven't tried running build.ps1, but I'd assume that even if I did, building in VS will recreate the assembly without the attribute, so will fail again. So, I'm not sure how this app is supposed to be debuggable.

Anyway https://github.com/joelverhagen/NuGetTools/pull/22 looks like it fixes it.

joelverhagen commented 1 year ago

At this point the main purpose of build.ps1 is to download additional versions of NuGet packages for runtime loading. It does a lot more that can be gutted in light of #22 and some additional effort.

joelverhagen commented 1 year ago

The repo is cleaned up a bit now. Clone and run should work. You still need to run build.ps1 to get additional, legacy package versions.