Giter Site home page Giter Site logo

Comments (31)

Ghislain1 avatar Ghislain1 commented on June 2, 2024 1

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.

Ghislain1 avatar Ghislain1 commented on June 2, 2024 1

@RahulPureSoftware
I m glad to earn that you solved the issu.
Go ahead!!

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

The same way you would with the bootstrapper.

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

vinosd08 avatar vinosd08 commented on June 2, 2024

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.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

vinosd08 avatar vinosd08 commented on June 2, 2024

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.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

vinosd08 avatar vinosd08 commented on June 2, 2024

Sure let me do that

from prism-samples-wpf.

vinosd08 avatar vinosd08 commented on June 2, 2024

Here is my sample code. Its not loading the moduleA project.

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

brianlagunas avatar brianlagunas commented on June 2, 2024

Also, your xcopy code in the ModuleA project is wrong, you'll need to fix that too.

from prism-samples-wpf.

vinosd08 avatar vinosd08 commented on June 2, 2024

Fixed and code committed, still not working

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

vinosd08 avatar vinosd08 commented on June 2, 2024

im copying it manually to the location(ModuleA). actually im using Prism V7.1.0.444

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

vinosd08 avatar vinosd08 commented on June 2, 2024

untitled

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

vinosd08 avatar vinosd08 commented on June 2, 2024

and im referring the dll from file directory for module A

from prism-samples-wpf.

vinosd08 avatar vinosd08 commented on June 2, 2024

ok you mean it for Prism.core, prism.Unity.wpf and prism.wpf rite?.

from prism-samples-wpf.

vinosd08 avatar vinosd08 commented on June 2, 2024

Its working fine now thanks Sir. :-)

from prism-samples-wpf.

RahulPureSoftware avatar RahulPureSoftware commented on June 2, 2024

I was trying to add NuGet Package "Prism.Core.7.1.0.444-ci", but could not found. Any suggestion to locate this version?

image

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

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.

RahulPureSoftware avatar RahulPureSoftware commented on June 2, 2024

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.

image

Please let me know by having look on my sample project.

from prism-samples-wpf.

RahulPureSoftware avatar RahulPureSoftware commented on June 2, 2024

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.

ismailsameer12 avatar ismailsameer12 commented on June 2, 2024

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.

brianlagunas avatar brianlagunas commented on June 2, 2024

Watch this course: https://www.pluralsight.com/courses/prism-showing-multiple-shells

from prism-samples-wpf.

Ghislain1 avatar Ghislain1 commented on June 2, 2024

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.

brianlagunas avatar brianlagunas commented on June 2, 2024

@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.

JasShao avatar JasShao commented on June 2, 2024

Hi Brian,
where can I config Logger in Prism 7?

from prism-samples-wpf.

brianlagunas avatar brianlagunas commented on June 2, 2024

just register your logger with the container.

from prism-samples-wpf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.