Hi,
I've been using wyBuild for quite a while, now on my fourth laptop. (Yes, I'm hard on laptops.) This time, having move everything to my new laptop, I am unable to build wyUpdate or build updates. Here's what happens:1) Add a new version2) Add files to the new version (both of these steps are identical to the previous dozens of versions of the same app).3) Click Build wyUpdate4) Get message "Failed to build wyUpdate"5) Click "View Details"6) Error shows in "Access is denied"7) Double-click the error8) wyBuild takes me to the Download Sites tab and highlights the top item
Locally, it creates a wyUpdate folder, but does not create wyUpdate.exe or client.wyc in it.
If I try this same procedure with the exact same .wyp file on my previous laptop, it works just fine
More evidence ... if I skip the Build wyUpdate stage and just "Build Updates", I get an unhandled exception, "Access is Denied". The details are:
System.Security.CryptographicException.ThrowCryptograpghicException(Int32 hr)System.Security.Cryptography.CryptographicException: Access is denied.
at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv) at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters) at System.Security.Cryptography.RSA.FromXmlString(String xmlString) at wyBuild.UpdateBuilder.SetPrivateRSASignKey(String key) at wyBuild.Project.BuildUpdate(Int32 revisionFromIndex, Int32 revisionToIndex, UpdateBuilder updateBuilder, Boolean createCatchAll) at wyBuild.frmMain.BuildUpdate() at wyBuild.frmMain.btnBuildUpdate_Click(Object sender, EventArgs e)
... and so on ...
Now, I was able to work around this. Though I was working from an Administrator account (in Windows 7) I decided to create another Administrator account and try it from there. This worked.
I have full permissions to the directories in question ("wyUpdate" and "Updates") under my original account, so why should I get access denied errors?
-B