Giter Club home page Giter Club logo

Comments (9)

dotMorten avatar dotMorten commented on September 3, 2024

Did you see the error message:

Ensure "Microsoft Visual C++ 2015-2019 Redistributable" is installed. --->

Is it?
Also try calling Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize(); in the beginning of your app.xaml.cs constructor. That should hopefully give you a better/clearer error message, rather then hide deep inside your view model instantiation.

If you're targeting x86 or x64, you should see a runtimecore.dll and runtimecorenet.dll in the output folder. If you're targeting AnyCPU, these files would instead below \runtimes\win-x86\native\ and \runtimes\win-x64\native\. Please check those files are there.

from esri.github.io.

SteveMcKean avatar SteveMcKean commented on September 3, 2024

On the Initialize(), that's exactly what I've done just a bit ago. I have seen the C++ message and will make sure that's installed.

Right now we target AnyCPU and runtimecore.dll and runtimecorenet.dll are present. However using the publish option on the startup project the \runtimes\win-xxx\native folders don't appear. Assuming those are copied back to the publish directory.

from esri.github.io.

dotMorten avatar dotMorten commented on September 3, 2024

when you publish it's not anycpu and they'll go in the root folder instead

from esri.github.io.

SteveMcKean avatar SteveMcKean commented on September 3, 2024

I've modified the and removed the PublishSingleFile from the startup projects .csproj and published again. The \runtimes\win-xx\ directories are included in the publish. Both runtimecore.dll && RuntimecoreNet.dll are included and I've installed the C++ 2015-2019 packaged.

Same error occurred: SystemInvalidOperation: Could not load ArcGIS Runtime (RuntimeCoreNet.dll) or one of its dependencies...

from esri.github.io.

SteveMcKean avatar SteveMcKean commented on September 3, 2024

Added x64 build configuration and published with same results as above. ;(

from esri.github.io.

dotMorten avatar dotMorten commented on September 3, 2024

@SteveMcKean I think this discussion should be moved to GeoNet, as this isn't really the appropriate place .Perhaps repost there, and also share an app that reproduces the issue.

from esri.github.io.

SteveMcKean avatar SteveMcKean commented on September 3, 2024

Agreed.

from esri.github.io.

SteveMcKean avatar SteveMcKean commented on September 3, 2024

from esri.github.io.

jf990 avatar jf990 commented on September 3, 2024

Issue discussion was moved to GeoNet.

from esri.github.io.

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.