Solution: Unable to find .deps.json when running .NET 5 tests in Azure DevOps

Solution: Unable to find .deps.json when running .NET 5 tests in Azure DevOps

I recently upgraded some projects to .NET 5 from the previous .NET Core 3.x versions I had running. My projects utilize xUnit, and I run them from Azure DevOps. However, when I upgraded my projects, and modified the build definition accordingly with the latest NuGet installer, and the latest .NET 5 SDK, I got a new exception: ##[error]Unable to find D:\a\1\s\src\projectname\bin\Debug\net5.0\ref\projectname.deps.json. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk". Looking closely on the path, it mentions a…

Read More

Hosted Microsoft TFS - Team Foundation Service - Part 2: Connect your development rig

Author: Tobias Zimmergren http:https:https://zimmergren.net//zimmergren.net//www.zimmergren.net | http://www.tozit.com | @zimmergren Introduction A while back an announcement was made that TFSPreview.com had been made available for general testing. Various bloggers at Microsoft put an invitation token in their MSDN blogs so everyone can have a go at it. In this article series we’ll take a very quick look at what the hosted TFS solution by Microsoft looks like. Articles currently in the series: [blockquote]Part 1: Getting Started Part 2: Connect your development rig (this post) Part 3: Configuring a Build…

Read More

Close You've successfully subscribed to Tobias Zimmergren's thoughts on tech.
Close Great! You've successfully signed up.
Close Welcome back! You've successfully signed in.
Close Success! Your account is fully activated, you now have access to all content.