Error when using webdeploy (MSB1011)

Hi! I am using Radzen's web Deploy to IIS to push app revisions directly to the web server. I was testing excluding appSettings.json by going into Visual Studio 2019, right-clicking on the file to show properties, then changing "build action" from "content" to "none" and "copy to output directory" to "Do not copy". Ever since then, I get the following error in Radzen when trying to publish to IIS:

"dotnet: MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file."

Reverting settings in Visual Studio then trying to publish again in Deploy had no effect.

The error suggests .csproj and .sln files both exist in the work folder, but the main folder only has the sln file with the csproj in another folder. Am not sure why reverting the settings to their original state would see this error continuing. Is there an easy fix for this?

Also, is it possible to exclude files from Deploy from within Radzen?

Thanks!

This exception says that you have more than one project. Sometimes Visual Studio will save copy of the csproj, check if you have such.

Thanks. I found a "xxxxx.csproj" in the "server" folder, as well as a "xxxxx - Backup.csproj". If I deleted all ".csproj" files, will that resolve the problem? (Note: the Radzen app's top-level folder has a ".sln" file.)

Thanks!

I renamed the csproj file extension and tried again. The particular error did not happen - thanks much!