dotnet / dotnet/project-system

Switching from Code Generation -> No code generation leaves an empty Update in the project file

Open
#1,157 1 comment 0 reactions 1 assignee Claimed by @davkean View on GitHub
Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

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:
``` XML


Exe
netcoreapp1.0

```

Actual:
``` XML


Exe
netcoreapp1.0






```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.