8 questions with no answers
0
votes
0
answers
58
views
.NET is not recognized
In a .NET Core C# project, I get many errors like this:
Predefined type 'System.Object' is not defined or imported
Primary variables such as int and string are not recognized.
I have tried the ...
0
votes
0
answers
26
views
IL2026/IL3050 Warnings only visible via dotnet format, neither in Visual Studio 2026 nor via dotnet build /publish
After installing Visual Studio 2026 and .NET10 I noticed the following behavior:
I’m building an AOT project that uses DI. When I build and publish the project, the IL trimming/AOT warnings are not ...
1
vote
0
answers
72
views
Could not load type 'Microsoft.AspNetCore.Http.Metadata.IApiEndpointMetadata'
After upgrading from .NET 9 to .NET 10 (.NET vesion and packages like OpenApi), I started getting this exception:
Application startup exception
System.TypeLoadException: Could not load type '...
1
vote
0
answers
64
views
Start Android emulator with .NET Maui app from .NET Aspire dashboard
I have a .NET 10 MAUI app configured with Aspire 13. When I start the Aspire project and the dashboard launches, I ensure that the emulator is running.
Steps to reproduce
Start Visual Studio
Create a ...