<system.web>
<!-- 在一个VB项目中,
c#文档(.cs)位于项目/App_Code/csharp/
添加如下设置即可
-->
<compilation defaultLanguage="vb" debug="true">
<codeSubDirectories>
<add directoryName="csharp"/>
</codeSubDirectories>
<!-- 在一个VB项目中,
c#文档(.cs)位于项目/App_Code/csharp/
添加如下设置即可
-->
<compilation defaultLanguage="vb" debug="true">
<codeSubDirectories>
<add directoryName="csharp"/>
</codeSubDirectories>
本文介绍了一种在VB.NET项目中使用C#代码的方法。通过配置web.config文件,可以在App_Code目录下指定子目录存放C#源文件(.cs),实现VB与C#的混合编程。
9021

被折叠的 条评论
为什么被折叠?



