jenkins文件中的C ++非托管代码版本控制 [英] C++ unmanaged code versioning in jenkins file

查看:89
本文介绍了jenkins文件中的C ++非托管代码版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,





我正在使用jenkins文件groovy概念。



我试图通过Jenkins部署非托管C ++代码。



我将从Nexus网站获得版本号。



我想知道如何通过修改assemblyinfo.cpp文件来实现对exe文件的版本控制。



在net中我只能看到托管代码版本。



能帮帮我...



谢谢,

Srinivas。



我尝试了什么:



我尝试过修改所有AssemblyInfo.cpp,但没有运气

Hi Team,


I am using jenkins file groovy concept.

I am trying to deploy unmanaged C++ code via Jenkins.

Build version number i will get from Nexus site.

I want to know how to implement versioning to exe file by modifying assemblyinfo.cpp file.

In net i m able to see only managed code versioning.

Could you please help me...

Thanks,
Srinivas.

What I have tried:

I tried to modify all the AssemblyInfo.cpp, but no luck

推荐答案

assemblyinfo.cpp文件是C ++ / CLI(即托管代码)系统的一部分,不用于非托管项目。如果您想在项目中进行版本控制,那么您需要在资源脚本VERSIONINFO部分中进行版本控制。
The assemblyinfo.cpp file is part of the C++/CLI (i.e. managed code) system and not used in unmanaged projects. If you want versioning in your project then you need to do it in your resource script VERSIONINFO section.


这篇关于jenkins文件中的C ++非托管代码版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆