Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little help #36

Open
SpookHCK opened this issue Jan 4, 2023 · 6 comments
Open

little help #36

SpookHCK opened this issue Jan 4, 2023 · 6 comments

Comments

@SpookHCK
Copy link

SpookHCK commented Jan 4, 2023

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

@SpookHCK
Copy link
Author

SpookHCK commented Jan 5, 2023

@jensbrak Any chance you could point me in a direction to learn how to make this go? Thanks.

@jensbrak
Copy link
Contributor

jensbrak commented Jan 5, 2023

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.

@SpookHCK
Copy link
Author

SpookHCK commented Jan 5, 2023

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!

@jensbrak
Copy link
Contributor

jensbrak commented Jan 5, 2023

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.

@SpookHCK
Copy link
Author

SpookHCK commented Jan 9, 2023

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.

@Wufflez
Copy link
Owner

Wufflez commented Jan 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants