dotnet / dotnet/project-system
An exception pops up when right-clicking Form1.resx to choose "View Code" or F7 directly
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
## Visual Studio Version
17.7.0 Preview 2.0 [33724.423.main]
## Steps to Reproduce
1. Create a Winforms .Net Core application and open Form1.cs code file
2. In Solution Explorer, find Form1.resx file, right-click it to choose "View Code"
## Expected Behavior
No any function

## Actual Behavior
An exception pops up


## More Info
1. In .Net framework app, there is no this "View Code" option when right-click Form1.resx in Solution Explorer
2. This is a regression issue, cannot repro in 16.11.26, 17.4.7, 17.5.5 release builds, 17.6 Preview 7 build with no any function when "view code" for form1.resx file. But repro from 17.7 Preview 1 build.
Contributor guide
Assessment
This issue has not been assessed yet.