This content originally appeared on DEV Community and was authored by FakeStandard
當程式要佈署在具有 IIS 的主機上時,需安裝程式要使用的 .NET Framework 版本,但主機上究竟有沒有程式需要的版本,可以使用幾種方式查詢,最快的方法是使用 Power Shell 下指令直接查詢
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full'
如此一來就能判斷主機上已安裝的 .NET Framework 版本
This content originally appeared on DEV Community and was authored by FakeStandard
FakeStandard | Sciencx (2024-11-12T07:00:59+00:00) 用 Power Shell 查詢 .NET Framework 版本. Retrieved from https://www.scien.cx/2024/11/12/%e7%94%a8-power-shell-%e6%9f%a5%e8%a9%a2-net-framework-%e7%89%88%e6%9c%ac/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.