.NET 10 regression in publishing extra files
Open
area-middleware
Regression
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
I am using Visual Studio to deploy ASP.NET Core website to IIS, presumably using MSDeploy. When targeting .NET 8, this causes files to be deployed to the server:
```xml
PreserveNewest
```
However, when I change the project to target .NET 10, these files do not get deployed. I tried `CopyToPublishDirectory`, I tried `Content`, I tried `Update`, but I just cannot figure out how to get them deployed. I did not see any breaking change notes in the .NET 10 release notes either. What trick am I missing?
Contributor guide
Assessment
This issue has not been assessed yet.