Приложение ASP.Net не удается собрать, но ошибки не отображаются - PullRequest
0 голосов
/ 13 июня 2019

Я пытаюсь создать и опубликовать свой проект, и вдруг он больше не будет собираться. Просто обратите внимание, что мой компьютер выключился во время публикации в 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 ==========

Есть предложения, как это исправить? Мне не показывают никаких ошибок или несовместимых пакетов, и это мешает мне опубликовать мой проект.

...