get_file tool unable to resolve .aspx.vb or .aspx.cs code-behind if they arent currently open in the Visual Studio editor #187757
Replies: 3 comments 2 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
ok I think I've figured it out. If the folder the project is in is renamed or moved to a new location this issue starts occurring. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
Visual Studio 2026 and Visual Studio 2022 with Copilot extension
Body
The get_file tool can only resolve .aspx.vb or .aspx.cs code-behind files in a project if they are currently open in the Visual Studio editor. Closed .aspx.vb files fail to resolve regardless of path format. The only workarounds are to use #file: references or to open the file first as a workaround.
Beta Was this translation helpful? Give feedback.
All reactions