premake / premake/premake-core

HintPath in vs2019?

Open
#2,099 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C
Stars
3.6k
Forks
654
Avg merge
1d 1h
Merged PRs (30d)
13

Description

HI,
we are trying to add to a C# project a custom reference (we are building with VS2019) and we need to reference some local packages installed in the target machine. What we are using is links like this:

  filter "system:windows"
    links { "C:\\Program Files\\Rhino 7\\System\\RhinoWindows.dll" }

will generate this: <Reference Include="RhinoWindows" /> with no hintpath. This is bad as the project will not build. How can we add the full path to the link?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the Windows links configuration shown in the issue and inspect how it becomes the generated entry. Determine how a full local DLL path could be preserved as a HintPath, then verify that the generated VS2019 project can resolve RhinoWindows.dll on the target machine.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, lua
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.