question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to create netcore2 F# project

See original GitHub issue

Steps to reproduce

dotnet new console -lang F# dotnet build

Expected behavior

Create a netcore2 project with F#

Actual behavior

Microsoft (R) Build Engine version 15.3.117.23532
Copyright (C) Microsoft Corporation. All rights reserved.

/root/.nuget/packages/fsharp.net.sdk/1.0.5/build/FSharp.NET.Core.Sdk.targets(170,9): error MSB6006: "dotnet" exited with code 131. [/b/b.fsproj]

Build FAILED.

/root/.nuget/packages/fsharp.net.sdk/1.0.5/build/FSharp.NET.Core.Sdk.targets(170,9): error MSB6006: "dotnet" exited with code 131. [/b/b.fsproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.81

Environment data

docker dotnet:2-sdk image

.NET Command Line Tools (2.0.0-preview1-005977)

Product Information:
 Version:            2.0.0-preview1-005977
 Commit SHA-1 hash:  414cab8a0b

Runtime Environment:
 OS Name:     debian
 OS Version:  8
 OS Platform: Linux
 RID:         debian.8-x64
 Base Path:   /usr/share/dotnet/sdk/2.0.0-preview1-005977/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview1-002111-00
  Build    : 1ff021936263d492539399688f46fd3827169983

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
livarcocccommented, Jun 9, 2017

Seems like we can close this issue, since this is now support in preview2, being developed out of the release/2.0.0 branch.

1reaction
enricosadacommented, Jun 9, 2017

@wklm MS is replacing FSharp.NET.Sdk and bundling needed files in default Microsoft.NET.Sdk.

See https://github.com/dotnet/netcorecli-fsc/issues/115 for more info.

So atm doesnt work with 2.0.0-preview1 because is going to be replaced soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet core::Unable to run your project. Ensure you have a ...
I found a solution to my issue. The problem was that I had created the project using Visual studio. Hence, the .csproj project...
Read more >
can't create .net core projects - Developer Community
Hello I'm using visual studio 2019 v4.7.03062. And when i want to make a console app .net core project it gives me this...
Read more >
IIS AspNetCore Module V2: Failed to start application '/LM/ ...
I have a .NET Core 3.1 Web API project that I am hosting using IIS. Project Details (see target framework): <Project Sdk="Microsoft.NET.
Read more >
Cannot create ASP.NET Core 2.1 project
.NET Core 2.1 SDK may not be installed correctly. To confirm, navigate to C:\Program Files\dotnet\sdk and make sure a folder 2.1 ...
Read more >
visual studio 2022 fails to load a project when i create ...
visual studio 2022 fails to load a project when i create, error says Microsoft.Net.SDK could not be found when i manually try to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found