Don’t you just love it when you google the error and there’s just one single hit? And it’s irrelevant or doesn’t contain a working solve?

I’ve been playing around with the .NET 5 previews for a few weeks now. Looking forward to the november release! C# will get some pretty nice features…

But anyways. I’m using VSCode, which means the C# extension and a standalone Omnisharp/MSBuild thing that I have little to no control over. Until recently, I also had Visual Studio 2019 and 2017 installed, for various work-related reasons. Life was good, everything worked fine.

the reference assemblies for .netframework,version=v5.0 were not found

So not fine then.

Step 1: Realize VSCode suddenly decided to prioritize the MSBuild from Visual Studio 2019, rather than the MSBuild that is part of the C# extension for VSCode. This was apparent from the logs. The 16.7 MSBuild of VS2019 didn’t quite cut it; it apparently has no support for .Net Core 5. 16.8 does, and 16.8 is what’s included in the extension.

Fine.

Tried using a omnisharp json settings file to manually choose the MSBuild version. Didn’t work. Got fed up, uninstalled VS2019 and 2017 as well for good measure.

Step 2: What the heck is a NuGet fallback folder?

Now the damn thing only had one MSBuild to choose from.

[fail]: OmniSharp.MSBuild.ProjectLoader
        The "ResolvePackageAssets" task failed unexpectedly.
NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder 'C:\Microsoft\Xamarin\NuGet\'.

This led me down a merry chase. I had no idea what a NuGet fallback package folder was or why OmniSharp was suddenly looking for one. Or why it was supposed to be in C:\Microsoft\Xamarin\NuGet\, which seems like a pretty bad place for one.

I had, of course, no problems at all using NuGet or adding new packages to my project. OmniSharp was the only one unhappy.

Things that didn’t work:

  • Editing the NuGet settings file to use a different directory.
  • Looking for the environment variable said to override any settings in said file.
  • Googling the error message.

Thing that did work, but was ugly:

  • Creating the folder. It remained empty and was never used. Worked, but I strongly dislike having unnecessary folders in my C root. It felt like a kludge, and I was no closer to actual understanding.

Finally, by chance, I opened another of my old projects – I had tried several at this point; none had worked. This time, it worked!

So I did some testing, and this is what made the error message go away for me:

  • Remove the obj folder and allow it to be rebuilt.

That is all.

Do I know what the heck caused the problem? Not really, I haven’t checked deeply into the files in the obj folder to see what made them different. But it works. And doesn’t mean I need to have any weird folders.

So… Hopefully, the next poor sod who tries to google the error will get two hits.

Or it just goes away in november and is never encountered by anyone ever again.

So… I’ve been using rtorrent as my main torrent client for a couple of years now. I have it running on my server and I’m usually adding torrents either by placing them in a watchdir or by adding them through a web interface (rutorrent, in case you’re wondering).

One of the things I’ve always wanted was to have rtorrent handle multiple categories. I wanted games I downloaded to go into a “games” directory, comics into a “comics” directory, and so on. I’ve been looking for solutions for a few years now, and all I’ve found online are people in the same boat. So today I decided to spend a few hours experimenting… And this is the result.

Continue reading

I like experimenting with things, and one of the simplest ways to experiment with something online is to edit URL’s. Sometimes changing a URL can give access to new functions or content, or just enhance your bookmarks or how you use a certain site.

It occurred to me that most people probably do not know how URLs work, or how to do experiments with them… So here’s an example: The Marvel Digital Comics Unlimited web interface.

Continue reading

So… I really like the form factor of the smaller, “original” EEE series (701, 900, 901) netbooks. They’re just the perfect size for use on busses, trains, etc. They don’t require much in terms of packaging or storage, they’re just very simple to carry around. My first EEE was a 900, since then I’ve tried the 1015PEM but I quickly realized it was too big for me, so I was relly happy when I found the 901 – it’s like the 900, but with much better battery life and processor. The only thing It’s lacking is a 3G slot, and I’m currently looking for a 901 Go though they seem kind of hard (and slightly expensive) to get ahold of.

Anyways, I have been trying out different operating systems and distros on the 901, trying to choose one for everyday use. What I want is basically what everyone wants in a netbook: fast boot time, responsive interface. Right? A simple way to get right into the processor of surfing or writing or whatever. My first choice was Ubuntu with Gnome 3 as a launcher, since I am absolutely in love with Gnome 3. But I found that the poor little 901 processor/ram/SSD couldn’t handle the Gnome monster very well. Sure, it booted up OK, but then I had kind of a 2-second delay between pressing the Super button and the menu actually appearing… Just not responsive enough. So I went a’shoppin. Since I know I was going to test quite a few distros and OS’s here, I created a simple test.

Continue reading

I’m a software snob. I admit it. I can’t be like everyone else and just write everything in Word or even OpenOffice Writer… No, I have to be special. I have to set my standards so high that apparently there are no applications out there, apparently, that fit my criteria.

And so I’m stuck. I find myself not writing, simply because I don’t have the energy to move everything to a new format later. So to save time and energy, I’m doing nothing – or rather, I’m wasting a lot of time and energy on nothing.

Continue reading

I’m all for second chances. And third, and fouth. I decided yesterday to give Ubuntu 11.10 another chance. I uninstalled the open-terminal addon, and replaced it with a script doing the exact same thing. I also installed gnome-shell; Unity and I probably won’t ever be friends. The graphical style is too cartoony, and I have a strong dislike for the weak graphical representation of which applications are currently running (a small glowing triangle on the side just isn’t enough).

Continue reading

I updated my main desktop computer to Ubuntu 11.10 yesterday. Today, I’m reinstalling 11.04.

First of all, Unity. To say I’m not very fond of the road both Unuty/Ubuntu and Gnome teams are travelling right now is an understatement. They’re both moving away from clear menu-driven systems and towards some sort of misguided attempt at making things “easier” for the “common user” by obscuring applications and settings. I like well-behaving search-based launchers as much as the next guy, but I also like neat ordering and clear hierarchal categories.

Continue reading

Despite many a test, I have as of yet to find an audio player that beats Foobar2000. Functionality, lightness, customizability, modularity. I’ve more or less abandoned the proprietary Windows platform, only returning to it for Adobe and Autodesks products and for a small handful of games. Foobar2000 is still my weapon of choice for assaulting my ears with music, despite running it through wine.

Continue reading