Error when trying to create Settings file (VB.Net)
See original GitHub issue- .NET Core Version: 3.1 or 5.0
- Have you experienced this same bug with .NET Framework?: No
Problem description:
When I create a new .NET Core Windows Forms project in VB.NET and go to Project > Properties > Settings, Visual Studio says that the project doesn’t have a default Settings file. However when I click the message to create a new Settings file I get HRESULT_EXCEPTION 0x80070002 (Unable to find specified file). This issue doesn’t occur in .NET Core C# projects, nor in .NET Framework.
Expected behavior: When I click the message, I expect a new empty settings file to be created, like in .NET Framework.
Minimal repro: I just created a blank solution and project and the error immediately displays when I go to Project > Properties > Settings and click on the link to create a new settings file. I’m using Visual Studio 16.8.2, I tried to repair my installation and change .NET Core target version but nothing changed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
There have a similar issue 3346 to track it. and have the comments from klaus:https://github.com/dotnet/winforms/issues/3346#issuecomment-706361699
Relates to https://github.com/dotnet/project-system/issues/6784