Ionide not work debugging

A fatal error was encountered. The library ‘hostpolicy.dll’ required to execute the application was not found in 'obj\Debug\net8.0\ref'

If i tried debug F# project from ionide Tab (green button) i get error. But if i create launch,json and tasks.json and run debug from Tab “Launch and debug” it work fine. Why? Checked in Windows.