2022-01-28 标签:NET6,Could,load,type,Microsoft,EntityFrameworkCore,Query,assembly,dll,EntityFramework,EFCore,升级,报错,asp.net,core2.1,NET6.0,包都
今天将网站程序由asp.net core2.1升级到NET6.0后报错Could not load type 'Microsoft.EntityFrameworkCore.Query.RelationalQueryContextFactory' from assembly.看了大半天.所有包都是最新
2022-01-28 标签:ubuntu,asp.net core,appsettings.json,问题,dotnet,appSettings,Value cannot be null,Hangfire.MySql.MySqlStorage,ubuntu appSettings
今天在ubuntu发直接运行命令dotnet /var/www/down/Down.Web.dll发现报错Value cannot be null. (Parameter 'connectionString') at Hangfire.MySql.MySqlStorage等.起初还以为是配置有问题,
2022-01-23 标签:安装,sqlserver,linux,2019,报错,无法,打开,microsoft,asc,没有,文件,目录,SQL,Server,ubuntu,https,packages
安装sqlserver linux 2019报错无法打开 ‘microsoft.asc’: 没有那个文件或目录,Cannot open 'microsoft.asc': there is no such file or directory
2022-01-22 标签:C#,net,core,Keys,persisted,storage,存储,Using,repository,HKLM,应用程序,密钥,注册表,用户,修改,配置文件,memory,Neither
今天在查看网站日志的,看到警报:Using an in-memory repository. Keys will not be persisted to storage.Neither user profile nor HKLM registry available. Using an epheme
2022-01-22 标签:VS,发布,asp.net,core,项目,web,config,包含,production,环境变量,EnvironmentName,PropertyGroup,设置,配置文件,文件,Visual,Studio,2022,NET6.0
今天在用Visual Studio 2022发布NET6.0或者说asp.net core发布时,在web.config包含production或者Development,VS在发布时替换asp.net core中的web.config
2022-01-06 标签:VisualStudio,报错,CS8050,自动,实现,属性,初始值,设定,C#,C#自动实现属性,C#初始值设定项
今天在用vs2022写类属性字段时想根据内容判断返回指定的内容,结果报错: CS8050 只有自动实现的属性才能具有初始值设定项。 错误代码如下public class MyClass{public string msg{get{if (msg.Contains("error")) return "
2021-05-19 标签:MySQL Workbench,MySQL,Workbench,错误,Target,host,configured,Windows,seems,different,OS,8.0,版本,重新安装,报错,Server,Status,could,acquire
今天升级MySQL Workbench后打开Server Status报错:could not acquire management access for administration Runtime Error: Target host is configured as Windows, but
2021-05-18 标签:vs2019,GatherAllFilesToPublish,Microsoft,Import,Project,targets,VSToolsPath,Condition,VisualStudioVersion,MSBuildBinPath,CSharp,PropertyGroup
用VS2019打开一个以前用VS2010写的asp.net项目报错GatherAllFilesToPublish后,设置好发布选项(发布到文件夹),发布的时候报错如图:
2020-11-08 标签:2020年11月编程语言,排行榜,Python,势不可挡,超越,Java,语言,20,软件,编程,工程师,普及,事物,数据挖掘,排名,开发人员
自将近20年前TIOBE索引开始以来,Java和C不再排名前2位。C仍然是第一名,但是Python现在占据了第二的位置。有人说Python最近的普及是由于数据挖掘,人工智能和数值计算等蓬勃发展的领域。但是我对此有自己的看法。我相信Python的普及与普遍需求有关。过去,大多数编程活动都是由软件工程师
2020-11-08 标签:C#,https,请求,出错,Could,establish,trust,relationship,SSL,TLS,secure,channel,证书,summary,static,certificate,信任
当我在用C#.NET命名空间下获取URL的时候,提示如下错误:The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.