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.

Opening an .fsx file - also from C# projects or outside a project - should trigger an install of the Visual F# Tools

See original GitHub issue

FAKE is an important build tool in the .NET ecosystem. Our company and many of our customers are using it to automate the build and deployment process. We always used VisualStudio to edit FAKE scripts and until VS2015 this worked with every Visual Studio installation out of the box.

Now in Visual Studio 2015 Visual F# is no longer part of a default installation (see https://github.com/Microsoft/visualfsharp/issues/544). In general it’s a good idea to make VS install features on demand, but unfortunately it breaks our workflow here. While opening a F# project (*.fsproj files) triggers the installer, opeing *.fsx files does not. So if you have a VB or C#-only solution the installer will not be triggered - even if you have a FAKE build script (which is usally called build.fsx).

The solution for us would be to trigger the F# installer when VS 2015 detects a *.fsx in the solution. EDIT: I think triggering the installer when a *.fsx is opened would be enough.

Unfortunately I don’t know of any other situation in VS where a similar situation is happening, but I assume if VS would unbundle C# and VB compilers then we would know very soon.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
forkicommented, Oct 29, 2015

It’s a bit sad to hear that this is a “feature request” instead of a bug. Anyways cool to hear that this will get addressed eventually 😉

@KevinRansom yes we all agree that a “lazy install VS” is the way to go. But introducing this completely untested (at least untested from community) and after the RC phase feels a bit like kick in the monads for people who evangelize F# every day. But we already discussed this. So thanks for logging this in the VS Installer bug tracker.

tumblr_inline_nwfybcxtvp1raprkq_500

0reactions
dsymecommented, Jun 22, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Opening an .fsx file - also from C# projects or outside a ...
Opening an .fsx file - also from C# projects or outside a project - should trigger an install of the Visual F# Tools...
Read more >
Get Started with F# in Visual Studio Code
Create your first project with Ionide. To create a new F# project, open a command line and create a new project with the...
Read more >
Documentation - Continuous C# and F# IDE for iPads and ...
If an item is a code file, tapping it will open it in the editor. Projects can also contain folders. Tapping a folder...
Read more >
Step 3: Create and activate an Amazon FSx File Gateway
In this section, you can find instructions on how to create, deploy, and activate a File Gateway in AWS Storage Gateway. Topics. Set...
Read more >
Detected package downgrade warning (dotnet core, vs 2017)
I opened the YourAwesomeApp.csproj file and went through the "Detected package downgrade" errors one-by-one and manually changed the version ...
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