c# - .NET Programming - Can I access members of a C-Sharp project from my VB.NET Project? -


I have a multi-project .NET 3.5 solution I

This is ASP.NET, that The C # code-behind is one of all the projects.

I am trying to use members from VB.NET to "core" project called C # project.

I have set a dependency on the core solution in my solution properties.

However, the core is something that does not

In addition, core projects are able to declare my other C # project core objects as dependencies (resolution settings) . Example: Private Core. ObjectName InstanceName; In addition, Intellisense brings lots of information into C # projects.

How can I hook into these members from my VB project but any thoughts?

Thank you!

Add the C # project as a reference, not dependent this solution is done through explorer So that the context can be right-clicked under the VB project. You will see a window pop up; Select the Projects tab and find your C # project there.

Dependence, on the contrary, only affects the build order. You can set up a project to be dependent on another (i.e. to make sure another is created first), but it does not allow the project to use the code of another project first.

Finally, a dependency, so you do not have to do both.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -