Skip to content

paket update adds framework references, paket install --hard removes them #293

Description

@agross

I experience a slight inconsistency between install --hard and update.

With a git-wise clean solution, when I run paket update the MSpec package got updated (see #292, but unrelated to this issue). Because the MSpec structure hasn't changed I expect no changes to my csprojs. But paket added System.Core references for a totally unrelated library: Castle.Windsor.

diff --git a/roles/web/source/Web.IntegrationSpecs.Fakes/Web.IntegrationSpecs.Fakes.csproj b/roles/web/source/Web.IntegrationSpecs.Fakes/Web.IntegrationSpecs.Fakes.csproj
index 959f4f9..1725ad5 100644
--- a/roles/web/source/Web.IntegrationSpecs.Fakes/Web.IntegrationSpecs.Fakes.csproj
+++ b/roles/web/source/Web.IntegrationSpecs.Fakes/Web.IntegrationSpecs.Fakes.csproj
@@ -82,6 +82,9 @@
               <Private>True</Private>
               <Paket>True</Paket>
             </Reference>
+            <Reference Include="System.Core">
+              <Paket>True</Paket>
+            </Reference>
             <Reference Include="System.Xml">
               <Paket>True</Paket>
             </Reference>

Then, when I run another paket install --hard these System.Core references are removed again.

Activity

  1. agross commented on Oct 24, 2014

    @agross
    ContributorAuthor

    Actually, it's an issue between install --hard and install:

    • install adds the missing framework reference
    • install --hard removes it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions