Having at last got an Asp.Net Mvc 4 project template working on the Mac/Xamarin/Mono, I came to grief again when deploying it to a Windows hosted server. The problem is that whereas mono works without
Microsoft.Web.Infrastructure.dll (and indeed is likely to give errors if you have it), for hosting on Windows you must re-include it.
So my deploy process now includes putting
Microsoft.Web.Infrastructure.dll back in the web application
bin/ directory; and now I can develop on the Mac and deploy to a Windows Server.
Relief comes from an unexpected quarter if you pine for your unix command line shell aliases and other such:
doskey ls=dir $*
is what you want. you can put it in an autorun setting in your registry by pasting this into notepad and saving it as
Windows Registry Editor Version 5.00
If you prefer to do it by hand rather than by double clicking a .reg file, you don’t need the extra quotes and escapes (but keep the outermost quotes):
Note you use
$* instead of
%*. You can otherwise use
$1-$9. Further escape codes are on the technet DosKey page
If you’ve downloaded bootcamp drivers for Macs to run Windows 7 or 8, but still have problems, here’s my summary of the main issues and solutions I know of:
- The download file won’t open; or it doesn’t seem to work somehow; or doesn’t contain all the drivers you expect Do the download again using a download manager because sometimes the download appears to finish but hasn’t really. There are a couple of download managers I know of for OS X:
- You get an error message saying that the drivers can’t be installed on this computer model.In this case you may have one of 3 problems:
- You clicked the wrong download link. Check the instructions on finding your ModelIdentifier again carefully, and try again.
- Some Macs only get drivers for 32-bit versions of Windows and some only get drivers for 64-bit versions of Windows so if you install the wrong one, you’ll have to start again.
- Older models don’t support 64 bit Windows.
- Late 2012 Macs appear to only get drivers for 64 bit Windows, in spite of the Apple website not saying that. In this case, you’ll have to re-install a 64-bit Windows version.
- Try the Everymac page for a summary of which computers run 32/64 bit windows
- Back to item one – your download didn’t work properly. Get a download manager and try it again
- If you no longer have OS X on your machine, or if you did the download in Windows anyway, then opening-a-bootcamp-driver-download-on-windows-7-or-8-with-7-zip is the page that explains how to open the pkg file and the dmg file in Windows
- And finally the really obscure one: All you get in your download is drivers for a Motoral modem. I’m not sure what’s going on here, so I’m grasping at straws but you could try this: in the download URL, replace the http://swcdn.apple.com/ by using nslookup to to see if you can change which server is ‘really’ serving your download, for instance:
For years I have shunned Apple’s OS X Spaces as useless. I was excited about them for a good 2 minutes, which is how long it took to find out that if I had 2 spaces open, and I opened a browser in the 2nd space, then it flipped back to the 1st space. Completely not the point of having Spaces.
Until today. I found this setting in Mission Control:
So I un-ticked it. Perfect. Now I can have a space for work, a space for homework, with browser and mail and other windows open in each space, and it no longer flips between them except I want it to.