Windows 10 & Visual Studio 2019 Tools (edit)
Download Windows 10 SDK
Windows 10 SDK - Windows app development (microsoft.com)
Download Visual Studio 2019 Enterprise
Download Visual Studio 2019 for Windows & Mac (microsoft.com)
Download StandaloneProfiler & RemoteTools
https://aka.ms/vs/16/release/RemoteTools.amd64ret.enu.exe
https://aka.ms/vs/16/release/StandaloneProfiler.amd64ret.enu.exe
1) Dumpchk.exe
Bạn có thể dùng Dump Check Utility (Dumpchk.exe) để xem file *.dmp
2) icACLs là viết tắt của Integrity Control Access Control List
C:\Windows\system32\icacls.exe
3) cACLs là viết tắt của control Access Control List
C:\Windows\system32\cacls.exe
4) xCopy.exe
C:\Windows\System32\xcopy.exe
5) AppCmd.exe
C:\Windows\System32\inetsrv\appcmd.exe
6) MSBuild.exe
Location of MSBuild.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
7) InstallUtil.exe
Tool dùng để cài đặt Windows Service
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe
8) Csc.exe
Tự biên dịch C# Console bằng DOS với csc.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
9) WinDbg.exe & Gflags.exe
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\gflags.exe
Các đường dẫn của các tools trong Visual Studio 2019 Enterprise
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools\Setups\vs_profiler_x64_enu.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools\Setups\vs_profiler_x86_enu.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\VsRegEdit.exe
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\VSPerfASPNetCmd.exe
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\x64\VSPerfCLREnv.cmd
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\x64\VSPerfCmd.exe
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\x64\VSPerfMon.exe
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\x64\VSPerfSrv.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools\vsinstr.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools\vsinstr.legacy.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Performance Tools\VSPerfReport.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\DiagnosticsHub\Collector\VSDiagnostics.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe
Các đường dẫn của các tools trong Windows 10 SDK
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\xsd.exe
Các đường dẫn của SQL Server Local DB
C:\Users\manhn\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances
Các đường dẫn của .NET Framework
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
Các đường dẫn của các IIS Tools
C:\Windows\system32\icacls.exe
%windir%\system32\icacls.exe
C:\Windows\system32\inetsrv\appcmd.exe
%windir%\system32\inetsrv\appcmd.exe
Cách tìm đường dẫn của Visual Studio ở trên máy sau khi cài đặt
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild
Các đường dẫn mà developer hay dùng
%ProgramData% ( C:\ProgramData )
%ProgramFiles% ( C:\Program Files )
%ProgramFiles(x86)% ( C:\Program Files (x86) )
%SystemRoot% ( C:\Windows thư mục gốc của hệ điều hành)
%WinDir% ( C:\Windows thư mục gốc của hệ điều hành)
%LocalAppData% ( C:\Users\manhn\AppData\Local )
%AppData% ( C:\Users\manhn\AppData\Roaming )
%SystemRoot%\Minidump\ ( chứa các tệp Windows Memory Dump có phần mở rộng .dmp là những file hệ thống được lưu trữ ở định dạng nhị phân)
C:\windows\System32\drivers\etc\hosts ( chứa tệp hosts lưu trữ tên miền Domain được trỏ tới hoặc thông tin của các máy chủ )
%WINDIR%\Microsoft.NET\Framework64
C:\Windows\Microsoft.NET\Framework64\v4.0.30319 ( chứa chương trình cài Windows Service )
%WINDIR%\Microsoft.NET\Framework
C:\Windows\Microsoft.NET\Framework\v4.0.30319 ( chứa chương trình cài Windows Service )
On a 64-bit machine running in 64-bit mode:
- echo %programfiles% ==> C:\Program Files
- echo %programfiles(x86)% ==> C:\Program Files (x86)
On a 64-bit machine running in 32-bit (WOW64) mode:
- echo %programfiles% ==> C:\Program Files (x86)
- echo %programfiles(x86)% ==> C:\Program Files (x86)
On a 32-bit machine running in 32-bit mode:
- echo %programfiles% ==> C:\Program Files
- echo %programfiles(x86)% ==> %programfiles(x86)%
Những phần mở rộng file có thể ẩn chứa nguy hiểm, cân nhắc trước khi click, tải về (quantrimang.com)
Using Standard MSBuild Paths with Visual Studio
This section lists the default MSBuild paths for Visual Studio and is intended for informational purposes only.
You can install Visual Studio 2015 and later in a custom path. You need to add the custom path to MSBuild, based on the listed path patterns. A custom path follows the same patterns shown here, starting after the Program Files (x86) directory.
For Visual Studio 2017 and 2019, the first two paths with a Professional directory differ based on your edition of Visual Studio. As appropriate, you can replace Professional with Enterprise or Community. The Visual Studio Preview installation also changes the path based on Enterprise, Professional, or Community.
Tạo ứng dụng Command Line bằng C#
Command-line Building With csc.exe (Part 1) | Nixforest (wordpress.com)
Command-line Building With csc.exe (Part 2) | Nixforest (wordpress.com)
Visual Studio 2019
- Standard Visual Studio Paths
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\amd64\
- Visual Studio Preview Paths
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\amd64\
- MSBuild Tools Paths
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\amd64\
Visual Studio 2017
- Standard Visual Studio Paths
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\
- Visual Studio Preview Paths
C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\MSBuild\15.0\Bin
- MSBuild Tools Paths
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\amd64\
Visual Studio 2015
- C:\Program Files (x86)\MSBuild\14.0\Bin\
- C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\