Hi David, Thanks for your response. I tried the EFCodeFirst.SqlServerCompact package yesterday and saw the problem, but have not been able to reproduce it with that package today. I do see it with package FSRepository. I get the following error when the
hack shown above is not in place:
Install-Package : Exception calling "Add" with "1" argument(s): "A reference to 'System' (with assembly name 'System') could not be added. A reference to the com
ponent 'System' with the same assembly name already exists in the project."
At line:1 char:16
+ Install-Package <<<< FSRepository
+ CategoryInfo : NotSpecified: (:) [Install-Package], MethodInvocationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.Cmdlets.InstallPackageCmdlet
Since these are standard DTE commands I'm not sure that it makes a difference, but here's a little background information on what I'm doing:
- The package that I'm authoring (https://github.com/dmohl/FSRepository) targets F# projects.
- Because of this I'm using Change Set
I'll keep working on it to try and discover what I'm doing wrong.