Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
agross opened this issue Oct 23, 2014 · 1 comment
Closed
Labels

Comments

@agross
Copy link
Contributor

agross commented Oct 23, 2014

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.

@agross agross added the bug label Oct 23, 2014
@agross
Copy link
Contributor Author

agross commented Oct 24, 2014

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

  • install adds the missing framework reference
  • install --hard removes it

@forki forki closed this as completed in 46e22fb Oct 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant