dotnet / dotnet/project-system
Switching from Code Generation -> No code generation doesn't remove designer file
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
In the old project system, switching from RESX code generation from public/internal -> no code generation removes in the file.
In the new project system the file remains on disk, and due to the globs is part of the project:
1. File -> New Console App (.NET Core)
2. Right-click project, choose Add -> New Item
3. Choose Resources file
4. Click OK
5. In the designer, change Access modifier from "internal" to "no code generation"
Expected: For the designer file to disappear
Actual: It becomes unnested, but stays in the project:

Contributor guide
Assessment
This issue has not been assessed yet.