Created
December 19, 2016 10:54
-
-
Save RickStrahl/72075e8adce859abf2f0f0da37fe15df to your computer and use it in GitHub Desktop.
Sample that demonstrates the difference when running Visual Studio debugger in 32 bit instead of 64 bit as expected.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string mmFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),"Markdown Monster"); | |
string path = sk.GetValue("Path").ToString(); | |
if (!path.Contains(mmFolder)) | |
{ | |
var pathList = path.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).ToList(); | |
pathList.Add(mmFolder); | |
path = string.Join(";", pathList.Distinct().ToArray()); | |
sk.SetValue("Path", path); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment