Thanks for your reply.
I see this errors for WPF Application:
Error 1 Library project file cannot specify ApplicationDefinition element.
Error 2 The project file contains a property value that is not valid.
Oh thanks Pete O'Hanlon, its working fine.
One thing i want to put here: if I don't remove the App.xaml and App.xaml.cs file, and Change Build Action from ApplicationDefinition to Page then also it works.
Not sure I get you... but if you want a class library to contain xaml (Windows, Pages, UserControls etc) then it can do, and yes you might need to manually add some references to the default 'class library' visual studio template.
If you create a WPF app then obviously the template already contains all the basic references you need.
You still don't need to switch a single project between a class lib and an application types.
when we use a NavigationService instance(nav) to navigate. then a NavigationWindow or Frame will add a journal automatically. sometime,we want to control this process. how to do it?
I just want to write a name to its stack. and dispose the privious page.
Been a while since I have looked at Windows 8 development, but one thing I liked was the idea of sharing content across applications. After some digging that functionality seems to be wrapped in the DataTransferManager Class[^]. Does anyone know if similar functionality exists in non-store applications?
For example, I make a custom object SuperKewlData (or maybe an interface) and would like to develop an application that hands off that data to another application I develop (or maybe a third party application). I do not want to have the overhead of building up a bunch of WCF services etc. especially if the OS will do it for me.
Also, I want to use other standards. Like I would like to open a word doc with whatever application the user has installed and prefers for ".doc" files rather than forcing them to use a specific application that I assumed they have installed.
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.
The interesting thing about software is it can not reproduce, until it can.
Last Visit: 31-Dec-99 19:00 Last Update: 26-Nov-14 18:36