Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging support is broken after the most recent release #1985

Closed
baronfel opened this issue Feb 13, 2024 · 1 comment · Fixed by ionide/FsAutoComplete#1230
Closed

Debugging support is broken after the most recent release #1985

baronfel opened this issue Feb 13, 2024 · 1 comment · Fixed by ionide/FsAutoComplete#1230

Comments

@baronfel
Copy link
Contributor

Describe the bug

The most recent release updated to a version of FsAutoComplete that understood the concept of 'Reference Assemblies' - minimal assemblies that just expose the surface area of a DLL, with no implementations. This resulted in a change to the contents of the Output property of the Project type used to communicate project metadata between FSAC and Ionide. Previously, only the path to the actual implementation assembly was passed here, which meant that this field could be used by Ionide here to compute the path to the assembly to run. Now, this OutputFileOpt could be the ref assembly, which results in errors like the following:

A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in '...\obj\Debug\net7.0\ref'.
Failed to run as a self-contained app.
  
The application was run as a self-contained app because '...\obj\Debug\net7.0\ref*.runtimeconfig.json' was not found.
If this should be a framework-dependent app, add the '...\obj\Debug\net7.0\ref*.runtimeconfig.json' file and specify the appropriate framework.
@baronfel
Copy link
Contributor Author

Fixed in 7.18.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant