Replies: 1 comment 1 reply
-
I have the same issue in VS. Writing in VS Code and building with the command line is still working for me tho |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if this is an issue with the aspire nuget packages, or nuget and preview packages in general, but friday last week and today I'm having issue's with the aspire nuget packages. It went on for a while on friday then everything just came back n started working, then it's broken again today.
At first I though it was a local machine issue, something with VS22 or a project issue, but I've tried all the usual nuget cache clearing, and on a different machine on the file > new aspire start template and I'm getting it there too.
At first it looks like all packages are problematic with an exclamation mark on. But if I remove them all and start adding them back one by one, it's when I add the aspire preview packages that I start to hit the issue.
It's a weird one, the packages look to be downloaded and the app still builds, but yellow exclamation marks are there on the preview packages, and so I get no intellisense and/or lots of red underlining on code that references these packages.
Once it starts happening with the preview ones, it seems to happen to any subsequent package you install:
I see this in the error list when I add/remove packages:
Which points to this chunk of XML in Microsoft.WebTools.Aspire.targets:
Does anyone know if there's something going on with nuget and/or the aspire preview packages?
Beta Was this translation helpful? Give feedback.
All reactions