tag:blogger.com,1999:blog-3150901600152577599.post3938577656527025663..comments2022-08-09T09:59:56.726+10:00Comments on Do The Right Things: Recipe to add assembly version to Matlab NE Builder produced assemblyL. Marhttp://www.blogger.com/profile/12467212807268032119noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3150901600152577599.post-38364654179350716922014-01-12T19:59:07.274+10:002014-01-12T19:59:07.274+10:00This step is not Matlab specific but a standard bu...This step is not Matlab specific but a standard build process of any .Net assembly.<br /><br />The AssemblyInfo.cs contains among other assembly identification information the most relevant piece in this discussion, the AssemblyVersion.<br /><br />Including this file into the response file ensure that the build process will include the version number with your final Matlab assembly. In the standard Matlab build, this is not defined and hence resulting in version 0.0.0.0.L. Marhttps://www.blogger.com/profile/12467212807268032119noreply@blogger.comtag:blogger.com,1999:blog-3150901600152577599.post-81321372247420339092014-01-10T00:06:25.385+10:002014-01-10T00:06:25.385+10:00What do you mean with "5. Add AssemblyInfo.cs...What do you mean with "5. Add AssemblyInfo.cs to the response file"?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3150901600152577599.post-14880232827254082902012-08-29T21:59:11.710+10:002012-08-29T21:59:11.710+10:00You are correct in that the output DLL does not ha...You are correct in that the output DLL does not have the CTF as we deliberately not embedding it. The message you are referring to does has one <b>key</b> instruction missing. That is the use of /linkres in the CSC compiler to define a resource (external) linkage to the CTF file. Without this you will have to manually carry this CTF to the location of the DLL. <br /><br />Please refer to my other message http://do-the-right-things.blogspot.com.au/2011/05/complete-build-process-of-matlab.html for discussion of this. If you have provided an e-mail address, I can discuss this matter with you.<br /><br />We have used this technique in many Matlab NE generated project.L. Marhttps://www.blogger.com/profile/12467212807268032119noreply@blogger.comtag:blogger.com,1999:blog-3150901600152577599.post-10926755426224535652012-08-29T21:43:45.665+10:002012-08-29T21:43:45.665+10:00The output DLL comes without CTF file embedded in ...The output DLL comes without CTF file embedded in it, and it doesn't workAnonymousnoreply@blogger.com