Posts

Showing posts from February 25, 2019

Can I download and install just the VS 2017 15.9.4 update?

Image
0 I have Visual Studio 2017 on my build machine now and all is well. I need to install VS2017 15.9.4 update so that I can move forward with the .NET Core 2.1.7 install. I've tried doing this from within VS and I am getting: An installed product matching the following parameters cannot be found. installPath: C:Program Files (x86)Microsoft Visual Studio2017Enterprise. The log file that is generated has this in it: Error: Microsoft.VisualStudio.Setup.Download.DownloadFailureException: WebClient download failed: Unable to connect to the remote server. Bits download failed: Error context: BG_ERROR_CONTEXT_REMOTE_FILE, Error code: -2145844845. WinInet download failed: Object reference not set to an instance of an object. I'm not sure what remote server can't be hit. Can I just...

Java CommandLine Interface implementation

Image
0 $begingroup$ I wrote got a lot of mini apps. Each app has it's own InputHandler for Input from the keyboard. It's time to make a lib for that purpose - a CommandLineInterface . Can you review my code on Design OOP Clean Code Naming (my bad englisch leads to bad naming) Interface CommandLineInterpreter any class that implements this interface can be use the CommandLineInterface . M is the application, which implements the CommandLineInterpreter public interface CommandLineInterpreter<M> { Set<Command<M>> getCommands(); Response executeCommand(String identifier, List<String> parameter); } Class Command the Command is responible to map in command typed via CLI into an action (method-call) on your app. To execute the command the Class is generic on M (w...