Home > OS >  New to Visual Studio, program won't build
New to Visual Studio, program won't build

Time:07-21

I am relatively new to Visual Studio, C#, and using Github. I am trying to get the example for AncestralTrees working (Found here: enter image description here

Any help would be greatly appreciated!

CodePudding user response:

For the compatibility issue, .Net Core (6.0) and .Net Framework (4.5) are different animals, with .Net Core as more of a successor to Framework. They are very similar, but there are some breaking changes between Framework and Core, and if a project was intended for .Net Framework 4.5 you will want to have it installed on your system and set as the build target for the project in Visual Studio. You could probably also build for 4.7 or 4.8.

For the files, if they are part of the repo I would expect them to be there. I'd check your file system and see if the files are there, and then check the repo on github and see if they are included in the repo. If not, you may need an additional repo or you may need to manually add a NuGet package.

I did notice this at the bottom of the github page:

This program is both a demo of my GEDCOM library: YAGP, and a hopefully useful program in itself.

Where the "YAGP" text is a dead link. So I would expect to also need this project, which either no longer exists or is not public. This is probably the correct address:

https://github.com/fire-eggs/YAGP

(I submitted a change with the fixed link.)

  •  Tags:  
  • c#
  • Related