You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ionide is stuck with "Project loading" in the status bar and no relevant output in the Ionide or Ionide: MSBuild output windows.
If however I open a C# project which itself doesn't import Microsoft.WebApplication.targets, but references a project which does, the C# output window shows:
[Error - 10:23:29 AM] [LanguageServerProjectSystem] Failure while loading c:\Users\rh\source\repos\identityprovider\IntegrationTests\IntegrationTests.csproj: The imported project "C:\Program Files\dotnet\sdk\8.0.100\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\8.0.100\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" is correct, and that the file exists on disk.
In the C# output window, the path to Microsoft.WebApplication.targets is wrong and may be what's confusing Ionide:
The error in the C# output window doesn't prevent a C# project from loading and shouldn't prevent Ioniode either.
Machine info
OS: Windows Server 2022
.NET SDK version: 8.0.0 (and .NET 4.8).
Ionide version: 7.16.1
Additional context
Importing Microsoft.WebApplication.targets in a .NET 4.8 project is required for Kudu deploys to succeed.
The text was updated successfully, but these errors were encountered:
ronnieholm
changed the title
Ionide stuck at project load when project file imports a non-dotnet target
Ionide stuck at project load when project file imports a non-dotnet targets file
Dec 28, 2023
Within a .NET 4.8 project where
foo.fsproj
is in SDK format, if at the bottom offoo.fsproj
I importIonide is stuck with "Project loading" in the status bar and no relevant output in the
Ionide
orIonide: MSBuild
output windows.If however I open a C# project which itself doesn't import
Microsoft.WebApplication.targets
, but references a project which does, the C# output window shows:In the C# output window, the path to
Microsoft.WebApplication.targets
is wrong and may be what's confusing Ionide:.
Microsoft.WebApplication.targets
is actually located atThe error in the C# output window doesn't prevent a C# project from loading and shouldn't prevent Ioniode either.
Machine info
Additional context
Importing
Microsoft.WebApplication.targets
in a .NET 4.8 project is required for Kudu deploys to succeed.The text was updated successfully, but these errors were encountered: