Reputation: 24405
I'm stumped. I've followed the directions to set up a local NuGet Package Source as closely as I could, but my package refuses to show up in the NuGet Package manager. The screenshot below shows:
But it cannot find the package. What am I missing?
Here's my .nuspec
for reference, with the assembly name removed.
<?xml version="1.0"?>
<package >
<metadata>
<id>$AssemblyName%$</id>
<version>1.2.0-beta2</version>
<title>$AssemblyName$</title>
<description>Orders Messages</description>
<language>en-US</language>
</metadata>
<files>
<file src="bin\Debug\$AssemblyName$.dll" target="lib\net40" />
</files>
</package>
Upvotes: 10
Views: 3785
Reputation: 47987
Your NuGet package is a pre-release based on the version since the version in your .nuspec is:
1.2.0-beta2
So you need to check the Include prerelease check box before your NuGet package will appear in the NuGet Package Manager. Without this checked only stable versions will be displayed.
Upvotes: 12