[研究][ASP.NET] NuGet 升級 Oracle.ManagedDataAccess.21.4.0 -> Oracle.ManagedDataAccess.21.5.0
2021-12-02
Oracle.ManagedDataAccess.21.4.0 -> Oracle.ManagedDataAccess.21.5.0
更新:
Microsoft.Bcl.AsyncInterfaces.5.0.0 -> Microsoft.Bcl.AsyncInterfaces.6.0.0
Oracle.ManagedDataAccess.21.4.0 -> Oracle.ManagedDataAccess.21.5.0
System.Runtime.CompilerServices.Unsafe.5.0.0 -> System.Runtime.CompilerServices.Unsafe.6.0.0
System.Text.Encodings.Web.5.0.1 -> System.Text.Encodings.Web.6.0.0
System.Text.Json.5.0.2 -> System.Text.Json.6.0.0
已開始重建...
1>------ 已開始全部重建: 專案: WebApplication1, 組態: Debug Any CPU ------
1> WebApplication1 -> D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>------ 已開始全部重建: 專案: WebApplication1.Tests, 組態: Debug Any CPU ------
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 不同版本的 "System.Runtime.CompilerServices.Unsafe" 之間發生無法解決的衝突。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: "System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 和 "System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 之間發生衝突。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 已選擇 "System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",因為它是主要組件,而 "System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 不是。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 相依於 "System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [D:\Code\WebApplication1\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll] 的參考。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: System.Diagnostics.DiagnosticSource, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\packages\System.Diagnostics.DiagnosticSource.5.0.1\lib\net46\System.Diagnostics.DiagnosticSource.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\packages\System.Diagnostics.DiagnosticSource.5.0.1\lib\net46\System.Diagnostics.DiagnosticSource.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: System.Diagnostics.DiagnosticSource, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: System.Diagnostics.DiagnosticSource, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\System.Threading.Tasks.Extensions.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\WebApplication1\bin\System.Threading.Tasks.Extensions.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\System.Text.Encoding.CodePages.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\WebApplication1\bin\System.Text.Encoding.CodePages.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 相依於 "System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [D:\Code\WebApplication1\WebApplication1\bin\System.Runtime.CompilerServices.Unsafe.dll] 的參考。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\System.Text.Json.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\WebApplication1\bin\System.Text.Json.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\System.Text.Encodings.Web.dll
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: 專案檔項目 Include 造成參考 "D:\Code\WebApplication1\WebApplication1\bin\System.Text.Encodings.Web.dll" 的項目。
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3277: D:\Code\WebApplication1\WebApplication1\bin\WebApplication1.dll
2> WebApplication1.Tests -> D:\Code\WebApplication1\WebApplication1.Tests\bin\Debug\WebApplication1.Tests.dll
========== 全部重建: 2 成功、0 失敗、 0 略過 ==========
|
後來發現方案中有2個專案,其中一個專案的 System.Runtime.CompilerServices.Unsafe.仍是 5.0.0,升級上去就解決了。
(完)
沒有留言:
張貼留言