Coder Social home page Coder Social logo

Comments (5)

aedenthorn avatar aedenthorn commented on August 18, 2024

I don't understand the problem... thats where the dll files are on my machine

from valheimmods.

Ragnarok700 avatar Ragnarok700 commented on August 18, 2024

Please allow me to provide more details:

  1. Here's the folder of a fresh clone I just made. As you can see, like in the latest commit of the repo (master branch), the BepInEx folder is in the same location as all the projects and the VS solution file.
    image
  2. Once you open the solution in VS2017 and try to compile some of the projects, you get an error concerning references. The first one I tried was TimeMod (I love taking short breaks to play a bit, but don't want to start/close the game every time :P ). When I try to build this project I get a few errors (missing references). Other projects produce errors too. If I try to build the full solution I get 409 errors. I figure you may have the BepInEx folder (and other references) twice so it is trying to reference outside your local repo (but still using a relative path). See below:
    image
    image
  3. With a quick look at the project file itself in a text editor you can see that the references to the BepInEx folder are two levels up instead of one (like the other references):
    image

So, my proposal is this:
I'll make a quick commit that basically just updates those relative paths (i.e.: remove one ".." so that it targets the BepInEx folder that is inside the repo). The goal here is to make it easier for others to compile without having to move the BepInEx folder around (which is what I originally did) to allow compilation.

from valheimmods.

Ragnarok700 avatar Ragnarok700 commented on August 18, 2024

Oh, it should also be mentioned that some of them do point to the right place already, like AnimationSpeed:
image

from valheimmods.

Ragnarok700 avatar Ragnarok700 commented on August 18, 2024

After applying the fix I was still left with 11 errors over a few projects. I quickly realized some of the projects referenced the physic module improperly too so I'll throw that in too since it is a similar issue. See image below for one project:
image

from valheimmods.

Ragnarok700 avatar Ragnarok700 commented on August 18, 2024

After those three rel path fixes across the projects all compiled properly except one, CustomMeshes, due to the missing reference to AssimpNet (v5.0.0.0):
image
Not sure how you want to handle that one (add it to the repo and fix the relative path) or add a readme with info concerning this lib to be downloaded by the devs on their machine. Therefore, I won't place this in the pr for the rel path fix for this issue but as a separate PR for that reference.

from valheimmods.

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.