I have build a api project with .net core 3.1 and dapper. It was working fine but today project is not loading.
Severity Code Description Project File Line Suppression StateError MSB4019 The imported project"H:\RNDPorject\eSellingTabs\eSellingTabs.Authentication\obj\eSellingTabs.Authentication.csproj.nuget.g.props"was not found. Confirm that the expression in the Import declaration"H:\RNDPorject\eSellingTabs\eSellingTabs.Authentication\obj\eSellingTabs.Authentication.csproj.*.props"is correct, and that the file exists ondisk. eSellingTabs.Authentication C:\Program Files (x86)\MicrosoftVisualStudio\2019\Community\MSBuild\Current\Microsoft.Common.props 62
Severity Code Description Project File Line Suppression StateError MSB3191 Unable to create directory"obj\Debug\netcoreapp3.1\RazorDeclaration**". Illegal characters inpath. eSellingTabs.Authentication C:\ProgramFiles\dotnet\sdk\3.1.101\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Microsoft.NET.Sdk.Razor.Component.targets 97
Stack Trace
System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Illegal characters in path.at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)at System.IO.FileInfo.Init(String fileName, Boolean checkHost)at System.IO.FileInfo..ctor(String fileName)at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectFileSystem.GetItem(String path, String fileKind)at Microsoft.CodeAnalysis.Razor.ProjectSystem.ProjectState.GetImportDocumentTargetPaths(HostDocument hostDocument)at Microsoft.CodeAnalysis.Razor.ProjectSystem.ProjectState.WithAddedHostDocument(HostDocument hostDocument, Func`1 loader)at Microsoft.CodeAnalysis.Razor.ProjectSystem.DefaultProjectSnapshotManager.DocumentAdded(HostProject hostProject, HostDocument document, TextLoader textLoader)at Microsoft.CodeAnalysis.Razor.ProjectSystem.RazorProjectHostBase.AddDocumentUnsafe(HostDocument document)at Microsoft.CodeAnalysis.Razor.ProjectSystem.DefaultRazorProjectHost.<>c__DisplayClass7_1.b__2()at Microsoft.CodeAnalysis.Razor.ProjectSystem.RazorProjectHostBase.d__17.MoveNext()--- End of stack trace from previous location where exception was thrown ---