我试图构建和发布我的项目,突然之间,它将不再构建。请注意,我的计算机在发布到Azure期间确实关闭了,所以这可能与它有关吗?无论如何,我正在尝试仅构建我的项目,并且不再构建它,但是没有给出关于为什么不构建它的错误消息。我尝试清除nuget缓存,但仍然生成失败:
Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the NuGet Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
Running restore with 4 concurrent jobs.
Reading project file C:\Users\sagarpatel\Statum\Workspace\Full\StatumHealth\StatumHealth.csproj.
Reading project file C:\Users\sagarpatel\Statum\Workspace\Full\StatumHealth\StatumHealth.csproj.
The restore inputs for 'microsoft.visualstudio.web.codegeneration.tools-netcoreapp2.1-[2.0.2, )' have not changed. No further actions are required to complete the restore.
The restore inputs for 'StatumHealth' have not changed. No further actions are required to complete the restore.
Committing restore...
Tool assets file has not changed. Skipping assets file write. Path: C:\Users\sagarpatel\.nuget\packages\.tools\microsoft.visualstudio.web.codegeneration.tools\2.0.2\netcoreapp2.1\project.assets.json
No-Op restore. The cache will not be updated. Path: C:\Users\sagarpatel\.nuget\packages\.tools\microsoft.visualstudio.web.codegeneration.tools\2.0.2\netcoreapp2.1\microsoft.visualstudio.web.codegeneration.tools.nuget.cache
Restore completed in 44.27 ms for C:\Users\sagarpatel\Statum\Workspace\Full\StatumHealth\StatumHealth.csproj.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: C:\Users\sagarpatel\Statum\Workspace\Full\StatumHealth\obj\project.assets.json
No-Op restore. The cache will not be updated. Path: C:\Users\sagarpatel\Statum\Workspace\Full\StatumHealth\obj\StatumHealth.csproj.nuget.cache
Restore completed in 41.29 ms for C:\Users\sagarpatel\Statum\Workspace\Full\StatumHealth\StatumHealth.csproj.
NuGet Config files used:
C:\Users\sagarpatel\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
1>------ Build started: Project: StatumHealth, Configuration: Debug Any CPU ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
有关如何解决此问题的任何建议?没有显示任何错误或不兼容的程序包,这使我无法发布项目。