Skip to content

Commit

Permalink
fixes #1746
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Jun 22, 2016
1 parent 1b7bf73 commit aa63e44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 3.1.9 - 22.06.2016
* BUGFIX: Do not take over control over manual nodes - https://github.com/fsprojects/Paket/issues/1746

#### 3.1.8 - 21.06.2016
* BUGFIX: Better error message when log file is missing - https://github.com/fsprojects/Paket/issues/1743

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<Reference Include="System.Xml" />
<Reference Include="System.Net" >
<Private>True</Private>
<Paket>False</Paket>
</Reference>
<Reference Include="System.Windows.Browser" />
</ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/Paket.Core/ProjectFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,13 @@ module ProjectFile =
getCustomModelNodes model project
|> List.filter (fun node ->
let isFrameworkNode = ref true
let isManualNode = ref false
for child in node.ChildNodes do
if child.Name = "HintPath" then isFrameworkNode := false
if child.Name = "Private" then isFrameworkNode := false
if child.Name = "Paket" && String.equalsIgnoreCase child.InnerText "false" then
isManualNode := true

not !isFrameworkNode)
not !isFrameworkNode && not !isManualNode)

if nodesToDelete <> [] then
verbosefn " - Deleting custom projects nodes for %O" model.PackageName
Expand Down

0 comments on commit aa63e44

Please sign in to comment.