Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hardcoded devenv path with method to find devenv path on local system #5

Closed
Roald87 opened this issue Jun 5, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Roald87
Copy link
Owner

Roald87 commented Jun 5, 2020

Currently the devenvPath is hard coded in TcProjectBuilder to the default path "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/devenv.exe" for VS2017. Would be nice to make it independent of the system and VS version.

@Roald87 Roald87 added this to the Version 0.2 milestone Jun 5, 2020
@Roald87
Copy link
Owner Author

Roald87 commented Jun 7, 2020

Maybe with (source):

RegistryKey rkey = Registry.LocalMachine;
RegistryKey rkey1 = rkey.OpenSubKey(REGISTKEY, false);
string devenvPath = rkey1.GetValue("").ToString();

@Roald87 Roald87 added the enhancement New feature or request label Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant