Skip to content

Instantly share code, notes, and snippets.

@Acrosicious
Created February 15, 2018 15:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Acrosicious/57e3ea216fc52da2e18aff61a50b3cba to your computer and use it in GitHub Desktop.
Save Acrosicious/57e3ea216fc52da2e18aff61a50b3cba to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgramStarter
{
class Program
{
static void Main(string[] args)
{
foreach(var arg in args)
{
System.Diagnostics.Process.Start(arg);
}
}
}
}
@Acrosicious
Copy link
Author

Acrosicious commented Feb 15, 2018

Work-Around for blurry VisualStudio (or other windows apps)

This Fixes the blur, but depending on your displays VS window might appear at smaller or bigger scale.

  1. Just Compile as a C# Console App.
  2. Make a shortcut to desktop for the compiled exe.
  3. Right click shortcut and check the box next to "Override high DPI scaling bahavior. Scaling performed by Application.

  1. Add path to Visual Studio devenv.exe in parenthesis in the target tab. (e.g. C:\Users...\ProgramStarter.exe "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe")
  2. Apply and start the shortcut.

If you don't want to compile it yourself download it here: https://1drv.ms/u/s!AsZTHemwhpYjgoZLA0ncEWRhBoHbdw

@BrotherOdin
Copy link

This is genius. So simple, but it worked me.

@BrotherOdin
Copy link

One suggestion, use "System Enhanced" in the dropdown and it made the text look normal in terms of size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment