mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
buildAll.sh fails "out of the box" on macOS #351
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @markmcgookin on GitHub (Jun 27, 2019).
Originally assigned to: @robertmuehsig on GitHub.
Version:
Latest version from source based on commit
dc8987d$ node --version v10.15.3
$ dotnet --version 2.2.107
Target: macOS
Pull the latest version of the source code on macOS and run buildAll.sh you get the error:
Build FAILED.
Solution file error MSB4249: Unable to build website project "ElectronNET.Host". The ASP.NET compiler is only available on the .NET Framework version of MSBuild.
Steps to Reproduce:
@GregorBiswanger commented on GitHub (May 9, 2020):
I now referenced the assemblies directly. Works best for me.
@dafergu2 commented on GitHub (May 17, 2020):
This issues till happens if you simply run
dotnet buildin the main directory. In addition, the builds for linux and windows fail during thebuildAll.shas well.The issue with the solution is due to the project reference in the solution file. @GregorBiswanger Is there a need to set the following in the .sln file?