Error CS1576 The line number specified for #line directive is missing or invalid

Hello,

It doesn’t build:

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1576	The line number specified for #line directive is missing or invalid	M220N	C:\Users\christophe.machu\Documents\mongodb_workshop\mflix\M220N\obj\Debug\netcoreapp3.1\Razor\Pages\Error.cshtml.g.cs	48	Active

I change IDE and it works now (2019 to 2022)

2 Likes