簡體   English   中英

.NET Core未找到指定的框架“Microsoft.NETCore.App”,版本“1.1.2”

[英].NET Core The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found

完整日志

It was not possible to find any compatible framework version
The specified framework **Microsoft.NETCore.App**, version _1.1.2_ was not found.
  - Check application dependencies and target a framework version installed 
at:
      \
  - Alternatively, install the framework version '1.1.2'.

瀏覽器說:

HTTP Error 502.5 - Process Failure

我試圖在Windows 2008 IIS 7服務器上運行我的APP。 我創建了一個名為NetCore的新應用程序池並將其分配給我的站點。

我在服務器上安裝了.NET Core 2.0.2 SDK。 我還安裝了Windows Server Hosting。

我的csproj設置為netcoreapp1.1

我已經閱讀了Github上的所有相關帖子都無濟於事。

嘗試下載/安裝版本1.1.2.NET Core從您的服務器上這里 我相信您必須擁有與您的應用匹配的SDK版本。

檢查系統環境變量“PATH”。 路徑“C:\\ Program Files \\ dotnet \\;” 應該在路徑“C:\\ Program Files(x86)\\ dotnet \\”之前。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM