[C#] Windows Service 無法指定相對路徑 @ 毛哥資訊日誌 :: 痞客邦 PIXNET ::
[C#] Windows Service 無法指定相對路徑 解決辦法: 使用以下兩個命名空間 using System.Reflection; using System.IO; string assemblyFilePath = Assembly.GetExecutingAssembly().Location; string assemblyDirPath = Path.GetDirectoryName ...
awei791129.pixnet.net |