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
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