application failed to find Chromium-edge browser - c++

I created a sample application to open a webpage on microsoft edge, by following below URL guidance.
https://learn.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32
I installed packages using NuGet packet manager as instructed. Everything worked fine on development machine.
Then I copied the exe of my sample application and the library "WebView2Loader.dll" into testing machine, which has Microsoft edge Version 83.0.478.50 (Official build) (64-bit). I got "ERROR_FILE_NOT_FOUND" error, means "Either it failed find the edge installation or version is Not compatible with SDK version". This error is on call CreateCoreWebView2Environment(), which supposed to find browser.
I am trying to find out why it is not working when it has higher version of than minimum required version. As per documentation, minimum required version of edge is 82 I have 83.0.478.50.
Let me know what I am missing on test environment? should I set any environment variables? I tried find online if there any environment variables required, couldn't find any.
Edit:
The current version Microsoft.web.webview2 SDK is 0.9.488. The testing box has edge version 83.0.478.50. I understand that I need to update my edge version on Testing machine.

What version of the SDK package are you using?
The way to find out the minimum version of the browser for a given SDK package is to look at the build numbers. For example:
SDK version 0.9.538 requires Edge n.n.538.n+
More details can be found here:
https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/versioning

CreateCoreWebView2Environment or CreateCoreWebView2EnvironmentWithOptions returns 'FILE_NOT_FIND'?
You need webview2 runtime. You should download WebView2 Runtime installer (Preview) and then run it.
Separate webview2 runtime is not necessary if there is a fully functional Microsoft edge(Chromium). But the stable channel Microsoft edge(Chromium) is not supported by now, as the webview2 is in its preview stage.

Related

Microsoft ML can't use opset 11 despite nuget package installed

I'm trying to build a simple object detection runner, really just following this MS Docs guide: https://learn.microsoft.com/en-us/windows/ai/windows-ml/tutorials/tensorflow-deploy-model
I already figured out building the View and adding capabilities so the provided code actually compiles.
Just one more problem right now: When creating the session, it crashes claiming "Unknown model file format version" which seems to translate to "Opset of the model you use is not supported".
Looking at github issues google showed me, I'm supposed to install the Microsoft.AI.MachineLearning nuget package and all is well. Except when I installed it, nothing changed.
So, what's left to do beside open yet another github issue? I already re-exported my model from opset 15 to opset 11 because the nuget package only supports that.
I'm on windows 10, UWP targeting 2004.

The specified Microsoft.NETCore.App', version '2.0.7' was not found

cannot start .NET Core app because of this error:
"It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '2.0.7' was not found.
- Check application dependencies and target a framework version installed at:
\
- Alternatively, install the framework version '2.0.7'.
The program '[1560] dotnet.exe' has exited with code -2147450749 (0x80008083)."
Editing .csproj didn't help. It looks like this:
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeFrameworkVersion>2.0.7</RuntimeFrameworkVersion>
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
You don't have the right .NET Core runtime installed. It's not good enough that's a .NET Core 2 runtime; it needs to be a minor version that is equal to or encompasses the version you're trying to target. You can see all the available runtimes here: https://www.microsoft.com/net/download/all. Specifically, you need 2.0 Runtime (v2.0.7) or higher. You can just choose 2.1, though. 2.0.7 will be rolled in and then, if you do end up upgrading your project later, you won't run into this issue again.
After playing around for a (longer) while, eventually it turned out that the solution is to comment out RuntimeFrameworkVersion in .csproj:
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<!--<RuntimeFrameworkVersion>2.0.7</RuntimeFrameworkVersion>-->
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
It is worth mentioning that the problem occured after my collegues upgraded a .NET Core to higher version and I did 'Get latest version'.

Google Glass CardBuilder.showStackIndicator() not found

I am trying to use the CardBuilder.showStackIndicator(boolean) method, which was introduced in version XE22, but Android Studio tells me that the method can not be found.
I have the latest version installed from the SDK Manager and the latest software version installed on my Glass device. Is there something else that needs to be done to use this method?
This method should be in revision 11 of the GDK: make sure you've updated your add-on and refreshed your IDE.
If it doesn't show up in your IDE, try compiling anyway to make sure it's not a sync issue between autocomplete/autocompile and your SDK.

where can i find wso2 source code

I'm trying to find wso2 source in particular for the following class:
org.wso2.carbon.user.core.common.AbstractUserStoreManager.doGetUserClaimValues(AbstractUserStoreManager.java:2583)
I googled an svn repo, but it didn't got changes since 2012, has only branches for 3.x (I am using 4.6.0) and the lines do not match.
I found a github repo (or repos) but there seems to be no org.wso2.carbon.user.core package there, only org.wso2.carbon.user.mgm, but this is not what I am looking for.
Any ideas where wso2 source code and in particular the user store code is located?
regards
Leon
In particular I am looking for following lines:
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.doGetUserClaimValues(AbstractUserStoreManager.java:2583)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:556)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:550)
It's located here:
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.user.core/4.2.0/
You may also want to look at the patches (up to patch0004, only if they contain updates to the user core):
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/
You can find the carbon platform version (and also patches) for each product by looking at the release matrix, and then search the repo for the sources.
http://wso2.com/products/carbon/release-matrix/
(IS 4.6.0 is released with carbon 4.2.0 and also there's patch004 is released with that version.)
It can also be found on Github: https://github.com/wso2/product-is starting version 5.1.0

Eclipse plugin for c/c++ call graph generator not working properly

I have installed eclipse plugin for call graph generator using the following link.
http://certiv.net/updates/
That plugin has been successfuly installed as I can checked that from installed plugins in eclipse.
Now problem is still I am unable to view option op generating call graph under project explorer->right click on the project whose call graph u want to create-> profile as-> call graph
as shown in the following link.
This link is for linux but i have installed this plugin on windows platform.
http://wiki.eclipse.org/Linux_Tools_Project/Callgraph/User_Guide
Can anybody help me how do i need to configure eclipse for generation of call graphs. I am using eclipse galileo.
According to the user guide Callgraph is using SystemTap, which is absolutely linux specific and thus it will never work on windows (at least as long as only SystemTap is the only supported way to retrieve information).