System.InvalidOperationException: Cannot find compilation library location for package ‘Microsoft.AspNetCore’ Most likely you’ve upgraded your aspnetcore version and you have not cleared the existing files before deployment. If you’re using Azure DevOps as your build and release server you can enable “Remove Additional Files at destination” on your release step.
Whilst upgrading from AspNetCore 2.0 to 2.1, some of the StartUp configuration had changed slightly and part of the upgrade required me to refactor code into the webhost builder. However as a result I didn’t quite do everything and after deploying to azure web app, I was hit with a 502 response. An exception being… Continue reading AspNetCore Debugging Startup issue in Azure Web App
Anyone updating to AspNetCore 2.1.3 to an Azure Web App may want to hold off. Azure Deployments hasn’t been updated yet and is scheduled to be completed in a weeks time. Downgrade to Microsoft.AspNetCore.App 2.1.0 for now. Source: https://blogs.msdn.microsoft.com/dotnet/2018/08/21/net-core-august-2018-update/
Visual Studio release notes as of 7th March release notes state that the DotNetCLITools packages cannot currently be managed by the Nuget Package Manager and must be edited manually in the csproj. After migrating my current projects, I finally figured out that it wasn’t just me that was struggling to find the place to manage… Continue reading Visual Studio 2017 – Add, Remove or Update DotNetCLITools references – 7th March 2017
It’s that time of the year again when the licenses on my third party products start lapsing and I pull out my card to renew for another year. Although having used Resharper for a long time, the line between it and Visual Studio has blurred for me. So instead I’ve decided not to renew and… Continue reading My Resharper license just expired…renew or not to renew
Kiss goodbye to potentially getting your laptop screwed up when your nephews and nieces infer it’s basically just a giant iPad. Sigh.
To help standardize the connectionstrings across your team’s development machines. You can all use the same sql alias, database name, username and password. The last three are easily configurable however the sql alias isn’t so obvious. Here’s a simple set of instructions to get it working. My environment at time of this post is Windows… Continue reading Creating a SQL Alias