dkavolis / Ferram-Aerospace-Research

Aerodynamics model for Kerbal Space Program
Other
77 stars 32 forks source link

Trying to build the code, am I still missing an assembly somehow? #139

Closed mthiffau closed 1 year ago

mthiffau commented 1 year ago

Hi there!

I'm trying to build the code (up-to-date master branch), specifically FerramAerospaceResearch.Base at the moment. Looking at the Base project csproj file you have checked in, I believe I've added all the same assembly references locally. However when I try to compile the Base project I'm still getting a small number of errors like this (all related to IConfigNode):

Severity    Code    Description Project File    Line    Suppression State
Error   CS1061  'IConfigNode' does not contain a definition for 'BeforeSaved' and no accessible extension method 'BeforeSaved' accepting a first argument of type 'IConfigNode' could be found (are you missing a using directive or an assembly reference?)    FerramAerospaceResearch.Base    C:\<path to repo>\Ferram-Aerospace-Research\FerramAerospaceResearch.Base\Reflection\NodeReflection.cs   376 Active

Any thoughts on why this might be?

mthiffau commented 1 year ago

Hmm, don't know what it was but I started from scratch and set up the same environment variables you had in your csproj files. I still had to re-add a few assemblies but it's compiling now!