You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's currenly a preview feature. Given that the file format is reasonably simple it should not be too complex to implement.
Current behavior
❯ dotnet outdated
Discovering projects...The directory 'c:\xxxx' does not contain any solutions or projects.
Reacted by Stuart Lang, FXZFun, Robert Mircea, Weihan Li, Mattias Karlsson, Roland Dominik Szilágyi, Frulfump, Victor Irzak, Victor Molostov, Karl-Johan Sjögren and 2 more
Error: "Discovering projects...The file 'C:\BuildAgent_work\4\s\Alchemy.slnx' is not a valid solution or project."
My other build scripts work. This build is to automatically update packages and is the only one that doesn't work, not that we have moved to the new .slnx solution file type.
Can you help me? Have I got part of the command wrong?
Activity
WeihanLi commentedon Feb 16, 2025
msbuild & dotnet-cli already added support for the slnx since
9.0.200dotnet/msbuild#10266
dotnet/sdk#40913
molostovvs commentedon Mar 25, 2025
@slang25
It seems this issue can be closed, as #652 has implemented .slnx support
Daeer-Projects commentedon Mar 31, 2025
Although dotnet and MSBuild now support the new
.slnxfile type, my build on Azure doesn't work.My other build scripts work. This build is to automatically update packages and is the only one that doesn't work, not that we have moved to the new
.slnxsolution file type.Can you help me? Have I got part of the command wrong?
From our
.ymlfile:WeihanLi commentedon Mar 31, 2025
Seems the message is from
dotnet-outdated/src/DotNetOutdated.Core/Services/ProjectDiscoveryService.cs
Lines 80 to 81 in 6b8557b
Is there a build log that could be shared?
seemed that's used the local dotnet tool, is it possible to list the dotnet tool version before executing the command:
dump dotnet SDK info:
list local tool
list global tool
Daeer-Projects commentedon Mar 31, 2025
I found the problem.
We're using a
dotnet-tools.jsonfile to get the tools used for our builds. It was still set to 4.6.4. I've updated that file and it now works.Thank you.
:)