.NET 程序集和版本元素顺序 - 使用major.minor.revision.build查找问题
如果我不遵循 Microsoft 版本顺序,我是否会遇到麻烦? .NET 使用 major.minor.build.revision ,而我现有的 C++ 使用 major.minor.revision.build (尽管我们将“修订版”称为补丁)。
我希望在构建的两侧之间采用一种方法,并且希望避免更改 C++ 版本策略带来的影响。我宁愿使用major.minor.revision.build .NET,但我担心这会导致.NET 如何查找和加载程序集出现问题,特别是在补丁/部分升级情况下。
有谁知道更改顺序会产生什么影响?
谢谢
彼得
Am I looking for trouble if I don't follow the Microsoft version order? .NET uses major.minor.build.revision and my exiting C++ use major.minor.revision.build (although we refer to "revision" as patch).
I want one approach between the two sides of my build and I want to avoid fallout from changing my C++ version strategy. I'd rather use major.minor.revision.build .NET but I'm concerned that this will lead to problems with how .NET finds and loads assemblies especially in patch/partial upgrade situations.
Does anyone know what the impact would be of changing the order?
Thanks
Peter
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据它的结构,您可能会收到编译器警告,表明它不是推荐的格式;但是,如果您只是按顺序使用它们,就不会有任何问题。只要您保持一致并且有详细记录,那么您应该是安全的。我说的是有据可查,这样维护你的代码的其他人就不会犯错误。同样,一致性是关键。
Depending on how it's structured you may get compiler warnings that it's not the recommended format; however you shouldn't have any issues if you're just using them in that order. As long as you're consistent and this is well documented, then you should be safe. I say well documented so that anyone else that maintains your code will not make a mistake. Again consistency is key.