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

Created Issue: new package restorer doesn't work for websites [3496]

$
0
0
1. Create new website
2. Delete packages folder
3. build

Actual:
packages are not restored

Expected:
packages to be restore

packageconfigexists is not able to find the packages.config file in the website. Instead it's looking at the solution for the config file.

> NuGet.VsEvents.dll!NuGet.VisualStudio.VsUtility.PackagesConfigExists(EnvDTE.Solution solution) Line 140 C#
NuGet.VsEvents.dll!NuGet.VsEvents.PackageRestorer.BuildEvents_OnBuildBegin(EnvDTE.vsBuildScope Scope, EnvDTE.vsBuildAction Action) Line 83 + 0x17 bytes C#
EnvDTE.dll!EnvDTE._dispBuildEvents_SinkHelper.OnBuildBegin(EnvDTE.vsBuildScope A_1, EnvDTE.vsBuildAction A_2) + 0x42 bytes

foreach (Project project in solution.Projects)
{
if (PackagesConfigExists(project))
{
return true;
}
}

Viewing all articles
Browse latest Browse all 7612

Trending Articles



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