How to get the actual packages folder path in Visual Studio post build event?

Topics: General
Aug 28, 2013 at 10:42 AM
I need to get the path of the packages folder in a Visual Studio post build event. I could simply use $(SolutionDir)packages but this would not be reliable since the packages folder can be set to a different location using a nuget.config file. Is there a way to get the actual location of the packages folder in a post build event?
Sep 14, 2013 at 12:34 AM
Unfortunately, there's not an easy way that I can think of.