### Listing Installed .NET Workloads - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Displays a list of the .NET SDK workloads that are currently installed on the machine. Workloads extend the SDK with support for specific application types like mobile, web, or cloud. ```dotnet CLI dotnet workload list ``` -------------------------------- ### Installing Global Dependency Checker - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Installs the 'dotnet-outdated' global tool. This tool is used to check for outdated NuGet packages in your project or solution and can assist in upgrading them. ```dotnet CLI dotnet tool install --global dotnet-outdated ``` -------------------------------- ### Updating .NET Workloads - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Updates all installed .NET SDK workloads to their latest available versions. This ensures that workload-specific components and templates are current. ```dotnet CLI dotnet workload update ``` -------------------------------- ### Upgrading Outdated Dependencies - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Uses the 'dotnet-outdated' tool to automatically upgrade all outdated NuGet packages in the project or solution to their latest compatible versions. This command requires the 'dotnet-outdated' tool to be installed globally. ```dotnet CLI dotnet outdated --upgrade ``` -------------------------------- ### Upgrading Specific Package to Latest - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Updates a specific NuGet package, such as Newtonsoft.Json, to the latest available version using the wildcard '*' with the '--version' flag. This is a quick way to get the absolute newest version of a single dependency. ```dotnet CLI dotnet add package Newtonsoft.Json --version * ``` -------------------------------- ### Running .NET Tests (Detailed Output) - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Executes the tests in the project using 'dotnet test'. By default, this includes a build step. The '--logger' option configures detailed console output, which is helpful for diagnosing test failures or assembly loading problems. ```dotnet CLI dotnet test --logger "console;verbosity=detailed" ``` -------------------------------- ### Running .NET Tests (Skip Build) - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Executes the tests in the project using the 'dotnet test' command. The '--no-build' flag prevents a preceding build step, and the '--logger' option provides detailed console output, useful for debugging test execution issues. ```dotnet CLI dotnet test --no-build --logger "console;verbosity=detailed" ``` -------------------------------- ### Restoring Project Dependencies - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Restores the dependencies and tools specified in the project file. This downloads necessary NuGet packages and ensures the project has all prerequisites for building and running, typically done after modifying the project file or clearing caches. ```dotnet CLI dotnet restore ``` -------------------------------- ### Cleaning Project Build Artifacts - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Removes the 'bin' and 'obj' directories, effectively clearing all build outputs and intermediate files. This is a standard step before a clean build or restore to eliminate potential conflicts from previous builds. ```dotnet CLI dotnet clean ``` -------------------------------- ### Configuring Test Assemblies Copy - .NET XML Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Configures the .NET project file (.csproj) to ensure that all dependent assemblies are copied to the output directory during the build process. This setting is crucial for test projects that rely on dependencies being present alongside the test assemblies. ```XML true ``` -------------------------------- ### Updating Test SDK Package - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Updates the Microsoft.NET.Test.Sdk NuGet package to a specified version. This package provides the test runner and integration with test frameworks like NUnit and xUnit, and keeping it updated is essential for compatibility. ```dotnet CLI dotnet add package Microsoft.NET.Test.Sdk --version ``` -------------------------------- ### Adding Required Dependencies - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Adds specific NuGet packages like Newtonsoft.Json and CsvHelper to the project with specified versions. These packages represent common dependencies that test code might require to function correctly. ```dotnet CLI dotnet add package Newtonsoft.Json --version 13.0.1 ``` ```dotnet CLI dotnet add package CsvHelper --version ``` -------------------------------- ### Clearing Local NuGet Cache - dotnet CLI Source: https://github.com/dimension-zero/dimension.data.simpledataframe/blob/master/SimpleDataFrame/Tests/HowToFixTestsIfBroken.txt Clears all local NuGet caches, including http-cache, global-packages, and temp directories. This can resolve issues caused by corrupted, incomplete, or outdated packages stored locally that interfere with dependency resolution during restore. ```dotnet CLI dotnet nuget locals all --clear ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.