Seriously, what is this? I download the sample, press "build solution" and are immediately greeted by a whoppin' 23 failures. 21 of them I can resolve myself by inserting some using-statement
s, two resist because you get stuff like this: Error 1 'Microsoft.Prac tices.Prism.Mvv m.ViewModelLoca tor' does not contain a definition for 'SetDefaultView TypeToViewModel TypeResolver' C:\Users\xxx\Do cuments\Visual Studio 2013\Projects\A dventureShopper \ReferenceImple mentation\Adven tureWorks.Shopp er\App.xaml.cs 127 30 AdventureWorks. Shopper Good work! Sample code I have to fix in order to get it to work is not really good advertisment.
Hi, I downloaded the solution, tried the steps "Open the csproj file in notepad and near the bottom remove the references to the nuget.targets and save this will then allow you to open the projects" But I still get the errors below: Error 2 MakePRI: root node not found. C:\Users\Test\D
ownloads\Develo ping a Windows Store Business App using C%23 and Prism with MVVM\C#\Prism.S toreApps\String s\en-US\Resourc es.resw Microsoft.Pract ices.Prism.Stor eApps Error 1 Processing Resources with error: Unspecified error C:\Users\Test\D ownloads\Develo ping a Windows Store Business App using C%23 and Prism with MVVM\C#\Prism.S toreApps\MakePr i Microsoft.Pract ices.Prism.Stor eApps Error 3 The project file "C:\Users\Test\ Downloads\Devel oping a Windows Store Business App using C# and Prism with MVVM\C#\.nuget\ NuGet.targets" was not found. AdventureWorks. UILogic Error 4 The project file "C:\Users\Test\ Downloads\Devel oping a Windows Store Business App using C# and Prism with MVVM\C#\.nuget\ NuGet.targets" was not found. AdventureWorks. WebServices Error 5 The project file "C:\Users\Test\ Downloads\Devel oping a Windows Store Business App using C# and Prism with MVVM\C#\.nuget\ NuGet.targets" was not found. AdventureWorks. Shopper Hope someone can help me! Thank you!
Yep anyone else get this to work at all?!
Nope, I can't get it to build either.
Finally got it to work... 1) I don't care about tests, so I just removed the test project from the project to reduce the errors to just a couple. 2) Go to Micorosft.Pract
ices.Prism.Stor eApps/Strings/e n-US/ and set the 'Copy to Output Directory' setting to 'Copy Always' 3) At this point I could get the project to build, but I couldn't run it in debug. Apparently there was a build version/order issue. I fixed this by cleaning the projects, then rebuilding them, then cleaning the solution and rebuilding it. I feel this was a lot harder than it should have been...
I just extracted the solution in VS 2013 update 4 on my Windows 8.1 Pro machine, tried running the NuGet restore and it didn't work. Does anyone from the PnP team have any insight on how to get this app to build? I assume this is the latest build, March 2, 2015.
Will there be a performance lag if i use Prism.PubSubEve
nts's Event Aggregator instead of directly using events ? I know decoupling and code maintainbility is the advantage of using Event Aggregator/Even t Broker pattern but will performance be same ? cheers, Saurav
My IDE is VS express 2013 for windows. I download this prism sample and open AdventureWorksS
hopper.sln, it shows following error: Unsupported.Thi s version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. it also shows error "the edition of visual studio only support windows store apps". I feel frustrated. Can you tell me how to run this sample in VS2013? thanks.
There is a comment with this same question posted below (Which Visual Studio Express Edition Works?) on December 20th, 2013. As I replied on that comment, your IDE would not be able to load every project of AdventureWorks Reference Implementation because this solution has several project of Web and others of Windows type. Therefore, you would need a version of Visual Studio that may support both project types. Regards.
The Prism project for Windows 8 and 8.1 Store Apps do not include any example implementing incremental loading of data (pagination). Does the Prism team not have any guidelines surrounding this requirement?
Hi, In the download section of the CodePlex site for this project you can find the Prism's Quickstarts which include a IncrementalLoad
ingQuickstart: - https://prismwi ndowsruntime.co deplex.com/rele ases/view/10687 0 You can also find the Quickstart's documentation in the following link: - http://msdn.mic rosoft.com/en-u s/library/windo ws/apps/dn53596 4.aspx Thanks, Damian Cherubini http://blogs.so uthworks.net/dc herubini
My team has already built a fully functioning Windows Store Business App for Windows 8 using Prism. We now want to migrate our app over to Windows 8.1 and also want to use the new Prism framework for Windows 8.1. The documentation present helps to build Windows Store applications from scratch. I could not find any specific guidelines to aid me in my endeavour. Could anyone please help me with this?
Hi anyone tried this on a tablet? Soon as the page loads the searchbox receives focus and they keyboard pops up obscuring half the app. Setting the IsTabStop to false doesn't appear to stop this behavior, anyone got any workrounds?
Ok I've fudged it by putting a 0 sized 0 opacity button behind the search box with a lower tab index. Surely there has to be a better way?
Another workaround for the same is enclosing the search textbox with a scrollviewer control with tags as seen below: <ScrollViewer IsTabStop="True
" HorizontalScrol lBarVisibility= "Hidden" VerticalScrollb arVisibility="H idden"> <SEARCHTEXTBOX> </ScrollViewer>
Hello, I build and deploy the application but I get these errors: MakePRI: root node not found. Can´t find file "C:\EJEMPLOS\MV
VM\Developing a Windows Store Business App using C# and Prism with MVVM\C#\.nuget\ nuget.targets". AdventureWorks. WebServices Can´t find file "C:\EJEMPLOS\MV VM\Developing a Windows Store Business App using C# and Prism with MVVM\C#\.nuget\ nuget.targets". AdventureWorks. UILogic Can´t find file "C:\EJEMPLOS\MV VM\Developing a Windows Store Business App using C# and Prism with MVVM\C#\.nuget\ nuget.targets". AdventureWorks. Shopper Processing Resources with error
Open the csproj file in notepad and near the bottom remove the references to the nuget.targets and save this will then allow you to open the projects
I would like to adopt the Prism to my Windows 8.1 Store App. So I run the Windows App Certification Kit 3.1 over the Prism EventAggregator
QuickStart and expect a pass grade. However, I received a fail instead. It failed at performance and system crashes or hungs. Any idea why that happen. The most importantly can we adopt the eventaggregator in the Windows 8.1 Store App? Thank.
Based on my understanding, the EventAggregator service could be configured on Windows 8.1 Store Apps by using the Prism library. I would recommend you the following EventAggregator
Quickstart documentation in order to properly configure the EventAggregator service on your Windows Store App: - http://msdn.mic rosoft.com/en-u s/library/windo ws/apps/xx13064 4.aspx Regarding the Windows App Certification tests, QuickStart solutions would not guarantee a full test pass as their main purpose is to show a simple implementation on how to use its corresponding services. Anyway, you may check the AdventuresWorks hopper RI solution which uses PubSubEvents and it successfully passes the certification tests. I hope this helps, Regards. Gabriel Ostrowsky https://blogs.s outhworks.net/g ostrowsky
Thanks Gostrowsky! I have found the cause of the problem. Thanks the debug location feature, I found that from the quickstart code sample, in app.xaml.cs, there is a call to handle suspend state throws an exception. Comment out that call. All works fine. I will certainly look in the AdventuresWorks
hopper for reference.