VS Installer Dependency Error
By Dag, on January 2nd, 2017I loaded one of my projects in Visual Studio 2015 and suddenly got this kind of error:
ERROR: Unable to update the dependencies of the project.
The dependencies for the object 'xxx.DLL' cannot be determined.
It turned out my vdproj file was corrupted, something that automagically can happen according to the Interwebz. To fix it you can search for the DLL related and check if ScatterAssemblies is empty, if it is, you can remove the file section. Afterwards it worked fine for me again.
Project.vdproj: DeployProject > Hierarchy > Deployable > File:
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5863C6AD0E214949F1184D2407A97461"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:PdfSharp.Charting, Version=1.32.2608.0, ..."
"ScatterAssemblies"
{
} <- if empty like this, delete whole File block + id string on top.
"SourcePath" = "8:PdfSharp.Charting.DLL"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Vital" = "11:TRUE"
"ReadOnly" = "11:FALSE"
"Hidden" = "11:FALSE"
"System" = "11:FALSE"
"Permanent" = "11:FALSE"
"SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1"
"Register" = "3:1"
"Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}