prism5 wpf View-Switching Navigation QuickStart demo doesn't run - wpf

I'm new to PRISM, and downloaded the quickstart demos, and tried the View Switching Navigation.
i could build the solution, there is no error there, but when i try to run the application it gives error that cannot load CalendarModule.dll.
An unhandled exception of type 'Microsoft.Practices.Prism.Modularity.ModuleTypeLoadingException' occurred in Microsoft.Practices.Prism.Composition.dll
Additional information: Failed to load type for module CalendarModule.
Error was: Could not load file or assembly 'ViewSwitchingNavigation.Calendar.dll' or one of its dependencies. The system cannot find the path specified.
i've got this error at bootstrapper.run()
thanks for any hint!

Related

Unhandled Exception: MissingPluginException(No implementation found for method openEditor on channel video_editor_sdk)

[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method openEditor on channel video_editor_sdk)
My project in this error .
Use This Dependency : video_editor_sdk: ^2.6.0
Please fast This Error Solution .. StackOverflow Community
This plugin is only supported on Android or iOS. If you're testing on another platform it'll throw the MissingPluginException.
Always check PLATFORM in the package info on https://pub.dev. The image below is from video_editor_sdk package that says only Android or iOS are supported.

gtlfjsx model error: memory access out of bounds, Decoding failed

I'm facing this error as showen in image while rendering this floating-shoe using gltfjsx example and i don't know the real source of bug, any solution or even a hint.
The model was working 100% then i was working on an other component ib the same app without touching the model code then suddenly the error occured...I tried to reinstall the project file from this repos without any other componenet just the shoe model boilerplate, and the same error occured.
Console error

CRA - Failed to register a ServiceWorker, unsupported MIME type ('text/html')

I am getting the following error when publishing my create react app but the error doesn't appear locally. I recently updated my React version and a load of packages too. I'm guessing it's possibly something to do with that as I've never had this issue before?
Error during service worker registration: DOMException: Failed to register a ServiceWorker for scope ('https://**subdomain**.azurewebsites.net/') with script ('https://**subdomain**.azurewebsites.net/service-worker.js'): The script has an unsupported MIME type ('text/html').
Any input on this will be greatly appreciated. The error doesn't appear to be breaking anything from what I can see but I'd rather not push this to production with any kind of errors
So turns out the issue was because I updated the react version. CRA doesn't have service workers out of the box anymore. The project was returning 'unsupported MIME type ('text/html')' because it was hitting 404 looking for a file that doesn't exist.
The fix was relativly simple.
I replaced the registerServiceWorker() in my index.js file with reportWebVitals(). I then added reportWebVitals.js to my src folder. (I just created a temp react project and pulled the file from that). After I did that it started to work for me. I think I also had to npm install web-vitals.

CI/CD pipeline deployment of AngularJS1.5.11 to azure websites giving error "Failed to instantiate module app.core due to Unknown provider: ENV_VARS"

after deploying the "AngularJs_1.5.11" app to "azure-websites" using "azure-devops" continuous-integration and deployment gives error:
[$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.core due to:
Error: [$injector:unpr] Unknown provider: ENV_VARS
below is the screenshot of the error while accessing the AngularJS azure-website :
also find below screenshot of my build pipeline in azure-devops which deploys AngularJS application build to "azure-websites"
below screenshot is my application code in VSCode
I just started working on this new project which uses AngularJS_1.5.11 so I have no clue what is going wrong. I tried these links
unknown ENV provider in AngularJS from stack but as I am new to AngularJS I have no idea where to apply the changes in my code mentioned in the link.
Any suggestions would be of great help.
Edit:
#Mark if you look at the screenshots below you will come to know how we are setting "ENV_VARS" in the code using "gulp.js, env.config.js, config.json" file
Edit1:
#Mark please find the screenshot of the 'config.js' file which gets created in the gulp task 'ng-config' using source file 'config.json' under "./src/client/app/config.js"
Here are the docs regarding the knowledge relevant to this issue.
Somewhere in your program, it is trying to reference one or more members defined in an angular provider registered as "ENV_VARS". Providers are angularjs objects that are available during compile time (see the table row for "object available in config phase" in this SO answer)
I would search the source of the application to see if this provider was further configured elsewhere (you can search by its name 'ENV_VARS') as it may not be getting sent over with your other source files.
To attempt a quick fix:
On the first line of your app.module.js, change it to this
angular.module('app.config', []).constant("ENV_VARS", {});
This will likely result in another error, but it should pinpoint you to what is trying to access this provider. I'm assuming this is either inherited code or from a purchased template so you may want to investigate the sources to that if possible.

Bing Maps Silverlight Control, System.Windows.Browser .dll

When I'm deploying application to WP7, application throws exception:
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Microsoft.Maps.MapControl.Map' that matches the specified binding constraints threw an exception. [Line: 24 Position: 16] ---> System.MissingMethodException: File or assembly name 'System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7CEC85D7BEA7798E', or one of its dependencies, was not found.
When I'm deploying same application to emulator or mobile device(in debug mode) everything works as expected.
Do you have any idea how to make it work without debug mode?
First, check if System.Windows.Browser is referenced in your project, and if it already was, check in its property tab that it's marked as "Copy". The issue seems to be that your app is unable to find it at runtime.
If a System.Windows.Browser file is referenced, check if it's the one the control requires (2.0.5.0)

Resources