摘要: D:\NetCoreDemo\coreconsole>dotnet new使用情况: new [选项] dotnet new console o d:\txwtech11 选项: -h, --help 显示有关此命令的帮助。 -l, --list 列出包含指定名称的模板。如果未指定名称,请列出所有模 阅读全文
posted @ 2022-04-21 18:07 txwtech 阅读(442) 评论(0) 推荐(0)
摘要: devenv.exe不是内部命令win10添加环境变量无效怎么办 解决步骤: 原来是因为环境变量配置后需要重新打开cmd 1、关闭cmd命令窗口 2、再次在运行里输入cmd命令 3、在cmd窗口里输入devenv,环境变量设置成功了。 阅读全文
posted @ 2022-04-21 18:02 txwtech 阅读(597) 评论(0) 推荐(0)
摘要: C#入门(使用命令行创建c#控制应用台程序) C#入门 $ donet new console -n HelloWorld 一、创建项目 dotnet new console -o consoleApp 1 创建了一个名为consoleApp的控制台应用程序 二、构建项目 cd consoleApp 阅读全文
posted @ 2022-04-21 16:48 txwtech 阅读(307) 评论(0) 推荐(0)
摘要: c#获取程序版本号Properties-AssemblyInfo.cs里面改 或者项目-右键-属性-应用程序-程序集信息 Content.Text = "程序集版本:" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Ver 阅读全文
posted @ 2022-04-21 12:02 txwtech 阅读(997) 评论(2) 推荐(0)