Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Created Issue: Hintpath is not set properly for packages installed via project template [2917]

$
0
0
Note: This repros only when a project is created programatically. Hence not a mainline scenario. Nevertheless, the hint path should be set properly irrespective of how the project gets created.


1. Create a MVC project template using DTE object model at C:\Temp folder.
Sample project attached.
2. In the result MVC project, for all the packages that are installed via project template, the hint path is set according to the default project location [ which would be C:\Users\xxx\My Documents\Visual Studio 2012\Projects\..\Packages\]. Hence the references are unresolved resulting in build error.
3. In this case though the project gets created @ C:\Temp folder, the hint path is set according to the default project location [ which can be found @ Tools --> options--> ProjectsAndSolution -->Projects location]
4. For packages that are installed via package manager console post project creation, hint path is set properly.



Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>