-
Notifications
You must be signed in to change notification settings - Fork 25
Can't build ASP.NET Core MVC with F# in Ubuntu 16.10 #91
Comments
@ridderholt it's ok to file there 😄 Can you please:
meanwhile i'll try with 16.10 (i have 16.04 in ci tests) |
as a note, from dotnet/core#532 (comment) probably is not specific to mvc template @ridderholt you get same error with console template ( |
added this https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-1.0.1#ubuntu-1610-fails-to-build-projects as known issues in wiki |
@ridderholt I also had the same error, and after installing the .NET Core 1.0.4 SDK 1.0.1 (targeted for 16.04) it works just fine. So you may want to try that as a workaround. Download from here: https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.0.4-download.md @enricosada do you still need the debugging info ? |
@kontomondo yes please just the |
@enricosada both have only Btw, I wanted to edit the wiki page to submit a PR for it, but it seems to have saved my edit, probably the permissions for the wiki are too broad ? Please feel free to revert my change if you feel it's not good. |
@enricosada the two versions have identical output for --info:
With only Base Path differs (but points to sdk/1.0.1) |
@enricosada Yes I get the same error when compiling an F# console app. Here's the output when I run
|
@enricosada I wasn't quite sure what you meant with
but i ran
Let me know if you want something else! |
Last time, when f# did not work out of the box it took about a month and a half to fix, but hey, better late than never. I'm posting this to set expectation to those who have the same issue and stumble upon this thread: a bit of patience, and we'll get there ;) |
In the ways of improvements, I'd also suggest a better error message than |
@AndrewSav That's not very encouraging to read only 9 hours after it has been posted, but thanks for the info nonetheless. ;) |
@dee-see @AndrewSav as I mentioned in this thread previously, there's a trivial workaround, the 16.04 download works perfectly well on 16.10 and it supports both netcore 1.0 and 1.1 |
@kontomondo this issue is not specific for Ubuntu, the same issue is on Fedora too. But there are no sdk for Fedora on that page, so the work around unfortunately is not so trivial. In addition, it looks like this older SDK in the link just replaces the newer one (they both are versioned 1.0.1) that may be undesirable for application that need the latest. Please correct me, if I'm wrong |
Can't build an F# project either. The trivial proposal of installing a package above does not apply in my case, as I am running an Arch distro. Is there any progress on this issue? Are there any other solutions rather than installing an older versions? Here is my system info and the error I am getting:
|
@enricosada I've the same issue with Ubuntu 16.04. I installed .NET Core 1.0.4 SDK. Then did This is output from
Error:
|
The same problem for me, but on Ubuntu 17.04: $ dotnet --info Product Information: Runtime Environment: miki@ubuntu-zesty-ii:~/code/F#/misc-i$ clear; dotnet build -v n Microsoft (R) Build Engine version 15.1.1012.6693 Build started 5/28/17 6:19:11 PM.
Build FAILED.
Time Elapsed 00:00:01.06 |
An update. Not good news, sry. So, in the last three months LOTS of stuff/dynamics changed for f# and sdk integration (and personally i used lot of time in discussions and reading code instead of fix bugs like this one). Until now, for sdk 1.0 msbuild based, F# integration was based on
Atm it doesnt works when the only runtime avaiable is the 1.1, and that's this issue for some OS. What was choosen for F# moving forward is ok, but is developed on different codebase, so working on deprecated code mean not work on the new one, because mechanisms are also a bit different (see summary of changes between 1.0 and 2.0 ) PR are welcome obv Personally, i am not going to fix it. I was sure to be able to find time to do it, but after discussions and deprecation i cannot, because i prefer to work on sdk 2.0 codebase. So after triage, closing this as More info in 2.0.0-preview2 |
Sorry if this isn't the correct repo to ask this question in, please let me know if I should report it elsewhere.
Yesterday I installed the latest version of .NET Core on Linux (Ubuntu 16.10) and started with trying to create a new MVC app using F#.
I created a new project
dotnet new mvc -lang F#
and randotnet restore
But when I tired to run it using
dotnet run
ordotnet build
I get this errorMaybe it's a newbie error and I have forgotten to install something but I can't figure out what to do. Any ideas?
The text was updated successfully, but these errors were encountered: