little help
Hi, I'm a noob... But I have Visual studio... I have opened the solution and seem to have the dependencies loaded... how do I get the gitversion.json file so I can compile the code?
Thanks
@jensbrak Any chance you could point me in a direction to learn how to make this go? Thanks.
Do you get errors when trying to compile? How did you get the code?
I cloned the repo and it worked right off the bat.
I downloaded a zip and I get an error about a gitversion.json file being missing, I'll try clone the repo later.. It sounds like there is a dependency on that! Thanks for the hint!
I'd recommend clicking on the green Code button and select "Open with GitHub Desktop". If you don't have it, follow instructions to install it. Once installed, any repo you want to download - click on that green Code button and open it with GitHub Desktop. The app will then do a clone of the repo.
ok, a couple of issues.. but I've got past that bit :) old version of visual studio.. mostly to blame... but I have found if I just create an empty file ./Loki/obj/gitversion.json I can get something that complies... could you check your version and see it there is supposed to be any data in that file? Thanks.
That file is not something you should need to edit or touch. It's produced by the gitversion tool, which you should be running automatically when the project is built.
What version of Visual Studio are you using @SpookHCK? You should really upgrade to VS2022 if you can because the project has just moved to .NET 7 so having the latest tooling will be helpful. It should build the project without any manual steps involved.
If you want to build the project without stamping the git version information into the assembly, you can just temporarily remove the GitVersion nuget reference.