You wish to take a screenshot of your application.You can do PrintScreen & Paste it in Paint then save the file.
But theres another easy way inside Simulator!
Look at the Tool with white rectangle around it:
This tool helps you instantly take screenshot.Thats it!
Just click once and your image file created in your destination folder(by default its "My Pictures")
You can display your files using "View saved screenshots"
When you click on it,Windows Explorer will get to the destination folder.
You can change the destination folder by using "Choose save location..." it will request from you a new location.
So lets take a look at our screenshot.The screenshots are created using this format : "screenshot_MonthDateYear_HourMinuteSecond"
While working on a Design Environment,you'll need to set settings of the Windows 8 Device
So how easily can we do it? By using DockPanel to the left in Visual Studio 2012!
Just head over to the DockPanel to the Left as seen below:
You can change any setting of Device here,such as Orientation,Display Resolution and Border(chrome)
Its nice to see accessing these settings easily
By the way there are some resolutions settings in Windows 8 Device Settings Panel.Using these,you can change and test your application if it will display exactly the same with other resolutions. For this purpose its useful.
Then again if you're planning to ship an application for a specified resolution you're free to do it!
Here are the resolutions given in Display List:
If you'd like to change VS 2012 IDE's Environment Theme you need to click Tools Menu and choose Options:
Then a new Dialog Window will appear.There inside General->Environment you can set theme of the VS 2012 IDE.
Personally,i dont like Dark Theme,but its up to you ;)
Have been trying to find a way since there is no official release for XNA GS in Visual Studio 2012 even its Release Candidate.
But i've found something not a good idea but works anyway.
If we dont want to use XNA's Content Pipeline then what worse things can come out of it:
Well, much more lines of code!
Download the Project!
Now,Create a new Class Library Project in .NET Framework 4.5(later we'll transform it to Windows Application)
Add reference from a .NET Framework 4.5 project as its displayed there you cant see XNA .dlls as a reference but as an extension!
So we've added the .NET 4.0 extensions for XNA Framework
Now its better we write a Program.cs file and set it as a Startup Project
static class Program
static void Main(string args)
using (Game1 game = new Game1())
Later we set it as Startup Object from Project-> [YourProjectName]Properties
Now lets create a new Game class and add codes for it:
public class Game1 : Microsoft.Xna.Framework.Game
graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
protected override void Initialize()
protected override void LoadContent()
spriteBatch = new SpriteBatch(GraphicsDevice);
protected override void UnloadContent()
protected override void Update(GameTime gameTime)
protected override void Draw(GameTime gameTime)
Here we are!Now lets run it if it will run or not:
Ok.That was a nice punch to the face.i admit!
Why this problem occurs because of lack of 64-bit support for previous .net framework references which we call extensions.Now head over here:
and change as it seems:
After you change it to x86 it must have worked nicely
An empty screen drawn with CornFlowerBlue Color works as it should be while working with XNA GS.
Now why dont we just fill it?
Lets add a sample sprite it render it inside XNA project:
Lets add a picture inside your project.i added a performer png file,you can your own.
Add these variables for x,y corrdinates,width and height of the sprite and the object that we will create sprite from "Texture2D"
Inside LoadContent add these codes:
pic_texture = Texture2D.FromStream(GraphicsDevice, TitleContainer.OpenStream(@"performer.png"));
Here we set up our texture2d object to load an external image file through a path - which is in the same place as code files -
Then in Draw add these codes:
spriteBatch.Draw(pic_texture, new Rectangle(x, y, width, height), Color.White);
Here we render our sprite with given texture file,x&y coordinates,width and height of the sprite shall be.Lets run it!And display our sprite:
Even though XNA GS wasnt installed,you've succeeded on developing for XNA platform(Windows only) in Visual Studio 2012.
I do hope that it works in Windows 8 as well even though i was doing this work in Windows 7 system.
Hope this article helps you on your studies
Feel free to drop a comment if you disagree with me the way i suggest here.
Have a nice day!
Here are some samples for Metro Style applications from Microsoft.
Get them :)
Dont try it on a real device guys,besides wait for an official support or use it on a Windows7+VS2010 environment :)