Skip to content

paket update changes <Paket>False</Paket> entries #679

Closed

Description

@matthid

I have this diff after running paket update:

--- a/src/source/Yaaf.AdvancedBuilding/Yaaf.AdvancedBuilding.fsproj
+++ b/src/source/Yaaf.AdvancedBuilding/Yaaf.AdvancedBuilding.fsproj
@@ -194,21 +194,12 @@
     </When>
   </Choose>
   <Choose>
-    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0')">
+    <When Condition="($(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFram
       <ItemGroup>
         <Reference Include="System.Web.Razor">
           <HintPath>..\..\..\packages\Microsoft.AspNet.Razor\lib\net40\System.Web.Razor.dll</HintPath>
           <Private>True</Private>
-          <Paket>False</Paket>
-        </Reference>
-      </ItemGroup>
-    </When>
-    <When Condition="($(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFr
-      <ItemGroup>
-        <Reference Include="System.Web.Razor">
-          <HintPath>..\..\..\packages\.nuget\Microsoft.AspNet.Razor.3.2.2\lib\net45\System.Web.Razor.dll</HintPath>
-          <Private>True</Private>
-          <Paket>False</Paket>
+          <Paket>True</Paket>
         </Reference>
       </ItemGroup>
     </When>

Isn't paket supposed to leave entries alone that I manually switched to <Paket>False</Paket>?

Activity

  1. forki commented on Mar 5, 2015

    @forki
    Member

    Mhm. Actually currently it works only if you remove the the tag. But I think we should change it to under false as well

  2. matthid commented on Mar 5, 2015

    @matthid
    MemberAuthor

    Ah okey, I thought the difference was that with False would be respected by --hard but I was wrong, so I will just remove it for now, thanks for the quick response!

  3. forki commented on Mar 5, 2015

    @forki
    Member

    Yep. I apologize for the confusion, but we didn't find a different way to flag our installs. But I totally agree: the true suggests that one can change it to false.

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