I'm a bit stuck with getting alpha 2 with mono to build my project properly. Any project in fact, I've tried with a brand new project as well - didn't even add any C# code.
The error I'm getting is when trying to run the project is the following:
"C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(1138,5): The reference assemblies for framework ".NETFramework,Version=v4.5" were not found. To resolve this..."
Unfortunately I don't see the middle of the message because I was unable to find a way to copy/view the entire message - double click, ctrl+c don't work :) I can see the end of the message by hovering over it...
"...version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend."
I also tried with x86 mono, the same message appears (of course with "Program Files x86").
I have no prior experience with Mono so I might be missing something simple, but I've tried about a dozen solutions but to no avail:
- Installing a few "developer packs" as suggested by this so question: https://stackoverflow.com/questions/44548780/the-reference-assemblies-for-framework-netframework-version-v4-6-2-were-not-f
- Tried adding a bunch of folders to the PATH, both within mono install location and various .net folders
- Installing various MS tools/.NET stuff
I will add that even though I installed Mono (the one linked in the alpha 2 post) with all the default settings, the editor didn't open until I added the MONO_PATH env var, even though the post stated it should work out of the box...
Furthermore, I didn't quite get this statement which might be related: "You will also need msbuild in your PATH, so if you installed it in a location which is not included in the PATH, you can either override the latter or create a symbolic link."
What msbuild are we talking about? There are a couple of "msbuild" folders and files inside the mono installation, but none of them are "exe" files... Only one "bat" file if that counts. Either way, I've added that to the path and a bunch of windows/.net "msbuild" folders/executables to the path as well. Didn't help.