2019/10/16

找不到路徑 bin\roslyn\csc.exe 的一部分

這是從github把專案抓下來進行編譯時所發生的命案

將如下的內容加入到 *.csproj檔案 再重新開始偵錯便即可解決


c# - Could not find a part of the path ... bin\roslyn\csc.exe - Stack Overflow
https://stackoverflow.com/questions/32780315/could-not-find-a-part-of-the-path-bin-roslyn-csc-exe

找不到 roslyn\csc.exe ?! - Yowko's Notes
https://blog.yowko.com/missing-roslyn-csc/

[.NET] Web API找不到 bin 底下的 roslyn csc.exe ? ~ m@rcus 學習筆記
https://marcus116.blogspot.com/2018/11/net-web-api-bin-roslyn-cscexe.html

{oc.tech.notes} 技術誌: [ASP.NET MVC] 解決 DirectoryNotFoundException 找不到路徑 bin\roslyn\csc.exe 的問題
https://devmanna.blogspot.com/2019/06/aspnet-mvc-directorynotfound-roslyn.html

2019/07/11

解決No EditorOptionDefinition export found for the given option name問題

在某此電腦鎖定後,再登入Windows就發生了這項狀況,解決的步驟如下

1.關閉Visual Studio
2.開啟資料夾%LocalAppData%\Microsoft\VisualStudio\12.0\
3.重新命名ComponentModelCache資料夾
4.重開Visual Studio

c# - No EditorOptionDefinition Export Found Error - Stack Overflow
https://stackoverflow.com/questions/23893497/no-editoroptiondefinition-export-found-error

解決VS打開文件出現No EditorOptionDefinition export found for the given option name問題 - BlinkZero的博客 - CSDN博客
https://blog.csdn.net/blinkzero/article/details/51906312

2019/05/23

轉貼ASP.Net WebForm Page事件發生先後順序

沒有使用 Master Page 情況下:
Page.PreInit
Page.Init
Page.InitComplete
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete

使用了 MasterPage 情況, MasterPage 與 ContentPage 事件順序:
ContentPage.PreInit
Master.Init
ContentPage.Init
ContentPage.InitComplete
ContentPage.PreLoad
ContentPage.Load
Master.Load
ContentPage.LoadComplete
ContentPage.PreRender
Master.PreRender
ContentPage.PreRenderComplete

[ASP.NET] Page事件發生先後順序 @ 我要回家想一想~ :: 痞客邦 ::
http://jojosula001.pixnet.net/blog/post/161458889

ASP.NET 網頁存留週期概觀
https://technet.microsoft.com/zh-tw/ms178472(v=vs.71)

2019/05/22

以NPOI為例,使用ASP.NET MVC 匯出Excel

原本想說從WebForm到MVC寫法會不會有什麼不同,結果沒想到幾乎是一模一樣

以下展示範例:

2019/05/14

[ASP.NET]ASP.NET WebForm 使用表單驗證登入

除了用Session外,ASP.NET提供了表單驗證登入的機制

以下簡單的範例展示

WebConfig

2019/04/15

羅技滑鼠左鍵失靈簡易排除法:「狂點滑鼠2-3分鐘」

有一天我滑鼠左鍵按住不放失靈的時候

想問同事公司附近有沒有在修滑鼠微動的店家

同事跑來看一下我的滑鼠,隨後告訴了我以下的方法: