你可以混合在单个项目中的.NET语言? [英] Can you mix .net languages within a single project?
本文介绍了你可以混合在单个项目中的.NET语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你能混个单个项目中的.NET语言?所以pre-编译的,我想调用的其他源文件的类和方法。
Can you mix .net languages within a single project? So pre-compiled, I would like to call classes and methods of other source files.
有关Web和应用程序?
For both web and apps?
在特定的我很想在F#和C#。
In particular I'd be interested in F# and C#.
推荐答案
您可以在<一个单一的组件混合语言href="http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-B4AD-4EAE-87CF-B14AE6A939B0&displaylang=en">ILMerge和的MSBuild 。
<一个href="http://www.hanselman.com/blog/MixingLanguagesInASingleAssemblyInVisualStudioSeamlesslyWithILMergeAndMSBuild.aspx">Here关于它的一个很好的例子。
Here is a very good example about it.
这篇关于你可以混合在单个项目中的.NET语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文