.net-4.7.2

After migrate .Net framework from 4.6.2 to 4.7.2, Azure Cloud Services is not working

吃可爱长大的小学妹 提交于 2019-12-10 12:00:05
问题 After I migrated .Net framework version from 4.6.2 to 4.7.2, there was no problem with I run locally. However, when I published to Azure Cloud Services, there should be something wrong so the service bus message moved to DeadLetter Queue. What's wrong is it as I chose osFamily to 6 (Windows Server 2019) already? If I chose back Windows Server 2016, below error was out during starting the service: Unhandled Exception: Method not found: ‘Void Microsoft.Azure.KeyVault.KeyVaultClient..ctor

Tracking property changes with PostSharp

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 05:30:33
问题 I would like to enable a given wizard page when all preceding pages are valid. Here is my view model: [Aggregatable] [NotifyPropertyChanged] [ContentProperty("Pages")] public class Wizard { [Child, AggregateAllChanges] public AdvisableCollection<Page> Pages { get; } = new AdvisableCollection<Page>(); } Here is the Page itself: [Aggregatable] [NotifyPropertyChanged] public class Page : INotifyPropertyChanged { [Parent] Wizard Wizard { get; set; } public string Name { get; set; } public bool

TDS Error on Azure Entity Framework SQL Calls after Windows 10 April 2018 Update [duplicate]

耗尽温柔 提交于 2019-12-07 17:29:41
问题 This question already has answers here : SqlClient error after updating Windows - “The incoming tabular data stream (TDS) remote procedure call > (RPC) protocol stream is incorrect” (5 answers) Closed last year . I have the following C# code that executes against a SQL Server hosted in Azure. protected IQueryable<T> FilterUpdatedRows<T>(IQueryable<T> query, DateTime lastSyncTimestamp) where T: class, ITimestamp { return query.Where(x => x.InsertTimestamp >= lastSyncTimestamp || (x

TDS Error on Azure Entity Framework SQL Calls after Windows 10 April 2018 Update [duplicate]

痴心易碎 提交于 2019-12-06 02:27:08
This question already has answers here : SqlClient error after updating Windows - “The incoming tabular data stream (TDS) remote procedure call > (RPC) protocol stream is incorrect” (5 answers) Closed last year . I have the following C# code that executes against a SQL Server hosted in Azure. protected IQueryable<T> FilterUpdatedRows<T>(IQueryable<T> query, DateTime lastSyncTimestamp) where T: class, ITimestamp { return query.Where(x => x.InsertTimestamp >= lastSyncTimestamp || (x.UpdateTimestamp.HasValue && x.UpdateTimestamp >= lastSyncTimestamp)); } The Generic (T) are Entity Framework

NuGet package shows no dependencies?

偶尔善良 提交于 2019-12-04 14:33:34
I try to make a NuGet package from a .NET 4.7.2 class library (VS2017), but the resulting NuGet package surprisingly shows no dependencies (which is an error). My setup is like this: My class library is .NET Framework 4.7.2 My class library uses another NuGet package (that has dependencies). My class library uses packageReferences in .csproj My class library contains a proper .nuspec file I use nuget.exe pack for creating the package The nuget.exe pack command should automatically fill in the needed dependencies - this also used to be the case earlier (in another project). However, at that

SqlClient error after updating Windows - “The incoming tabular data stream (TDS) remote procedure call > (RPC) protocol stream is incorrect”

本小妞迷上赌 提交于 2019-11-30 20:04:00
Since updating Windows 10 to 1803, I have begun receiving this error anytime I run an EF query that joins against a table-valued function that takes in a scalar parameter. Message: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 2 (""): Data type 0x00 is unknown. Stack Trace: at System.Data.SqlClient.SqlCommand.<>c.b__180_0(Task1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at

SqlClient error after updating Windows - “The incoming tabular data stream (TDS) remote procedure call > (RPC) protocol stream is incorrect”

限于喜欢 提交于 2019-11-30 03:38:44
问题 Since updating Windows 10 to 1803, I have begun receiving this error anytime I run an EF query that joins against a table-valued function that takes in a scalar parameter. Message: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 2 (""): Data type 0x00 is unknown. Stack Trace: at System.Data.SqlClient.SqlCommand.<>c.b__180_0(Task1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading

NuGet package shows no dependencies?

天大地大妈咪最大 提交于 2019-11-28 01:46:51
问题 I try to make a NuGet package from a .NET 4.7.2 class library (VS2017), but the resulting NuGet package surprisingly shows no dependencies (which is an error). My setup is like this: My class library is .NET Framework 4.7.2 My class library uses another NuGet package (that has dependencies). My class library uses packageReferences in .csproj My class library contains a proper .nuspec file I use nuget.exe pack for creating the package The nuget.exe pack command should automatically fill in the