使用clr / cli c ++ dll依赖项创建Winodws项目 [英] Creating Winodws Project with clr/cli c++ dll dependency

查看:98
本文介绍了使用clr / cli c ++ dll依赖项创建Winodws项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目是使用vs2010构建的.net c#,其中包含使用clr / cli接口构建的c ++ dll。我的c ++ dll使用其他openssl dll(包括.obj文件)作为依赖项。如何使用此项目结构创建Windows安装程序。简单地添加所有文件,右键单击文件夹

像这样:



http://stackoverflow.com/questions/19529604/include-file-dependencies-in-setup-project [ ^ ]



不起作用,我得到安装后设置失败的错误。

my project is built in .net c# with vs2010 that includes a c++ dll built using clr/cli interface. My c++ dll uses other openssl dll ( including .obj files) as dependency. how do i create windows setup with this project structure. simple adding all the files with right click in folder
like this :

http://stackoverflow.com/questions/19529604/include-file-dependencies-in-setup-project[^]

does not work, i get error that setup falied to start after installing.

推荐答案

尝试链接到c运行时的静态版本看看是否能解决问题
try to link to static version of c runtime and see if that solve the problem


这篇关于使用clr / cli c ++ dll依赖项创建Winodws项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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