SolZip not recocnising $() Vars in Hintpaths


We have alot of our external libs with $(SolutionDir)something.
These Libs are not packaged.
This can be fixed by changeing the last lines of SolZipControler.cs/ZipProject to :
<pre> foreach (string item in references.Union(itemAttributes)) { ZipFile(ReplacePlaceholderVars(projectFilePath, item)); } ZipFile(projectFile); } string ReplacePlaceholderVars(string projectFilePath, string item) { if (item.IndexOf("$(SolutionDir)") != -1) { item = Path.Combine(m_TopPath, item.Substring("$(SolutionDir)".Length)); } else item = Path.Combine(projectFilePath, item); return item; } </pre>
Closed Jul 15, 2009 at 3:05 PM by Jern
Support for this added in Release 1.2


Jern wrote Jul 10, 2009 at 10:13 PM

I will certainly consider adding this feature. I haven't been in projects where we have used such placeholders my self. Do you add the $(SolutionDir) placeholder manually or is it done using Visual Studio ? If so where ? Do you know of any other placeholders I should consider supporting ?

Regards Jesper

wrote Jul 15, 2009 at 3:05 PM

FZelle wrote Jul 17, 2009 at 8:22 AM

It was done Manually.
Those 2 you allready implemented are enough for us ;-)

Thank you for that fast fix.

wrote Feb 2, 2013 at 3:19 AM

wrote May 13, 2013 at 6:30 PM