You are right; the key HKLM\SOFTWARE\Microsoft\.NETFramework\InstallRoot does not exist. If I add the path C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbu ild.exe the build is working OK.
When I tried using “devenv”, a couple of my solutions failed. I remember reading somewhere that solutions including setup projects could cause problems when building and I assumed that this was my problem (all other solutions worked OK using “devenv”).
I will now use the path to msbuild and my problems are solved – for now.
Thank you.
Kim
|