Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3285982
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:19:42+00:00 2026-05-17T20:19:42+00:00

I am in a c# project, in this project I reference (using a project

  • 0

I am in a c# project, in this project I reference (using a project reference) another class library written in vb.net.

Now, when I right click and view definition on the class. It doesn’t take me to the exact source code in the vb.net project, instead it takes me to a dynamically generated c# representation of the vb.net class.

I’ve tried the experiment in reverse, starting with a vb.net project, and referencing a c# project, this time on a right click view definition, it takes me to the code explorer, so again, not the original code for editing.

If both projects are the same language, everything works like nicely.

Is there an explanation for this? And possibly a solution to allow easy code navigation between projects of different languages?

To reproduce:

  1. Create a blank solution
  2. Add a c# class library
  3. Add a vb.net class library
  4. In the vb.net class library, class1 – create any old method. (optional)
  5. In the c# class, add a reference to the vb.net class, for example:

    VBClassLibrary.VBClass myVBClass = new VBClassLibrary.VBClass();

Now, right click on VBCLass and select “Go To Definition”.

Notice where you end up….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:19:42+00:00Added an answer on May 17, 2026 at 8:19 pm

    There is nothing you are doing wrong here. This is an unfortunte side effect of how Visual Studio is designed. When you have two projects in different languages a reference between them does not behave like a project reference but instead resembles a file reference.

    Project to Project references of the same language share a single language service. Hence it is in control of all of it’s code and can provide special live content benefits. The primary one being the goto definition and instant intellisense. There is just no facility in Visual Studio today to allow language services to communicate with each other across the reference boundary like you desire.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On this project I am working on right now, one of the newest feature
Using .NET 2.0, C#, Windows Forms development, Enterprise Library 3.1. We have a project
I'm trying to digitally sign a PDF file using THIS project as an example.
I'm using NHibernate for a project. This project opens a SQL Server 2005 database
I've made a C# class library and am trying to use it in another
I am working on a class library (DLL) project in Visual Studio 2008; programming
Using this guide I have created a static library (let's call it AppCore )
This project is the probable first step in migrating a large CMS from Classic
This project started as a development platform because i wanted to be able to
I got this project, where there this error keeps occurring and its not on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.