@rogreen: Oh great, now I look and feel stupid for not having see what is so obviously there, Thank you, Robert.
Nuts, I've just asked this same question again, but on the next lesson in this series. I'm sorry for duplicating my question.
No, I don't have resharper installed, but I do have the Telerik tools installed, so maybe that's what's going on.
Excellent tutorial! This helps with the basic concept of getting your tiles onto the start screen, something I've wondered how that is to be done for a while, now I know.
One thing, which I don't understand, is that in Visual Studio I have a green squiggly line under things like PhoneTextNormalStyle, PhoneFontSizeNormal, etc. If I mouse over those squiggly lines I get a popup that says:
"XAML 'PhoneFontSizeNormal' is not found"
Why is that? It is my understanding, based upon this tutorial, that those are all styles found online, and I would conclude resolved in that way. So, why am I getting that warning message?
Thank you, @Bob and @Clint, for these tutorials. This particular one covered ground that I'm, for the most part already familiar with, but even so there were things I didn't know about. For example, I didn't realize that a xmlns that wasn't named ((e.g.: :x="(something)") is known as the default namespace. Very handy!
One question I'd like to ask. I'm going to be going along, doing the code as you do it. In my PetSounds project I've got a blue, wavy line under many of the static resources, like PhoneFontFamilyNormal or OhoneTextNormalStyle. If I move my mouse over any of these I get a popup that says:
XAML: Resource 'PhoneFontFamilyNormal' is not found
I don't understand why this should be, after all I am following your instructions, so what am I missing?
@Bob Tabor, thank you very much for a thorough explanation. You're probably correct, and I might be missing some groups or something like that on my machine, which you have on yours. Something that I'm not a member of. For now, I can run Visual Studio as Administrator. After all, I have to do that whenever I do ASP.NET development. I've got to get more comfortable using VM's. I tried using the special VM that came out with Windows 7 for putting a version of Windows XP onto your machine. I've heard recommendations for the free version of VMware, so will look into it as you suggest.
Here's a little more info. I now know that the local group that my account needed to be added to is called Hyper-V Administrators group. It is found in the local users and groups, which you can get to through Computer Management. I found the group there, and I added myself to it.
After adding myself to that group I then got back in Visual Studio and opened the project, and started to run it in the debugger. I then got another error message that says:
You don't have permissions to modify internal Hyper-V network adapter settings required to run the emulator.
Click "Retry" to run the emulator in elevated mode.
Well, yeah, I cold run the emulator in elevated mode, but the whole point of putting yourself into the Hyper-V Administrators group is so that you don't have to run the emulator in elevated mode, or so I understand. So, am I missing something else, made some other mistake, done something else wrong, failed to do something else?
Hi Avner and Bob,
As far as I know (but Bob please correct me if I'm wrong), the Pro version of Win8 is needed for using the emulator, so I think "For the purpose of developing Windows Phone apps, you don't need the Pro option, just make sure whatever you choose is 64-bit." is true anyway, but might be a little bit misleading. So if you won't be able to debug on a real device, you definitely need to go for Win8 Pro. Also you will need an i3/i5/i7 processor for SLAT, so I'm afraid your older DualCore processors won't be able to run emulator.. See http://www.microsoft.com/en-us/download/details.aspx?id=35471
I agree with this, I bought a Sony VAIO laptop in December 2012, which came with Windows 8 on it. I called Sony to learn how to turn on virtualization on the BIOS, which they helped me do. Then I installed the WP8 SDK, per this episode, and got 2 error messages. One saying that it couldn't add my account to some virtualization group in Windows (I wish I'd saved a screen dump of that dialog box, but I didn't so I'm going on memory here), and the other one that said that virtualization wasn't turned on. I just can't believe that; I've turned it on, and this installer said I didn't?! I also downloaded the SysInternals' CoreInfo app, ran it and it verified that I had virtualization as well as SLAT turned on. So, again, I don't know why the SDK installer said I don't have virtualization turned on, whereas other utilities say that I do.
But then I decided to go ahead and try to get into VS 2012 and create a project anyway. After all, the installer said it ran successfully, even though it reported those 2 problems. I created a plain, vanilla Windows Phone 8 app, then tried to run it in the debugger. I told me that I couldn't, sauying that I needed Windows 8 Pro in order for the emulator to work. OK, I've just did an in place upgrade, and will see if this makes it possible for me to run the emulator. I'm wondering, though, would the 2 errors that I encountered not have been encountered if I had Windows 8 Pro on this machine to begin with?
Apr 20, 2013 at 4:04 PM
Thank you very much for this information, Sean!