Answer by Simon_Weaver for Older NuGet tasks are going to be removed from...
Additional error you may see:##[error]Error: This task is deprecated. Please switch to using NuGetCommand@2's 'restore' or 'custom' option...
View ArticleAnswer by Simon_Weaver for Is it OK to use a signal as component Input in...
Edit: model inputs available since Angular 17.2Phase 2 (or maybe Phase 3) of Signals will introduce signal: true components, which will include two-way bindings.The RFC...
View Article"Super constructor may only be called once" error with Angular component
I am getting the following error in Angular Super constructor may only be called once.The component in question very definitely only has super() one time, and the line it's breaking on is the first...
View ArticleAnswer by Simon_Weaver for Virtual machine agent status is not ready- Not...
Make sure to follow this article first:https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows-azure-guest-agent#troubleshoot-a-not-ready-statusIf you cannot access 168.63.129.16...
View ArticleAnswer by Simon_Weaver for How to speed up the Angular build process
Close unused VS Code windows when you have too many openIf like me you tend to never close VS Code windows you'll eventually end up with hundreds of tabs. This can really slow things down, more than...
View ArticleAnswer by Simon_Weaver for restsharp: task was cancelled, request aborted...
Timeout is measured in milliseconds, not seconds.That's not the OP's problem but it certainly was mine!
View ArticleAnswer by Simon_Weaver for HTTP Error 500.31 - ANCM Failed to Find Native...
I just updated from NET5 - NET6 and thought I'd installed the hosting bundle before getting this error.Important:You need to actually click the highlighted 'Hosting Bundle' link. Do not select the x64...
View ArticleAnswer by Simon_Weaver for How to resolve Azure "Windows logins are not...
If you're finding this question because you're using SSMS and getting this error even though are 100% not selecting Windows Authentication then I can assure you that you're not losing your mind.On a...
View ArticleAnswer by Simon_Weaver for Data size difference in SSIS output and SSMS output
Here's an even more surprising difference in bytes between my old and new laptop, when running a simple perf test from an Azure SQL database: SELECT TOP 10000 * FROM [Order] ORDER BY OrderId DESCOld...
View ArticleHow to install Microsoft.Build.CopyOnWrite into Visual Studio projects for...
The Microsoft.Build.CopyOnWritepackage is required at this point in time to enable CopyOnWrite linking in build tools. Specifically for the ReFS filesystem with a DevDrive in Windows 11.TLDR; how do I...
View ArticleRun two async tasks in parallel and collect results in .NET 4.5
I've been trying for a while to get something I thought would be simple working with .NET 4.5I want to fire off two long running tasks at same time and collect the results in in the best C# 4.5 (RTM)...
View ArticleAnswer by Simon_Weaver for Why powershell does not run Angular commands?
A quick workaround is to run the command from a .bat fileIt won't then run the ps1 version of ng
View ArticleAnswer by Simon_Weaver for What's the difference between map and pluck in RxJS?
The docs sayPluck : Like map, but meant only for picking one of the nestedproperties of every emitted object.Therefore, let's say you have[ { name: 'Joe', age: 30, job: { title: 'Developer', language:...
View ArticleAnswer by Simon_Weaver for Graph Api for getting whole objects schema
I find it immensely frustrating that Facebook doesn't make this easier. They really expect us to just read an HTML document every few months and cross reference it with the fields we've already...
View ArticleAnswer by Simon_Weaver for In HangFire, can I Enqueue with a queue name...
Since adding an extra parameter seems to be so hard for the Hangfire team ;-).......I've found the most convenient way is to make two methods that just call the actual implementation, and put different...
View ArticleWhat API call would I use to change brightness of laptop (.NET)?
I have Windows Server 2008 installed on a Sony laptop and the brightness control doesn't work. I'd like to write a program to allow me to change it.Currently what I have to do is open the Power control...
View ArticleAnswer by Simon_Weaver for Set default option in mat-select
If you are trying to use null as a default value it won't automatially be selected.Using placeholder is one option, but this thread is worth a look if you're trying to use null for the...
View ArticleAnswer by Simon_Weaver for Reverse order of columns in CSS Grid Layout
Round peg in square holeRemember even if you're using fancy 'new' grid features the older flex layout will still work. You can combine them, nest them and sometime you have to admit that certain...
View ArticleAnswer by Simon_Weaver for Angular 2 AuthGuard Service with redirect?
You can now return a UrlTree from an AuthGuard, or a boolean true / false.Kind of amazed nobody has mentioned this yetExample:export const requireAuthGuard: CanActivateFn = () => { const router =...
View ArticleAnswer by Simon_Weaver for How do you use spread operator to overwrite...
I had some defaults set like this that weren't a problem until Typescript 4.4 (possibly an earlier version):Fails const formsValue = { stateOrProvince: null, stateCd: null, address3: null, phone: null,...
View Article