Closed aelij closed 1 year ago
@aelij Thanks for logging this - there is 'special' handling for web.config
files, including publishing, transforming and deploying, as well as handling updating binding redirects.
In many cases, you don't need to have the Content or Compile items at all in your project file.
As you say, you can also disable the default includes if you wish to keep the explicit items in the project file (although that loses one of the advantages of the sdk style projects).
Otherwise, I hope you are finding this project useful. Please let us know if there are any other issues you find using the project.
This issue is just to log this error in case anyone else encounters it:
This happened when a project was migrated to SDK-style, while keeping the explicit
Content
items.Fix: Add
<EnableWebFormsDefaultItems>false</EnableWebFormsDefaultItems>
or remove the explicit items.Thanks for building this package!