最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio code - Project dependencies not recognized in VSCode C# Dev Kit - Stack Overflow

programmeradmin1浏览0评论

I have a C# project that has another project as a dependency. Specifically in the C# dev kit in VSCode, I am able to build, debug and run tests, but the parent project is not using the dependent project that I added to vscode's workspace. Instead when I, say, ctrl+click something that exists in the dependency, vscode is referencing to a temporary location in AppData\Local\Temp\MetadataAsSource...alphanumeric string...\DecompilationMetadataAsSourceFileProvider...alphanumeric...\dependent resource. Question is, how do I get C# dev kit extension to tell VSCode to use the dependent project?

I've tried adding the dependency project to the vscode workspace. Does not do anything. I've tried deleting .vs and re-adding the parent project as a C# project. Did not help. This just ends up reloading the entire vscode window and re-initializing everything.

发布评论

评论列表(0)

  1. 暂无评论