Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building a project after deleting a XAML file results in an error #2156

danzil opened this issue Nov 4, 2019 · 0 comments


Copy link

@danzil danzil commented Nov 4, 2019

Copied from microsoft/microsoft-ui-xaml#811

File -> New -> WPF App (.NET Framework)
Build the project once
Delete MainWindow.xaml
Without saving, build the project
Expected: No error
Actual: error
Severity Code Description Project File Line Suppression State
Error Unknown build error, 'Object reference not set to an instance of an object.' WpfApp36
This issue has been moved from
VSTS ticketId: 905549
These are the original issue comments:
David Kean [MSFT] on 6/5/2019, 00:14 AM (10 hours ago):
This was also raised here: dotnet/project-system#4728

Visual Studio Feedback System on 6/5/2019, 03:16 AM (7 hours ago):
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

These are the original issue solutions:
(no solutions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.