当我使用VS代码构建和运行(dotnet run) ASP.NET Core项目时,我得到以下两条错误消息:
obj/Debug/netcoreapp2.1/Razor/Views/Product/List.g.cshtml.cs/User/pedram/OneDrive- House of Friends AB/visualstudioonmacprojects/SportsStore/SportsS
1>obj\Debug\netcoreapp2.1\ConsoleApp4.AssemblyInfo.cs(14,12,14,18): error CS0246: The type or namespace1>obj\Debug\netcoreapp2.1\ConsoleApp4.AssemblyInfo.cs(15,12,15,18): error CS0246: The type or namespace1>obj\Debug\<
但是,当我尝试运行控制台应用程序时,它只是抛出一个错误,指出dll不存在于"bin\Debug\netcoreapp2.1\bin“文件夹下。而" bin \Debug\netcoreapp2.1“没有bin文件夹。
我可以在bin\Debugnetcoreapp2.1目录下看到我的类库的x.dll。但是没有bin文件夹。我试着在互联网上搜索这个问题,但什么也找不到。