Hi I posted a message a while ago, asking why a script file inside an app bundle, created by Oxygene in Visual Studio never got its permissions set correctly. John's initial response was that it was down to having the target directory on the Mac and that the shared permissions weren't set correctly. Well, I have just run some more tests and found that, even if I compile the project on a Windows local disk in the VM, the permissions on the script file do not include 'executable'. However, I have just purchased VMWare Fusion and, lo and behold, the problem does not exist under their VM, even though I compiled the project on the shared Mac disk and having done absolutely nothing to the shared permissions, over and above that which I did for Parallels. Could someone please investigate this further, otherwise, I may well move to VMWare in the future. After all, I have just had to buy a copy, just to get around what would appear to be an unresolved bug in Parallels:-(. Alexander, the previous thread wouldn't throw any more light on the problem. I had made an assumption that the problem was caused by wrting to a shared folder. Allow me to lay down the steps that reveal the problem: Start Visual Studio, with Oxygene from RemObjects installed. Wd my passport for mac solid light but not working. Create a new Oxygene Cocoa application for OS X, using a shared folder as the target. Build the application. Use Finder to locate the resulting application in the shared folder in OS X Show contents of the app package and navigate to the Contents/MacOS folder, or use Terminal to list the contents of the Contents/MacOS folder. You should find a script file, with the same name as the app, that should possess the attributes: -rwxr-xr-x Instead, the file possesses the atttributes: -rw-r--r-- If I create the project in a folder on a Windows disk in the VM, I get a different result; the script file gets the attributes: -rw-rw-rw- Either way, the executable permission is missing. I have been in touch with RemObjects and they state that the attributes applied by VMWare Fusion (-rwxr-xr-x) are correct. I would much prefer to stay with Parallels for my VMs but, at the moment, I have had to purchase VMWare Fusion to avoid this problem when demonstrating to developers' groups. Do not hesitate to state if you need any more information to resolve this matter. Thanks Joanna. I followed up with your instructions: installed Oxygene, created Cocoa project on mapped Mac OS X share, but failed to build project due errors: C: Program Files MSBuild RemObjects Software Oxygene RemObjects.Oxygene.targets: Warning: (MSB3245) Could not resolve this reference. VS for Mac Product Manager Rajen Kishna replied: 'Our goal with Visual Studio for Mac is to create a native IDE for Mac users with workloads that make sense on macOS. That means 'desktop app' development will target macOS and Visual Studio (on Windows) can be used to target Windows. Could not locate the assembly 'cocoa-sharp'. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Hi Alexander You need to install the CocoaSharp.dll as per the instructions on RemObjects site. //////////// Unfortunately, Mono for Windows currently doesn't ship with the cocoa-sharp.dll required to build Cocoa# apps. But that's easily fixed - just copy the dll off your Mac (from /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/cocoa-sharp) to Windows (to C: Program Files Mono 1.x.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |