Cannot build F# project with Microsoft.ProjectReunion.WinUI
See original GitHub issueDescribe the bug
F# project that references Microsoft.ProjectReunion.WinUI
does not build
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2902,7): error MSB4057: The target "XamlPreCompile" does not exist in the project.
Steps to reproduce the bug
- Clone https://github.com/xperiandri/Elmish.Uno/tree/uno_winui
- Check out https://github.com/xperiandri/Elmish.Uno/tree/uno_winui branch
- Open Elmish.Uno.sln
- Comment out my work around in Elmish.Uno.fsproj if it present (empty
XamlPreCompile
target) - Build Elmish.Uno.fsproj
Expected behavior F# project builds successfully
Version Info Microsoft.ProjectReunion.WinUI 0.5.0-prerelease
NuGet package version: 0.5.0-prerelease
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
May 2020 Update (19041) | Yes |
November 2019 Update (18363) | |
May 2019 Update (18362) | |
October 2018 Update (17763) |
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Adding just Microsoft.ProjectReunion does not bring in all ...
Steps to reproduce the behavior: File | New WinUI project using the new Single Project MSIX system; Remove the WinUI packages, leaving the...
Read more >WinUI 3 cannot create a project build when adding ...
The error appears after adding a reference to the background project to the UI project. The background project contains the same project ......
Read more >WinUI 3 Project Reunion 0.5 (March 2021) - Windows apps
UWP support. This means you cannot build or run a UWP app using the WinUI 3 - Project Reunion 0.5 VSIX. You'll need...
Read more >How to make Projection UserControl (XAML resource) in ...
The issue is that WinUI can't find the default style defined in generic.xaml as the compiled Generic.xbf that contains it is not copied...
Read more >Windows App SDK - Microsoft Q&A
Cannot add USB DeviceCapability in WinUI 3 App Package.appxmanifest. I have a UWP app that I am porting to WinUI 3 I want...
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
So, finally F# works! 🥳🥳🥳
There is nothing here related to cswinrt, looks like a WinUI issue.
@xperiandri - I updated the following and rebuilt with same error.