English 中文(简体)
• 在2010年5月的C#项目中添加vb类
原标题:Can t add vb class to c# project in vs 2010

在我2008年5月的C#项目中,当我增加我的语气课时,他们很容易在我的剪辑班中使用。 但是,出于某种原因,2010年可能会发现这些问题。 我可以找不到一件简单的事情,但可以说,过去一小时工作了。 任何想法?

最佳回答

你们是否相信他们会参与行动,而不仅仅是行动内容?

CSharp和VB使用两个不同的MSBuild目标档案,我从未听说过在同一个项目档案中混合。 同一解决办法中不同的项目类型——肯定,但我认为不是你所说的。

当然,它是一个奇怪的世界,因此,有人会来到我,对我说,我从不认为在建筑后伊里尔格人会外可能做些什么。

问题回答

您可使用两种代码语言。 如同你一样,可以加上字句和字句,c#和c#,但不会 v和c#。

如果你想要混合,则使用像c#- vb或东西一样的代码转换器。 这里是尝试而不是重新编码:。 Vb.net ->C#changeer

它可能不是100%的工作,但至少是你将一些法典转换成正文。





相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签