.netvisual-studiovisual-studio-2022projects-and-solutions

Visual Studio 2022: There is no project properties provider for "Persistence = ProjectFileWithInterceptionViaSnapshot". Projects are not loaded


I cannot load all projects from one visual studio solution because of an error.

error : There is no project properties provider for "Persistence = ProjectFileWithInterceptionViaSnapshot".

The solution was moved from Microsoft Visual Studio Community 2019 to Microsoft VS Community 2022. It can be opened within VS 2019, but it cannot be opened within VS 2022.

Here are details of my environment:

Microsoft Visual Studio Community 2022 Version 17.4.2 VisualStudio.17.Release/17.4.2+33122.133 Microsoft .NET Framework Version 4.8.04084

Installed Version: Community

ASP.NET and Web Tools 17.4.326.54890 ASP.NET and Web Tools

Azure App Service Tools v3.0.0 17.4.326.54890 Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools 17.4.326.54890 Azure Functions and Web Jobs Tools

C# Tools 4.4.0-6.22565.8+53091686b435746d62a5df56abfab0e71203d83a C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager 6.4.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core)
17.0.0.2246202+61cc048d36a3fc9246d2f04625988b19a18ab8f0 Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools 17.0.62207.28050 Microsoft SQL Server Data Tools

TypeScript Tools 17.0.10921.2001 TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools
4.4.0-6.22565.8+53091686b435746d62a5df56abfab0e71203d83a Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools
17.4.0-beta.22512.4+525d5109e389341bb90b144c24e2ad1ceec91e7b Microsoft Visual F# Tools

Visual Studio IntelliCode 2.2 AI-assisted development for Visual Studio.


Solution

  • I had the same issue after a clean-up. This is what I did:

    this fixed the issue for me. I hope it helps!