zoukankan
html css js c++ java
获取CodeSmith的版本号
private
CodesmithVersion GetCodesmithVersion()
{
try
{
string
version
=
typeof
(CodeTemplate).Assembly.GetName().Version.ToString();
if
(version
!=
null
)
{
if
(version.IndexOf(
"
3.2
"
)
>=
0
)
return
CodesmithVersion.Codesmith32;
else
if
(version.IndexOf(
"
3.1
"
)
>=
0
)
return
CodesmithVersion.Codesmith31;
else
if
(version.IndexOf(
"
3.0
"
)
>=
0
)
return
CodesmithVersion.Codesmith30;
else
if
(version.IndexOf(
"
2.6
"
)
>=
0
)
return
CodesmithVersion.Codesmith26;
}
}
catch
{
//
could not discover version info.
}
return
CodesmithVersion.Unknown;
}
查看全文
相关阅读:
Matlab Tricks(二十九) —— 使用 deal 将多个输入赋值给多个输出
释名 —— 名称的含义、来源
Eclipse快捷键 今天又学会了几个不常用的 收藏了
HDU 2527
UVAlive 2326 Moving Tables(贪心 + 区间问题)
STM32关于优先级设定的理解 NVIC_SetPriority()
linux6.2安装mysql
【PAT】1009. Product of Polynomials (25)
Android的重力传感器(3轴加速度传感器)简单实例
out/target/common/obj/PACKAGING/public_api.txt android.view.KeyEvent.KEYCODE_has changed value from
原文地址:https://www.cnblogs.com/fjchenq/p/525285.html
最新文章
Mahjong tree (hdu 5379 dfs)
tcp 三次握手和四次断连深入分析:连接状态和socket API的关系
在线java反编译服务
hdu 4444 Walk (离散化+建图+bfs+三维判重 好题)
【转】搭建Python的Eclipse开发环境之安装PyDev插件--离线安装
【转】Eclipse和PyDev搭建完美Python开发环境(Ubuntu篇)
【转】Ubuntu搭建Eclipse+JDK+SDK的Android
【转】Ubuntu 12.04 安装JDK 8和Eclipse
【转】eclipse怎么设置字体大小
【转】使用Python的IDE:Eclipse+PyDev
热门文章
【转】安装Django
【转】Python 代码调试技巧
数学辨异 —— 泰勒展开与等比数列求和
正弦信号、余弦信号与复指数信号(欧拉公式)
正弦信号、余弦信号与复指数信号(欧拉公式)
信号空间
信号空间
静电学
机器学习: t-Stochastic Neighbor Embedding 降维算法 (一)
Matlab Tricks(二十九) —— 使用 deal 将多个输入赋值给多个输出
Copyright © 2011-2022 走看看