W
Washington
In my application I have following part of code:
using System;
using Microsoft.Win32;
using System.Diagnostics;
....
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\xxx\\yyy\\")
end everything works normally..
Problem description:
----------------------
I am trying to implement the same functionality on another app and I am
receiving following error:
'HEUpdate.Registry' does not contain a definition for 'CurrentUser'
I can not se what is wrong, probably is trivial but I can not see
If you know where problem is, please help. Thanks.
using System;
using Microsoft.Win32;
using System.Diagnostics;
....
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\xxx\\yyy\\")
end everything works normally..
Problem description:
----------------------
I am trying to implement the same functionality on another app and I am
receiving following error:
'HEUpdate.Registry' does not contain a definition for 'CurrentUser'
I can not se what is wrong, probably is trivial but I can not see

If you know where problem is, please help. Thanks.