I want to migrate my Windows Phone 7 App, to a Windows 8.
I started doing it after this Documentation: http://msdn.microsoft.com/en-us/library/windows/apps/hh465136.aspx
Those are the steps:
Launch Microsoft Visual Studio Express 2012 RC for Windows 8 and create a new Metro style app using C++, C#, or Visual Basic. Choose a project template that best matches your app layout and functionality. For more info, see Jumpstart your Metro style app using templates (C#, C++, Visual Basic).
Copy the folders, code, and asset files that you want to reuse in the new project.
In the Visual Studio Solution Explorer, click Show All Files.
Select the files and folders that you copied, and then right-click them and select Include In Project.
Perform a global search and replace to replace "System.Windows" with "Windows.UI.Xaml".
Copy the reusable parts of your original XAML code into the new project's XAML files, or into newly created XAML files as necessary. You can often copy and reuse the contents of page layout roots (typically Grid elements), but not the outermost elements (typically PhoneApplicationPage elements).
My Question starts at point 2: Let's say i have a page: Settings.xaml and Settings.cs. Do i have to copy both of them or none and add the code later? If I add Settings.xaml i get an error because of the tag:
<phone:PhoneApplicationPage ...>
like it says at point 6.
I dont have any Problems with my dll's or with my "normal" classes, which arent connected to a xaml.
And when i create a Windows 8 Page i don't know where to add my Code from WP7 in Windows 8
<Grid Background="Transparent">
.....Code.....
</Grid>
I hope you guys can help me out.