File-based apps: Add support for #:ref directive#83985
Draft
RikkiGibson wants to merge 4 commits into
Draft
Conversation
RikkiGibson
commented
Jun 2, 2026
| @@ -1 +1 @@ | |||
| b6ecfca4772c223907a0fe13b0ab944a8e197d53 No newline at end of file | |||
| 2a4129e11d1a6ffecc39ee9098e4027689c0c768 No newline at end of file | |||
Member
Author
There was a problem hiding this comment.
reminder that this is just copying sources over from dotnet/sdk, in-depth review is not needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#:ref, so that just having a#:refat all doesn't report an error.Note: the end to end scenario doesn't work yet. Right now the problem I'm seeing is, when we DTB the project which contains the
#:ref, it gets this warning:2026-06-02 15:36:01.331 [warning] [initialized] [LanguageServerProjectLoader] Warning while loading c:\Users\rikki\src\damian-fba-samples\flat\webapi.tests.csproj: The referenced project c:\Users\rikki\src\damian-fba-samples\flat\webapi.cs.csproj does not exist.The project that we are getting from run-api looks like this:
We need to figure out the right layer to make a change, so that we "do the right thing" with a reference like webapi.cs.csproj. It's not obvious to me how to address the problem at the moment.
Microsoft Reviewers: Open in CodeFlow