跳到主要內容

發表文章

變更 Visual Studio 連接 TFS 密碼

開啟 認證管理員 選擇 Windows 認證 編輯並變更密碼 完成~
最近的文章

Fortify 排除 "Error performing ASP.NET Precompilation" 步驟

參考資料:https://wiki.mobilehealth.va.gov/pages/viewpage.action?pageId=26772105 Step 1: devenv Sample .sln /Rebuild Debug Step 2: sourceanalyzer -b Solution1 -clean Step 3: sourceanalyzer -b Solution1 -Xmx1280M -Xss8M -debug -logfile trans.log devenv Sample .sln /Rebuild Debug Step 3.5: 若出現錯誤 Error performing ASP.NET Precompilation 刪除專案中 obj\debug & obj\release 可排除大部分問題 Step 4: sourceanalyzer -b Solution1 -Xmx1280M -Xss8M -debug -logfile scan.log -scan -f Results.fpr

asp.net web.config db connection加密通過Fortify掃描

系統管理員身分開啟 cmd 前往目錄 cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 執行加密 aspnet_regiis.exe -pef connectionstring連線字串.config目錄 執行解密 aspnet_regiis.exe -pectionstrings C:\~\連線字串.config目錄 connectionstrings: 指定加密的tag 加解密必須同一台電腦,或使用金鑰

iOS Static Library 實作筆記

讓Reference的專案可發佈 TARGETS→Build Settings→All Search: custom Apple LLVM 7.1Custom Compiler Flags 設定: -fembed-bitcode  發佈(匯出) {專案名}.a 選擇 Simulator → Build → Product {專案名}.a Show in Finder→ 更名 {專案名}_simulator.a→ 拉至Desktop\{專案名}資料夾 選擇 Generic iOS Device → Build →Product {專案名}.a Show in Finder→ 更名 {專案名}_device.a→ 拉至Desktop\{專案名}資料夾 開啟終端機→ 進入Desktop\{專案名}資料夾→ 執行: lipo -create "{專案名}_device.a" "{專案名}_simulator.a" -output "{專案名}.a"