DEV Community

Discussion on: Dungeons & Dragons Max Hit Points Calculator

Collapse
 
raddevus profile image
raddevus • Edited

I took a look at your code. It's a nice little utility.
A couple of things just to let you know. I tried to build the code but the repo is missing a few items:

  1. the Program.cs file which actually launches the app.
  2. the /Properties folder and all of its contents (5 files -assembly.info, Resources.resx,Resources.Designer.cs , Settings.settings, Settings.Designer.cs)

I built it and got it going by

  1. building the Program.cs from scratch
  2. copying the \Properties files from another project.

Also, normally you don't check in the binaries (stuff under \bin) to source control. But maybe you did that so people could try the program out easily.

Just some tips to help out.

Have a great day and...

Keep on learning, keep on coding

Collapse
 
rachelsoderberg profile image
Rachel Soderberg

Hey, thanks for the info and tips! This was my first time posting a project as "open source" so I'm not surprised there were a couple hiccups. I'll go ahead and fix that up later today.

Collapse
 
raddevus profile image
raddevus

Glad to help. Also, if you add a .gitignore file to your project root folder you will find that the extra things like /obj/ and /bin directories and associated files are not added -- it'll only track your source files which is what you want.
Github provides a nice Visual Studio / C# .gitignore for you at:
github.com/github/gitignore/blob/m...

All you have to do is :

  1. create a text file named .gitignore in your project root
  2. copy the text from the link above
  3. paste test into your local .gitignore
  4. save

After that, your local git will ignore those files. Since you've already added them you may have to work a bit to remove them from your git repo, but it'll still help. :)