New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning about PrivateP2PCaching.proj #1040
Comments
Code inspection suggests that the fix is in fact present in 3.6.133. I'm going to need more information for this to be actionable. |
Where are you seeing the warning?I'm seeing the warning in the Error List on build in Visual Studio Community 2022 (64-but), v17.9.2. What version of the software are you on?Here are the full installation specs:
Can you share a minimal repro?Hopefully this can help: src.zip |
Note that the warnings show up for .NET Framework 4.8 projects but not .NET 8.0 projects. I think, I forgot to mention that. |
Great. That last clue is perhaps the most important. I'll give a repro a try. My original fix should have been plenty adequate, but I have a guess as to why it didn't work for non-SDK style projects in VS and an idea of how to fix it. |
Sound great. Let me know if you need me to test anything. |
This makes the `ProjectReference` item itself completely undiscoverable for project systems that enumerate references using the MSBuild API that gets items regardless of condition, which appears to be how the legacy project system (csproj.dll) does it at least sometimes. Fixes #1040
I have the same issue as #787. If I understand correctly, this issue should have been circumvented for v3.6 by #847. However, I still get the issue with v3.6.133. I'm not using a graph build, AFAIK:
Directory.Build.props
:The text was updated successfully, but these errors were encountered: