macOS fsprojs complain on load
See original GitHub issueC:\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:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm ok, fixed it by renaming the file
Microsoft.FSharp.targets
toMicrosoft.FSharp.Targets
to match what’s expected inXamarin.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?
I haven’t seen this problem, will close