Publish to folder not working
Hi!
I've several Rider solutions where I'm publishing the project content to a local folder. Now I've another solution where I wanted to publish one of the projects to a local folder but when I open ‘Run/Debug Configurations’, add a new configuration with publish to folder the combo with the list of Projects is empty and there is an error on the bottom of the dialog saying ‘Error: The project is not specified or not publishable’.
There are lots of projects in the solution, most of them are .NET Framework 7.2 libraries but there are also executables and the particular project I'd like to publish is a .NET Framework 7.2 console application.
I've updated to latest Rider version 2024.1.2 Build #RD-241.15989.179 but that didn't help. As said at the beginning, it works like a charm for other solutions I'm working on but those are .NET Core solutions, don't know if that makes any difference?
Help appreciated,
Wolfgang
Please sign in to leave a comment.
Could you please provide further information of the symptom you encountered? A screenshot would be helpful.
I guess you are trying to publish .NET Core application but not .NET Framework. Please have a try to publish the application through the
dotnet publish
CLI tool and see if it works.