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.

macOS fsprojs complain on load

See original GitHub issue
C:\Users\Admin\source\repos\Fabulous\Fabulous.XamarinForms\samples\AllControls\macOS\AllControls.macOS.fsproj : error  : The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Mac\Xamarin.Mac.FSharp.targets

C:\Users\Admin\source\repos\Fabulous\Fabulous.XamarinForms\samples\Calculator\macOS\Calculator.macOS.fsproj : error  : The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Mac\Xamarin.Mac.FSharp.targets

C:\Users\Admin\source\repos\Fabulous\Fabulous.StaticView\samples\StaticViewCounterApp\macOS\StaticViewCounterApp.macOS.fsproj : error  : The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Mac\Xamarin.Mac.FSharp.targets

C:\Users\Admin\source\repos\Fabulous\Fabulous.XamarinForms\samples\CounterApp\macOS\CounterApp.macOS.fsproj : error  : The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Mac\Xamarin.Mac.FSharp.targets

C:\Users\Admin\source\repos\Fabulous\Fabulous.XamarinForms\samples\TicTacToe\macOS\TicTacToe.macOS.fsproj : error  : The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Mac\Xamarin.Mac.FSharp.targets

Is this intended?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TimLarivierecommented, Jul 2, 2019

Hmm ok, fixed it by renaming the file Microsoft.FSharp.targets to Microsoft.FSharp.Targets to match what’s expected in Xamarin.Mac.FSharp.targets. It fixed the error messages. MSBuild on Windows appears to be sensible to casing apparently…

Maybe @nosami would know more about this?

0reactions
dsymecommented, Nov 28, 2019

I haven’t seen this problem, will close

Read more comments on GitHub >

github_iconTop Results From Across the Web

macOS fsprojs complain on load · Issue #487
On my machine, the variables resolve to: MSBuildExtensionsPath32 = C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild ...
Read more >
Opening F# Xamarin.Mac app project in VS2019 Windows ...
When opening an F# Xamarin.Mac project in Visual Studio 2019 - Windows, the project fails to load because of an invalid path to...
Read more >
Feedback - macOS
How do you like macOS? Please let us know. We're always looking for ways to improve our products and give you a better...
Read more >
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
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