Skip to content

Instantly share code, notes, and snippets.

@ErrCode
ErrCode / keybase.md
Created December 18, 2019 15:20
Keybase identity verification

Keybase proof

I hereby claim:

  • I am errcode on github.
  • I am luck31 (https://keybase.io/luck31) on keybase.
  • I have a public key ASB73Rt39paAhoQ7N3wFRRK6Es2YOtbIzw5JLYnxcW9tqAo

To claim this, I am signing this object:

@ErrCode
ErrCode / service.cs
Created October 16, 2018 09:08 — forked from yallie/service.cs
Topshelf-based service using Zyan Communication Framework
// Compile: csc service.cs /r:Zyan.Communication.dll /r:Topshelf.dll
//
// Usage:
// service.exe Run the console server
// service.exe install Install the service (requires admin rights)
// service.exe start Start the installed service (admin)
// service.exe stop Stops the service (admin)
// service.exe uninstall Uninstall the service (admin)
// service.exe client Run the console client
@ErrCode
ErrCode / VS build error - NuGet package restore failed
Last active August 28, 2017 02:42
NuGet restore error: Unable to find version '4.5.2' of package '.NetFramework'.
Severity Code Description Project File Line Suppression State
Error NuGet Package restore failed for project Shared\**MASKED**: Unable to find version '4.5.2' of package '.NetFramework'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package '.NetFramework.4.5.2' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
https://api.nuget.org/v3/index.json: Package '.NetFramework.4.5.2' is not found on source 'https://api.nuget.org/v3/index.json'.
. 0
Seems like the solution is to ensure that VS 2015 has the .NetCore tooling software installed.
This can be installed via:
- From Visual Studio 2015 menu => Tools => Extensions and Updates