Jump to content

What are generalized, rule of thumb approaches for cloning a repo and figuring out its build requirements? Especially project files pointing at non-existent files.


Recommended Posts

Hello!

I want to fork and modify some annoying hard-coded values in https://github.com/allista/GroundConstruction pertaining to how ground kit size and time are calculated as stuff keeps exploding and becoming kilometers wide and tall. Not ideal. 
While I havn't worked with Unity/C# before, I trust I can leverage my python, BYOND and fortran/C/C++ experience to figure it out. It's just adjusting variables anyhow.

 

Unfortunately, I ran into an issue on building this project. The project file points to a "CSharp.warnings.xml" in the project directory that does not exist.

Spoiler
    <Import Project="$(MSBuildProjectDirectory)/../CSharp.warnings.xml" />
    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
        <DebugSymbols>true</DebugSymbols>
        <DebugType>full</DebugType>
        <Optimize>false</Optimize>
        <OutputPath>GameData\GroundConstruction\Plugins</OutputPath>
        <DefineConstants>DEBUG;</DefineConstants>
        <ErrorReport>prompt</ErrorReport>
        <WarningLevel>4</WarningLevel>
        <ConsolePause>false</ConsolePause>
        <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    </PropertyGroup>

 

 

Most other mods with gits have detailed build requirements, this one stumps me.

 

edit: I found I can edit some of what I want in the .GLOB file without rebuilding, but I still want to rebuild it for capping maximum volume rather than setting density to ... interesting values.

Edited by RunaDacino
Link to comment
Share on other sites

Found it:

Looks like this author's projects were all intended to be built from within that shared root folder (which is pretty unusual). I don't think there's a "generalized, rule of thumb approach" for finding stuff like that, unfortunately; for me, after seeing that same file referenced in multiple of his csproj files, I figured it had to be out there somewhere and started looking for a "build utils" type repo on his user profile.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...