You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to compile PnET on Linux lately (never done that before).
After making sure all of the references to other libraries where dealt with, I had the following errors :
2.431 PlugIn.cs(257,18): error CS1061: 'PlugIn' does not contain a definition for'ThreadCount' and no accessible extension method 'ThreadCount' accepting a first argument of type'PlugIn' could be found (are you missing a using directive or an assembly reference?) [/usr/bin/LANDIS_Linux/Extension-PnET-Succession/src/PnET-Succession.csproj]
2.431 PlugIn.cs(619,22): error CS1061: 'PlugIn' does not contain a definition for'ThreadCount' and no accessible extension method 'ThreadCount' accepting a first argument of type'PlugIn' could be found (are you missing a using directive or an assembly reference?) [/usr/bin/LANDIS_Linux/Extension-PnET-Succession/src/PnET-Succession.csproj]
2.432 PlugIn.cs(622,100): error CS1061: 'PlugIn' does not contain a definition for'ThreadCount' and no accessible extension method 'ThreadCount' accepting a first argument of type'PlugIn' could be found (are you missing a using directive or an assembly reference?) [/usr/bin/LANDIS_Linux/Extension-PnET-Succession/src/PnET-Succession.csproj]
2.432 PlugIn.cs(627,101): error CS1061: 'PlugIn' does not contain a definition for'ThreadCount' and no accessible extension method 'ThreadCount' accepting a first argument of type'PlugIn' could be found (are you missing a using directive or an assembly reference?) [/usr/bin/LANDIS_Linux/Extension-PnET-Succession/src/PnET-Succession.csproj]
Looking at the code of PlugIn.cs, it seems like a property called this.ThreaCount is used several time, but never properly referenced in the class.
Adding the line public int ThreadCount; at the beginning of the class (with the references to its other properties) solved the issue in my case.
The text was updated successfully, but these errors were encountered:
I've been trying to compile PnET on Linux lately (never done that before).
After making sure all of the references to other libraries where dealt with, I had the following errors :
Looking at the code of
PlugIn.cs
, it seems like a property calledthis.ThreaCount
is used several time, but never properly referenced in the class.Adding the line
public int ThreadCount;
at the beginning of the class (with the references to its other properties) solved the issue in my case.The text was updated successfully, but these errors were encountered: