dotnet / dotnet/project-system

The result in Core is inconsistent with Framework when adding a space for Default namespace

Open
#7,253 4 comments 0 reactions 1 assignee Claimed by @tmeschter View on GitHub
Feature-Project-Properties-Designer good-first-issue Triage-Investigate
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

**Visual Studio Version**: Version 16.11.0 Preview 1.0 [31319.401.d16.11]

**Steps to Reproduce**:

1. Create a Winforms core application.
2. Right click project to open properties window.
3. Find Application page, change Default namespace from WinFormsApp5 to WinForms App5(there is a space), then press enter key.

**Expected Behavior**:
For Framework, an error dialog pops up.
![issue3_fra](https://user-images.githubusercontent.com/45864017/119071016-9fa1da80-ba1b-11eb-80c2-e61f2671458a.png)

**Actual Behavior**:
For Core, it can be changed successfully.
![Issue3-Core](https://user-images.githubusercontent.com/45864017/119071021-a3cdf800-ba1b-11eb-94dc-724e8fcd5269.gif)

**More info**:

1. This issue can also repro in .NET Core WPF and console app.
2. This is not a regression issue, it can also repro on 16.7.0 Preview 2.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.