Giter Club home page Giter Club logo

Comments (8)

SHWotever avatar SHWotever commented on September 6, 2024

Hi ! Indeed this dll has been protected for "sad reasons" and is not physically present anymore,
I tried with the fresh SDK and I could not reproduce it. In theory this dll get called in few few occasions and should not be during design time.

I feel like instantiating your plugin at design time as a resource is the culprit :
image
Overall it should not be a direct resource of your design, the plugin is instantiated by simhub core.

from simhub.

RevanProdigalKnight avatar RevanProdigalKnight commented on September 6, 2024

I still experience the issue even with that block commented.

image

from simhub.

RevanProdigalKnight avatar RevanProdigalKnight commented on September 6, 2024

I tried with the fresh SDK and I could not reproduce it. In theory this dll get called in few few occasions and should not be during design time.

I just tried opening one of the example SDKs in Visual Studio and I get the exact same error. Are you sure you don't have an old copy of SimHub.Licensing.dll in your installation directory which is "fixing" the issue?

I've never had a version of SimHub prior to 8.2.0 installed.

image

from simhub.

SHWotever avatar SHWotever commented on September 6, 2024

Hi !

Yes indeed I double checked that it wasn't here, I will test on another computer if somehow my simhub development environment has an influence on it ;)

In theory it shouldn't prevent compilation?

from simhub.

SHWotever avatar SHWotever commented on September 6, 2024

I double checked,

When the SDK is not compiled yet I have a similar message as yours, which is pretty classic on a fresh project.
image

but once it get compiled it works (designer might need to be closed and reopened :

image

I think your dependency graph is not related to the designer issue.

As a side note the default SDK is bulding into the simhub folder which contains all the related dependencies. I've not polluted the sdk project by linking all the dependencies which are numerous around Simhub.plugins.dll. Building into the simhub folder allows the designer to find all the missing dependencies.

from simhub.

RevanProdigalKnight avatar RevanProdigalKnight commented on September 6, 2024

Ah, I haven't used Visual Studio in a long time so I forgot that it needs to compile in order to work...

I guess following the "no pollution" design of the SimHub SLI Plugin wasn't the best idea. I'll try moving my project into the PluginSdk folder and see if it works better there.

from simhub.

RevanProdigalKnight avatar RevanProdigalKnight commented on September 6, 2024

Hmm, this is interesting... moving it into the PluginSdk folder has stopped it complaining about the missing DLL, but it's still weird, even after compiling and restarting all of Visual Studio

image

from simhub.

RevanProdigalKnight avatar RevanProdigalKnight commented on September 6, 2024

Nevermind, I figured out I hadn't deleted the old obj folder. Deleting that and recompiling has fixed the issue.

Thanks for your help, and (hopefully) not getting really frustrated with my stupidity/cluelessness.

from simhub.

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.