我的超级顾问来自一个非网络背景,希望我利用他的特殊版本的编号办法作为主要人物。 他想能够就弹片进行右侧扫描,看像这个版本的编号,或从Dll或Exe提取数字显示。 我看不出,我的研究也说,管理系统只是支持这种事情。 我需要一份工作。 任何想法?
Oh Yesah, coding in VS2008 VB. 视窗XPPro SP3。
感谢!
我的超级顾问来自一个非网络背景,希望我利用他的特殊版本的编号办法作为主要人物。 他想能够就弹片进行右侧扫描,看像这个版本的编号,或从Dll或Exe提取数字显示。 我看不出,我的研究也说,管理系统只是支持这种事情。 我需要一份工作。 任何想法?
Oh Yesah, coding in VS2008 VB. 视窗XPPro SP3。
感谢!
Nope。 你们可以看到:
<代码>Version 类别有Int32
所有版本组成部分的数值,并且能够相互比较版本编号。
Excerpt:
Version numbers consist of two to four components: major, minor, build, and revision. The major and minor components are required; the build and revision components are optional, but the build component is required if the revision component is defined. All defined components must be integers greater than or equal to 0. The format of the version number is as follows (optional components are shown in square brackets ([ and ]):
I know this is an old post, but I ran across this today. https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assemblyinformationalversionattribute?view=net-5.0
很显然,这一属性自1.Net以来就一直存在。 你们也可以在档案库中使用非标准版本,但你们会得到汇编者警告。 如果按正确格式计算,议会就赢得了汇编。 信息变迁显然是什么。
如果你设定了一种非标准的文件记录器,Windows Property就试图把它作为正常版本加以分类,例如,在下面的屏幕上,RC1号被删除。 如果你提出某种非意见(如bla),那么它就成为案卷的0.0。
在您的法典中,如果你是WinForms项目,你可以查阅Application的新信息版本。 ProductsVersion
。 对于非木材,为了避免将温Forms DLL射入记忆,你基本上可以从申请参考来源代码中复制该守则。 产品动力。 不管怎么说,如果你想要在你的法典中做任何类型的比较逻辑,如果你能够立即把它作为版本标语,那么你就必须写上你自己的座子。
Assembly entryAssembly = Assembly.GetEntryAssembly();
if (entryAssembly != null) {
object[] attrs = entryAssembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false);
if (attrs != null && attrs.Length > 0) {
productVersion = ((AssemblyInformationalVersionAttribute)attrs[0]).InformationalVersion;
}
}
If you want to install these applications using an installer that uses Microsoft installer technology (MSI), then the maximum granularity that is available is three digits (i.e. 1.1.1) and you are constrained to a fixed, positive numeric range for each number:
前两个领域(主要和次要领域)可能不超过255个,最后一个领域(修订)可能不超过65535个。
有一个视觉演播室,我总是使用。 它确实运作良好。 http://autobuildversion.codeplex.com/“rel=“nofollow”>Build edition Increment。 很有必要的是,你可以召集会议,每当你在视觉演播室做一个建筑和(或)重建时,为你们创造版数(并加固)。
It supports Visual Studio 2005 and 2008. There is now also a version released for Visual Studio 2010. Build Version Increment modifies your Assembly.cs file. I always set it to modify and increment my AssemblyVersion. Then in code, to get the version and display it on my form, I use the following code:
string strAssemblyVersion = "Version " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
我希望这有助于你。
As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....
I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...
I ve got some code which sets up a datacontext. Often enough, the datacontext should be set to some underlying data collection, such as an ObservableCollection - but occasionally I d like to set it ...
I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...
NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...