Дякую що відгукнулися :) Build Action перевірив, стоїть App.Definition... ось стек помилки:
System.IO.IOException was unhandled
Message="Cannot locate resource 'myapp.xaml'."
Source="PresentationFramework"
StackTrace:
at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at System.Windows.Application.GetBamlOrXamlPackStream(ProtectedUri packUri, ContentType& contentType)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at Microsoft.Samples.RecipeCatalog.RecipeViewer.RecipeViewerApp.InitializeComponent() in c:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\CrossTechnologySamples\RecipeViewer\RecipeViewer\RecipeViewer\MyApp.xaml:line 5
at Microsoft.Samples.RecipeCatalog.RecipeViewer.RecipeViewerApp.Main() in C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\CrossTechnologySamples\RecipeViewer\RecipeViewer\RecipeViewer\obj\Release\MyApp.g.cs:line 0
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Ніяк не можу збагнути звідки ця помилка (у коді нічого не змінював)...