Snaps are very easy to install on most Linux OSs, are able to auto-update, etc. But, don’t use Snap to install .NET Core SDK on Linux. Although Snap allows for multiple versions of a snap package, only one is active at a time. Why is this a problem?
The specified framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
- The following frameworks were found:
3.0.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
When the .NET Core SDK 3.0 snap package is active, down-level builds don’t work – e.g., using .NET Core SDK 3.0 to build for 2.2, 2.1, etc. Dev organizations of much size cannot simply upgrade everything to 3.0 en mass, so everyone’s config must support targeting netcoreapp2.0 with newer tooling.
Can this be remedied with some magical Snap tricks? Maybe. IMO, the easier route is to simply install all the SDKs you need using the official .NET Core instructions.
We wanted to tinker with the Windows 8 Release Preview, so we tried to install it on our tinkering box. Having two tinkering boxes, we started with the trashable tinkering box — a Dell Dimension from mid-2005. Admittedly, we attempted this installation to see if “it will set the drive on fire.” We tend to throw crazy things at this Dimension, but it keeps on tickin’! Its spec are:
- Dell Dimension 4700
- CPU: Pentium 4 @ 3.0 GHz
- RAM: 4 GB (physical)
- Disk: 1 TB; > 750 GB free space
- Arch Linux; Kernel: 3.4.6-1-ARCH #1 SMP PREEMPT
- VirtualBox 4.1.18_OSE r78361
We created a new VM and hooked it up to the 32-bit ISO for Window 8 Release Preview. After starting the VM, VBox presents an error dialog stating:
VT-x/AMD-V hardware acceleration is not available on your system. Certain guests (e.g. OS/2 and QNX) require this feature and will fail to boot without it.
This dialog gives the user a choice of closing the VM or continuing. It’s the tinker box, so we chose to continue! Next the Windows logo appeared, so we got excited that this just might work. But, after just a couple of minutes, the installer died and gave this message:
Your PC needs to restart. Please hold down the power button. Error Code: 0x0000005D Parameters: 0x030F0304 0x756E6547 0x49656E69 ox6C65746E
Well, that’s clearly a bad result. We had no interest in even attempting to push past this kind of problem. Installing Windows 8 on our tinkering server (Windows 2008 R2, Hyper-V).
After some discussion, we decided that this configuration probably should not work. So, chalk this up to “Yep, we have demonstrated that what should not work actually does not work.” Hopefully no one else will be tempted to try Win8 on this kind of config, but maybe this will save them some time if they do.