如何在.Net Core的VSCode中进行单元测试? (我正在使用Mac)[关闭]

我尝试过,但出现错误

I used this video -> https://www.youtube.com/watch?v=HQmbAdjuB88

<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework> netcoreapp3.1 </TargetFramework>
        <GenerateProgramFile>false</GenerateProgramFile>   </PropertyGroup>   <ItemGroup>
        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0"/>
        <PackageReference Include="xunit" Version="2.4.1"/>
        <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1"/>        
评论