Skip to content

Commit

Permalink
Detect framework assembly references in nuspec template - closes #740
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Mar 31, 2015
1 parent c8e9768 commit b9228ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### 0.38.1 - 31.03.2015
#### 0.38.2 - 31.03.2015
* Added frameworkAssemblies to nuspec templating - https://github.com/fsprojects/Paket/issues/740

#### 0.38.0 - 30.03.2015
Expand Down
1 change: 0 additions & 1 deletion src/Paket.Core/NupkgWriter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ let nuspecDoc (info:CompleteInfo) =
let buildFrameworkReferencesNode libName =
let element = XElement(ns + "frameworkAssembly")
element.SetAttributeValue(XName.Get "assemblyName", libName)
element.SetAttributeValue(XName.Get "targetFramework", "")
element

let buildFrameworkReferencesNode frameworkAssembliesList =
Expand Down
4 changes: 2 additions & 2 deletions tests/Paket.Tests/NuspecWriterSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ let ``should serialize frameworkAssemblues``() =
<description>A description</description>
<tags>f# rules</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Xml" targetFramework="" />
<frameworkAssembly assemblyName="System.Xml.Linq" targetFramework="" />
<frameworkAssembly assemblyName="System.Xml" />
<frameworkAssembly assemblyName="System.Xml.Linq" />
</frameworkAssemblies>
</metadata>
</package>"""
Expand Down

0 comments on commit b9228ed

Please sign in to comment.