dotnet / dotnet/project-system
Entering a bad path into OutputPath causes a prompt that you cannot exit
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
1. File -> New -> Console App (.NET Core)
2. Right-click on project and choose Properties
3. In build tab, in _Output _Path_, enter '?Foo'
4. TAB
```
---------------------------
Microsoft Visual Studio
---------------------------
The project 'ConsoleApp64' has encountered an error. You may need reload the project after fixing the problem.
The expression "[System.IO.Path]::GetFullPath(C:\Users\davkean\Source\Repos\ConsoleApp64\ConsoleApp64\?Foo\netcoreapp2.0\)" cannot be evaluated. Illegal characters in path. C:\Program Files (x86)\Microsoft Visual Studio\stg\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets
---------------------------
OK
---------------------------
```
then you constantly get the following which you cannot escape:
```
---------------------------
Microsoft Visual Studio
---------------------------
Could not find the configuration 'Debug' for platform 'Any CPU'.
---------------------------
OK
---------------------------
```
Contributor guide
Assessment
This issue has not been assessed yet.