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

Closed Issue: Add-BindingRedirect error "'object' does not contain a definition for 'References'" [3226]

$
0
0
Package Manager Console:

PM> Add-BindingRedirect -ProjectName ClassLibrary1
Add-BindingRedirect : 'object' does not contain a definition for 'References'
At line:1 char:1
Add-BindingRedirect -ProjectName ClassLibrary1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [Add-BindingRedirect], RuntimeBinderException
FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.AddBindingRedirectCommand

Conditions:

This only happens, when the project updated has reference to Database project. Example solution is in attachment. You must have "Microsoft SQL Server Data Tools" installed to try this. http://go.microsoft.com/fwlink/?LinkID=274984
I need reference to database project because I need to specify build order - output of the database project (dacpac file) is used by build of the library.
Comments: verified it doesn;t show an error

Viewing all articles
Browse latest Browse all 7612

Trending Articles