[英]Using two projects with different configuration settings in a single solution visual studio
I am using aa single solution to reside two projects in visual studio 2012. 我正在使用一个解决方案在Visual Studio 2012中驻留两个项目。
Project 1: 项目1:
Project 1: 项目1:
the solution runs like this. 解决方案是这样运行的。
the window from wpf application opens up as startup window. 来自wpf应用程序的窗口将作为启动窗口打开。 from here a button is pressed to open a form in winform project. 从这里按下按钮以在Winform项目中打开一个表单。
Problem: if i keep the configuration as any cpu, the winform window wont open up and give an error. 问题:如果我将配置保留为任何cpu,则winform窗口不会打开并给出错误。 If i keep the configuration as x86 the wpf would give an error becasue the mlapp (matlab application) i am using wont be recognised. 如果我将配置保留为x86,则wpf会给出错误,因为我正在使用的mlapp(matlab应用程序)不会被识别。
please help. 请帮忙。
The solution is to set individual projects to respective configurations as per requirement and then setting the overall solution configuration to "mixed platforms". 解决方案是根据需求将各个项目设置为相应的配置,然后将整体解决方案配置设置为“混合平台”。 it worked 有效
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.