System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();1.程序集的版本信息由下面四个值组成:主版本、次版本、内部版本号、修订号,以实心原点分开;2.设置的版本信息不足的部分会依次自动补零,如下所示...
在部署sharepoint 2013解决方案wsp包时,出现一个错误:
部署步骤“添加解决方案”中出现错误: 已在此服务器场中安装 ID 为 735efe4e-8b50-4310-b588-c6ae2ba0759f 的功能。请使用强制属性显式地重新安装此功能。
英文报错如下:
Error occurred in deployment step 'Add Solution': A featur...
分类:
其他好文 时间:
2015-01-13 12:37:57
阅读次数:
169
OpenFileDialog obj = new OpenFileDialog();
if (obj.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ Assembly ass = Assembly.LoadFrom(obj.FileNa...
分类:
其他好文 时间:
2015-01-12 20:51:15
阅读次数:
123
自从VS2010发布之后使用它来做开发的程序员越来越多,其中很多人使用了MVC来作为新的开发框架,但是在系统部署的时候我们也遇到诸多问题,因为目前大多数windows服务器采用的还是Windows Server 2003,所以我们就需要在服务器上安装.net framework 3.5 或4.0 之...
分类:
Web程序 时间:
2015-01-12 17:24:55
阅读次数:
4419
#region 程序集属性访问器 public string AssemblyTitle { get { object[] attributes = Assembly.GetExecu...
分类:
其他好文 时间:
2015-01-12 14:18:01
阅读次数:
138
打开Nuget 程序包管理控制台输入:Enable-Migrations 回车如果正确的话 则显示已为项目 xxx启用 Code First 迁移。我在这里说下 几种有可能出现的错误:1.No context type was found in the assembly xxx在当前项目中 没有找到...
分类:
其他好文 时间:
2015-01-12 11:22:21
阅读次数:
165
InadefaultJettyinstallation,Jettyscansits$JETTY_HOME/webappsdirectoryforcontextdeploymentdescriptorfiles.Todeployawebapplicationusingsuchafile,simplyplacethefileinthatdirectory.ThedeploymentdescriptorfileitselfisanxmlfilethatconfiguresaWebAppContextclass.Fo..
分类:
其他好文 时间:
2015-01-10 18:35:08
阅读次数:
323
.NET FrameWork是用于Windows的新托管代码编程模型,它包含CLR(Common Language Runtime)以及BCL(Base CLass Library)构成。
一、CLR
1、CLR是什么?
Common Language Runtime,公共语言运行时,和JVM(Java Virtual Machine,Java虚...
分类:
Web程序 时间:
2015-01-09 20:57:30
阅读次数:
214
原文:
https://www.ssllabs.com/downloads/SSL_TLS_Deployment_Best_Practices_1.3.pdf
译者: Shawn the R0ck,(后面校正的自己加到后面)
SSL/TLS部署最佳实践
作者:Ivan Risti?
version 1.3 (17 September ...
分类:
其他好文 时间:
2015-01-09 12:51:15
阅读次数:
171
在WinForm或Console应用程序中,要使用Log4Net组件,需要在AssembleInfo.cs文件中添加如下代码,表示要使用的配置文件信息:[assembly: log4net.Config.XmlConfigurator(ConfigFile = "./LearnLog4Net.exe...
分类:
Web程序 时间:
2015-01-08 22:36:18
阅读次数:
212