fsprojects / fsharp-language-server

Other
219 stars 37 forks source link

Support for external assemblies? #42

Closed hifall closed 5 years ago

hifall commented 5 years ago

First of all, thanks for this nice project.

I am able to make this F# LS to work with built-in assemblies. That is, it's able to complete built-in assemblies with no issue.

However, I am not sure how to make it recognize assemblies installed externally, like NUnit.

This screenshot shows that it's unable to recognize NUnit:

screen shot 2019-02-03 at 11 44 25 am

My fsproj looks like this:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.0</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="model.fs" />
  </ItemGroup>
</Project>

My settings: running on Ubuntu 16.04/Mono, NUnit is installed using NuGet.

Thanks!