i am creating a dotnet f# funcUI application and i want to publish it both for desktop…
- User
i am creating a dotnet f# funcUI application and i want to publish it both for desktop and for webassembly.
i created two projects, one for the desktop, and the second one for web browser app that references the desktop one.
but when trying to build this solution i get error:
The referenced project '..\LiveExtracted\LiveExtracted.fsproj' is a non self-contained executable. A non self-contained executable cannot be referenced by a self-contained executable. For more information, see https://aka.ms/netsdk1150
but when i read the dotnet public documentation, it always says that the mode of the application (self contained or not) is only set when publishing the application. so, which one is true: you set the self-publishing mode in the project and it affect the build process, or you only set the self-publishing mode when publishing, and it does not affect the debug builds at all?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.