mac 上 dotnet CLI 的默认模板目录在哪里?
Where is the dotnet CLI's default template directory on mac?
当运行模板安装命令如dotnet new --install MonoGame.Templates.CSharp
时,这个模板文件默认存放在哪个目录?我在 macOS 10.15 上,很难在网上找到任何信息。如有任何帮助,我们将不胜感激!
我找到了答案:
/System/Volumes/Data/Users/[your_mac_username]/.templateengine/dotnetcli/v3.1.101/packages/
此外,我还为Mac的模板位置找到了VS 2019:
/System/Volumes/Data/Users/[your_mac_username]/.templateengine/Visual Studio/8.0/packages
我通过搜索整个驱动器找到它,希望它能在将来节省某人的宝贵时间。
当运行模板安装命令如dotnet new --install MonoGame.Templates.CSharp
时,这个模板文件默认存放在哪个目录?我在 macOS 10.15 上,很难在网上找到任何信息。如有任何帮助,我们将不胜感激!
我找到了答案:
/System/Volumes/Data/Users/[your_mac_username]/.templateengine/dotnetcli/v3.1.101/packages/
此外,我还为Mac的模板位置找到了VS 2019:
/System/Volumes/Data/Users/[your_mac_username]/.templateengine/Visual Studio/8.0/packages
我通过搜索整个驱动器找到它,希望它能在将来节省某人的宝贵时间。