fsprojects / fsprojects/Paket

Wrong hint paths for referenced assemblies

Open
#1,990 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug sdk: verbose sdk
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

I created a project using ProjectScaffolding and added a NuGet reference to it using
mono .paket/paket.exe add nuget JetBrains.ReSharper.SDK project SDKTest.

When I try to build, there's a lot of errors like

2) FS0078: FSC(0,0): Unable to find the file '..\..\packages\AsyncBridge.JetBrains\lib\net40-Client\AsyncBridge.dll' in any of /usr/local/Cellar/mono/4.6.1.5/lib/mono/4.0-api /Users/Eugene/Developer/ReSharperSDKTestFs/src/SDKTest /Users/Eugene/Developer/ReSharperSDKTestFs/packages/FSharp.Core/lib/net40
3) FS0078: FSC(0,0): Unable to find the file '..\..\packages\AsyncIO\lib\net40\AsyncIO.dll' in any of /usr/local/Cellar/mono/4.6.1.5/lib/mono/4.0-api /Users/Eugene/Developer/ReSharperSDKTestFs/src/SDKTest /Users/Eugene/Developer/ReSharperSDKTestFs/packages/FSharp.Core/lib/net40
4) FS0078: FSC(0,0): Unable to find the file '..\..\packages\DotNetZip.Reduced\lib\net20\Ionic.Zip.Reduced.dll' in any of /usr/local/Cellar/mono/4.6.1.5/lib/mono/4.0-api /Users/Eugene/Developer/ReSharperSDKTestFs/src/SDKTest /Users/Eugene/Developer/ReSharperSDKTestFs/packages/FSharp.Core/lib/net40
5) FS0078: FSC(0,0): Unable to find the file '..\..\packages\FSharp.Core\lib\net40\FSharp.Core.dll' in any of /usr/local/Cellar/mono/4.6.1.5/lib/mono/4.0-api /Users/Eugene/Developer/ReSharperSDKTestFs/src/SDKTest /Users/Eugene/Developer/ReSharperSDKTestFs/packages/FSharp.Core/lib/net40

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the ProjectScaffolding project and the shown paket.exe add nuget JetBrains.ReSharper.SDK project SDKTest command on the reported Mono setup. Trace how the generated F# compiler hint paths are assembled; the work is done when referenced assemblies such as AsyncBridge.dll and FSharp.Core.dll resolve from the project packages directory and the project builds without FS0078 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.