dotnet / dotnet/msbuild

Unhandled exception in XAML viewer when the project is in a path with private characters

Open
#8,369 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Unhandled-exception-in-XAML-viewer-when-/10063972)._

---
Apologies for putting the problem here. My "Report a problem.." doesnt work from my visual studio

To reproduce.
You will need to create a private character. So run eudcedit.exe from windows run dialog. Ive attached an example picture of the character I created.
![image.png](https://aka.ms/dc/image?name=B3ce3ce2414f8420990ad54061479530d637902139858699766_20220607-175326-image.png&tid=3ce3ce2414f8420990ad54061479530d637902139858699766)

next thing. Create a directory with the private character in windows. Once again.. Ive attached a picture
![image.png](https://aka.ms/dc/image?name=Bbe04430ae29d45eeb8a8a0ed1f2840af637902141347584853_20220607-175555-image.png&tid=be04430ae29d45eeb8a8a0ed1f2840af637902141347584853)

Now create a WPF project in visual studio in the directory below the one that you created above.
Then try and open the designer to the main dialog.
You should see the error below..
![image.png](https://aka.ms/dc/image?name=B361aa3ef60554ca78ef720e046fb57e6637902142514001459_20220607-175752-image.png&tid=361aa3ef60554ca78ef720e046fb57e6637902142514001459)
Now this error not only applies to WPF .. but projects created with .Net48 doesnt compile when placed under such a directory. In fact many things dont work when placed under such a directory.

---
### Original Comments

#### Feedback Bot on 6/7/2022, 07:54 PM:

(private comment, text removed)
#### Ann Yang (Beyondsoft Corporation) [MSFT] on 6/8/2022, 01:19 AM:

(private comment, text removed)
#### Maurice Marinus on 6/15/2022, 06:44 AM:

(private comment, text removed)
#### Ann Yang (Beyondsoft Corporation) [MSFT] on 6/8/2022, 01:31 AM:

(private comment, text removed)
#### Feedback Bot on 6/15/2022, 01:09 AM:

(private comment, text removed)
#### Maurice Marinus on 6/15/2022, 06:54 AM:

(private comment, text removed)
#### Feedback Bot on 6/15/2022, 07:16 PM:

(private comment, text removed)

---
### Original Solutions
(no solutions)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.