[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: ProxyGen for .Net is not working (when using "PathFinder.exe")

Status
Not open for further replies.
M

Matt Gilarde

Guest
When you use the /csc option PathFinder does the following: Check that HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft\\.NETFramework exists. If not, throw an exception. Look at the InstallRoot value in SOFTWARE\\Microsoft\\.NETFramework to see where .NET is installed on the machine. Call this frameworkdir. It will be something like c:\Windows\Microsoft.NET\Framework64 Enumerate the keys under SOFTWARE\\Microsoft\\.NETFramework\\Policy. If a key starts with the letter 'v' get the first subkey. For example, if it finds SOFTWARE\\Microsoft\\.NETFramework\\Policy\v4.0 it looks there to find the first subkey. On my machine it's SOFTWARE\\Microsoft\\.NETFramework\\Policy\v4.0\30319. Put everything together: frameworkdir + version + subkey -> c:\Windows\Microsoft.NET\Framework64\v4.0.30319 Look for csc.exe in that directory. It will look through all installed versions looking for the highest framework version supported by the version of OpenEdge you're using.

Continue reading...
 
Status
Not open for further replies.
Top