.net-4.7.2


Unable to step into PresentationFramework

无人久伴 提交于 2019-12-24 19:06:27
问题 I am trying to step into PresentationFramework, but the debugger just skips ahead to the next line. I have loaded the symbols using the Modules window. I have enabled .NET Framework source stepping I have disabled Just My Code I have used resharper to generate pdb and decompile the source, but stepping through those is really difficult. Partly because many variables have generic names (num1, num2 etc), but mostly because the debugger seemingly just around somewhat randomly - sometimes

How do I get accounts from Azure AD?

99封情书 提交于 2019-12-24 07:39:11
问题 I have a nice Azure Active Directory set up with a dozen users. (All me!) So I have a Tenant ID, client ID and Client Secret. I am also working on a simple console application that will function as a public client for this directory. This client also holds a list of usernames and passwords as this is just meant as a simple experiment. Not secure, I know. But I first need to understand how it works ... I do this: IConfidentialClientApplication client = ConfidentialClientApplicationBuilder

Why is .Net Framework 4.7.2 “not supported on this operating system”? (Windows 10)

不羁的心 提交于 2019-12-10 19:51:03
问题 I was trying to install the .NET 472 developer pack on a Windows 10 machine, and got this error. I have been able to install this on other Win10 PCs, and also on Win7. So it doesn't make any obvious sense why it claims to be "not supported". In the log there are some version checks: Bundle condition evaluated to false: ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR (VersionNT = v6.3) OR (VersionNT = v10.0 AND OSBuildNumber >=

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

工具导航Map