Can you mix .net languages within a single project?

后端 未结 5 858
暗喜
暗喜 2020-12-01 06:35

Can you mix .net languages within a single project? So pre-compiled, I would like to call classes and methods of other source files.

For both web and apps?

<
5条回答
  •  一个人的身影
    2020-12-01 07:34

    You can do it in a web site project versus a compile-first project: http://www.aspnetlibrary.com/articledetails.aspx?article=Use-C-Sharp-and-VB.NET-in-the-same-project. A web site's BuildProvider resolves language elements on-the-fly.

    .NET's BuilderProvider still isn't available for non-web site projects so you're out of luck for standard app mixed Intellisense.

提交回复
热议问题