chore(build): resolve SolidWorks interop assemblies via an overridable property#196
Open
ycpss91255 wants to merge 1 commit into
Open
chore(build): resolve SolidWorks interop assemblies via an overridable property#196ycpss91255 wants to merge 1 commit into
ycpss91255 wants to merge 1 commit into
Conversation
…e property The interop HintPaths used a fixed ..\..\..\..\..\ relative path that only resolves when the repo sits at a specific depth under the SolidWorks install, so a normal clone does not build. Resolve them through a SolidWorksDir property (default: the standard install path); override with /p:SolidWorksDir=... or a SolidWorksDir environment variable if installed elsewhere.
brawner
approved these changes
Jun 3, 2026
brawner
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the helpful contribution! Will merge once I can test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The SolidWorks interop references used a fixed
..\..\..\..\..\relativeHintPath that only resolves when the repo sits at a specific depth under the
SolidWorks install, so a normal clone fails to find the assemblies.
Fix
Resolve the interop assemblies through an overridable
SolidWorksDirMSBuildproperty (default: the standard install path). Override with
-p:SolidWorksDir=...or aSolidWorksDirenvironment variable if SolidWorksis installed elsewhere.
Notes
Split out from #191 per the review there; the .NET 4.8 retarget is the other
half.