-
0 votesanswersviews
.Net Core 2.1 System.IO.FileSystem.DriveInfo
我有一个使用Visual Studio 2017 Preview 4的.NET Core 2.1控制台应用程序 我似乎无法将System.IO.FileSystem放入我的项目中 . 我需要访问TotalFreeSpace 我做: dotnet add package System.IO.FileSystem.DriveInfo 没有错误就能成功 在我的.csproj文件中我有: <Pac... -
8 votesanswersviews
带有.Net Core 2.1的HttpClient挂起
鉴于以下.Net Core 2.1控制台应用... using System; using System.Diagnostics; using System.Net.Http; using System.Net.Http.Headers; namespace TestHttpClient { class Program { static void Main(str... -
1 votesanswersviews
Hangfire.AspNetCore.dll中出现未处理的'System.StackOverflowException'类型异常
我有使用Hangfire 1.6.2和Hangfire.MySql.NetCore 1.0.7的asp.net核心2.1应用程序 . 有一项工作,当它被排入第三次或第四次时,应用程序抛出此异常并关闭; An unhandled exception of type 'System.StackOverflowException' occurred in Hangfire.AspNetCore.dll...