我的專案是32bit Framwork4.0 建立Costura32資料夾放入非託管DLL
Compile後結果出現錯誤
Fody: An unhandled exception occurred: Exception: Failed to execute weaver D:\..\netclassicweaver\Costura.Fody.dll
之後升級到Framwork4.7.2才編譯的過
另外透過nuget下載package有發現一個雷,下載package時可能會出現以下訊息
嚴重性 程式碼 說明 專案 檔案 行 隱藏項目狀態 錯誤 找不到路徑 'D:\xxxxx\03.Project\xxxxx\SourceCode\xxxxxxxxxxxxxxxxxxxxxxxxxx\xxxxxxxx\packages\NETStandard.Library.2.0.3\build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll' 的一部分。
搞了好久才發現是我的路徑名太長..... 記得養成好習慣縮短路徑跟檔案名稱.....