Comments (31)
Hello @RahulPureSoftware
I m also learning PRISM with WPF. Can you tell me what you want to reach with your project?
If you want you can learn PRISM together by creating a project.
Sorry this not a part of this question!!
Ghislain
from prism-samples-wpf.
@RahulPureSoftware
I m glad to earn that you solved the issu.
Go ahead!!
from prism-samples-wpf.
The same way you would with the bootstrapper.
from prism-samples-wpf.
Because we have a new PrismApplication class to use instead. Don't worry, you can keep using the Bootstrapper if you want, but we want people using the new PrismApplication class because we are making Prism easier to use.
from prism-samples-wpf.
thanks for the reply, kindly see this stackoverflow thread. i have given my class details.
protected override IModuleCatalog CreateModuleCatalog() { return new ConfigurationModuleCatalog(); //return new DirectoryModuleCatalog() { ModulePath = Environment.CurrentDirectory }; }
this is not helping me to call module from config file.
from prism-samples-wpf.
Unfortunately, it will be difficult to help you since you didn't provide any helpful information about the issue you are having. There can be a lot of reasons why your apps not working. Anythign from you don't have the app setup right when you made the transition to use PrismApplication, to there might actually be a bug somewhere. Create a simple app that reproduces the issue.
from prism-samples-wpf.
Im creating a sample app in 7.0 im not migrating the application from 6.0 to 7.0. I have given details in that stackoverflow link above. So what made you to not understand, what im missing. kindly give what details u need on this let me reply sir.
from prism-samples-wpf.
You have not given enough details. We don't know anything about how your app.xaml looks like, we don't know where your modules at being copied, and more. Create you simple sample and make it available for others to download.
from prism-samples-wpf.
Sure let me do that
from prism-samples-wpf.
Here is my sample code. Its not loading the moduleA project.
from prism-samples-wpf.
I see the problem, you need to be using the latest CI build on MyGet. Simply add https://www.myget.org/F/prism/api/v3/index.json
as a package source to Visual Studio. Then upgrade to the latest.
from prism-samples-wpf.
Also, your xcopy code in the ModuleA project is wrong, you'll need to fix that too.
from prism-samples-wpf.
Fixed and code committed, still not working
from prism-samples-wpf.
Nope, you didn't fix it. You broke it even more. You didn't upgrade the NuGet package to use 7.0.0.444-ci (ModuelA has zero packages), and you are no longer copying the module to the exe's bin folder.
It works. I am running it just fine.
from prism-samples-wpf.
im copying it manually to the location(ModuleA). actually im using Prism V7.1.0.444
from prism-samples-wpf.
No you're not:
https://github.com/vinosd08/Prism7.0/blob/master/Modules/packages.config#L5-L6
https://github.com/vinosd08/Prism7.0/blob/master/ModuleA/packages.config#L2
from prism-samples-wpf.
from prism-samples-wpf.
I linked you directly to the lines of code that are broken. You need to upgrade the other packages, not just core.
from prism-samples-wpf.
and im referring the dll from file directory for module A
from prism-samples-wpf.
ok you mean it for Prism.core, prism.Unity.wpf and prism.wpf rite?.
from prism-samples-wpf.
Its working fine now thanks Sir. :-)
from prism-samples-wpf.
I was trying to add NuGet Package "Prism.Core.7.1.0.444-ci", but could not found. Any suggestion to locate this version?
from prism-samples-wpf.
You must have a Nuget source setup that points to the Prism MyGet feed and also check the "include prerelease" checkbox in the naget manager dialog.
from prism-samples-wpf.
Hi Brianlagunas,
I downloaded prism binaries of version [7.1.0-pre1] from this link (Release.zip) and used these in my sample project at gitHub.
RegionManager.RequestNavigate is not working.
I don't know what I am doing wrong, but I need to use journals for making wizard like UI, so I need to understand working of regionManager.RequestNavigate.
When I run this project, view is not loaded onto the ShellRegion and "System.Object" is being shown instead.
Please let me know by having look on my sample project.
from prism-samples-wpf.
Thanks Ghislain1.
I have started looking into prism samples, which seems better approach to practically understand prism.
For my above query, I was missing to register my View for Navigation, so I did by using below code:-
containerRegistry.RegisterForNavigation<ViewType>();
Even by looking into prism samples, I could figured out my mistake in code.
from prism-samples-wpf.
Hi All,
How to do an open the multiple shells in WPF prism using region manager?
Please kindly replay for that.
from prism-samples-wpf.
Watch this course: https://www.pluralsight.com/courses/prism-showing-multiple-shells
from prism-samples-wpf.
Hi Brian,
@brianlagunas i updated the project(@vinosd08 ) with 7.1.0.279-pre. But no Module is loaded!
Why?
xcopy "$(TargetDir)." "$(SolutionDir)$(SolutionName)$(OutDir)" /Y
from prism-samples-wpf.
@Ghislain1 because there was a bug in the preview, which has been fixed. You can try the latest CI builds on our MyGet feed.
from prism-samples-wpf.
Hi Brian,
where can I config Logger in Prism 7?
from prism-samples-wpf.
just register your logger with the container.
from prism-samples-wpf.
Related Issues (20)
- Project paths are wrong
- UsingCustomWindow: Example incomplete and does not work when completed HOT 2
- project 12(UsingCompositeCommands) is exactly the same as project 13( IActiveAwareCommands) HOT 1
- Could not find Registering Modules Using a XAML file HOT 2
- Prism-Samples-Wpf
- 12-UsingCompositeCommands error HOT 1
- 21-PassingParameters “PersonList.xaml” has a little problem on my computer HOT 2
- Where are examples of interactivity HOT 1
- [Question] Is it possible to implement 07-Modules - LoadManual to xamarin HOT 1
- Prism Interactivity InteractionRequest alternative in Prism 8.x as InteractionRequest is obsolete now HOT 1
- I want to provide a sample about dialog service HOT 5
- Overall Solution file HOT 3
- How to use Prism in Extensions for Visual Studio?
- VS2017 can't open the *.csproj; Which Visual Studio Version should we use to open the *.csproj? HOT 1
- [Qusetion] Bootstrapper or App.g.i.cs change.. What's better?
- How to read appsetting.json from prism application?
- How do I get all registered views in WPF HOT 1
- 25 HOT 1
- Blank window samples HOT 2
- Why is it so hard to use regions? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prism-samples-wpf.