Closed gabrielelibardi closed 2 years ago
Nothing at all, no error message?
Right, nothing, no error message. It takes maybe a second to run so it is doing something..
Does it create the output
folder?
No
What happens if you try to build a hello world C# program?
The hello world example from your link seems to work fine.
Which .NET core version did you use?
It's probably the System.Drawing
thing again, because what else could it be. It just doesn't print the error message for some reason. Try the solutions in this comment, try first to build with net5.0.
This is the entire log I get when running:
Apartemazements > P = 16
CONTRADICTION on try 0 with 142 observations
wfc found a good seed 1643779998 on try 1 with 158 observations
DONE
wfc found a good seed 376360877 on try 0 with 155 observations
DONE
CONTRADICTION on try 0 with 149 observations
CONTRADICTION on try 1 with 124 observations
wfc found a good seed 1346509966 on try 2 with 154 observations
DONE
CONTRADICTION on try 0 with 151 observations
wfc found a good seed 1667801283 on try 1 with 143 observations
DONE
Apartemazements > P = 16
CONTRADICTION on try 0 with 134 observations
CONTRADICTION on try 1 with 101 observations
CONTRADICTION on try 2 with 116 observations
wfc found a good seed 1814048741 on try 3 with 154 observations
Unhandled exception. System.TypeInitializationException: The type initializer for 'GUI' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at GUI..cctor() in /home/sajjad/src/git/MarkovJunior/source/GUI.cs:line 30
--- End of inner exception stack trace ---
at GUI.Draw(String name, Branch root, Branch current, Int32[] bitmap, Int32 WIDTH, Int32 HEIGHT, Dictionary`2 palette)
at Program.Main() in /home/sajjad/src/git/MarkovJunior/source/Program.cs:line 67
@MCSH See #9
I run
dotnet run --configuration Release MarkovJunior.csproj
but nothing happens, what do display the GUI?