Skip to content

Commit

Permalink
Update project to export XML doc
Browse files Browse the repository at this point in the history
Update nuspec to correctly point at net45
  • Loading branch information
CrustyJew committed Jan 16, 2017
1 parent 760e24d commit 31593f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion RedditSharp/Reddit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,9 @@ public Domain GetDomain(string domain)
/// Get a <see cref="JToken"/> from a url.
/// </summary>
/// <param name="uri">uri to fetch</param>
/// <param name="isLive">bool indicating if it's a live thread or not</param>
/// <returns></returns>
public JToken GetToken(Uri uri)
public JToken GetToken(Uri uri, bool isLive = false)
{
var url = uri.AbsoluteUri;

Expand Down
1 change: 1 addition & 0 deletions RedditSharp/RedditSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Release\RedditSharp.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup />
<ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion RedditSharp/RedditSharp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
</dependencies>
</metadata>
<files>
<file src="bin\Release\RedditSharp.dll" target="lib\Net40" />
<file src="bin\Release\RedditSharp.dll" target="lib\Net45" />
<file src="bin\Release\RedditSharp.pdb" target="lib\Net45" />
<file src="bin\Release\RedditSharp.xml" target="lib\Net45" />
</files>
</package>

0 comments on commit 31593f3

Please sign in to comment.