如何从另一个项目运行项目 [英] How to run a project from another project

查看:80
本文介绍了如何从另一个项目运行项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个使用visual studio 2008开发的项目。

i希望用一个带有两个按钮的mdi运行这个项目怎么做...我试着添加exe文件作为参考然后



real_estate.GUI.mdi_real_estate obj_real_estate = new real_estate.GUI.mdi_real_estate();

obj_real_estate.show();



但是出现了一个错误,无法从汇编版本等加载类型...... br />


请帮帮我

解决方案

如果您已构建可执行文件,则可以使用流程类 [ ^ ]。

问题是程序集名称相同我刚刚更改了程序集名称,现在工作正常......:)


i have two project developed with visual studio 2008.
i want to run both project with one mdi with two buttons how to do that.. i had try to add exe file as reference then

real_estate.GUI.mdi_real_estate obj_real_estate = new real_estate.GUI.mdi_real_estate();
obj_real_estate.show();

but one error is coming that "could not load type from assembly version etc..."

please help me

解决方案

If you have built the executables the you may launch them using the Process class[^].


the problem is assembly names are same i had just changed the assemble name now its working fine... :)


这篇关于如何从另一个项目运行项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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