Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Library Manager Released in 15.8

#1
Library Manager Released in 15.8

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8.png" width="2006" height="1277" title="" alt="" /></div><div><p>Microsoft Library Manager (LibMan) is now available in the general release of Visual Studio 2017 as of v15.8. LibMan first previewed earlier this year, and now, after a much-anticipated wait, LibMan is available in the stable release of Visual Studio 2017 bundled as a default component in the ASP.NET and web development workload.</p>
<p>In the <a href="https://blogs.msdn.microsoft.com/webdev/2018/04/17/library-manager-client-side-content-manager-for-web-apps/">announcement about the preview</a>, we showed off the LibMan manifest (<em>libman.json</em>), providers for filesystem and CDNJS, and the menu options for <em>Restore</em>, <em>Clean</em> and <em>Enable Restore-on-Build</em>. Included as part of the release in v15.8 we’ve also added:<br />– a new dialog for adding library files<br />– a new library provider (UnPkg)<br />– the LibMan CLI (cross-platform DotNet global tool)</p>
<p><strong>What is LibMan?</strong></p>
<p>LibMan is a tool that helps to find common client-side library files and add them to your web project. If you need to pull JavaScript or CSS files into your project from libraries like jQuery or bootstrap, you can use LibMan to search various global providers to find and download the files you need.</p>
<p><a href="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8.png"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8.png" alt="Library Manager in Visual Studio" width="2006" height="1277" class="alignnone size-full wp-image-15045" /></a></p>
<p>To learn more about LibMan, refer to the official Microsoft Docs: <a href="https://docs.microsoft.com/en-us/aspnet/core/client-side/libman/">Client-side library acquisition in ASP.NET Core with LibMan</a>.</p>
<h4>What’s new?</h4>
<p><strong>New dialog for adding library files</strong></p>
<p>We’ve added tooling inside Visual Studio to add library files to a web project. Inside a web project, you can right-click any folder (or the project root) and select <em>Add–&gt;Client-Side Library…</em><br />This will launch the <strong>Add Client-Side Library</strong> dialog, which provides a convenient interface for browsing the libraries and files available in various providers, as well as setting the target location for files in your project.</p>
<p><a href="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8-1.png"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8-1.png" alt="LibMan Add Files Dialog" width="500" class="alignnone size-full wp-image-15065" /></a></p>
<p><strong>New Provider: UnPkg</strong></p>
<p>Along with CDNJS and FileSystem, we’ve built an UnPkg provider. Based on the <a href="https://unpkg.com/">UnPkg.com</a> website, which sits on top of the npm repo, the UnPkg provider opens access to many more libraries than just those referenced by the CDNJS catalogue.</p>
<p><strong>LibMan CLI available on NuGet</strong></p>
<p>Timed with the release of Visual Studio 2017 v15.8, the LibMan command line interface (CLI) has been developed as a global tool for the DotNet CLI and is now <a href="https://www.nuget.org/packages/Microsoft.Web.LibraryManager.Cli/">available on NuGet</a>. Look for <strong>Microsoft.Web.LibraryManager.Cli</strong></p>
<p>You can install the LibMan CLI with the following command:</p>
<pre>
&gt; dotnet tool install -g Microsoft.Web.LibraryManager.Cli
</pre>
<p>The CLI is cross-platform, so you’ll be able to use it anywhere that .NET Core is supported (Windows, Mac, Linux). You can perform a variety of LibMan operations including <em>install</em>, <em>update</em>, and <em>restore</em>, plus local cache management.</p>
<p><a href="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8-2.png"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8-2.png" alt="LibMan CLI example" width="700" class="alignnone size-full wp-image-15055" /></a></p>
<p>To learn more about the LibMan CLI, see the blog post: <a href="https://blogs.msdn.microsoft.com/webdev/2018/08/22/libman-cli-released/">LibMan CLI Release</a> or refer to the official Microsoft Docs: <a href="https://docs.microsoft.com/en-us/aspnet/core/client-side/libman/libman-cli?view=aspnetcore-2.1">Use the LibMan command-line interface (CLI) with ASP.NET Core</a></p>
<p><strong>Related Links</strong></p>
<p>Happy coding!</p>
<p><strong>Justin Clareburt, Senior Program Manager, Visual Studio</strong></p>
<p><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/09/library-manager-released-in-15-8.jpg" alt="Justin Clareburt (justcla) Profile Pic" width="203" height="209" /> Justin Clareburt is the Web Tools PM on the Visual Studio team. He has over 20 years of Software Engineering experience and brings to the team his expert knowledge of IDEs and a passion for creating the ultimate development experience.</p>
<p>Follow Justin on Twitter <a href="https://twitter.com/justcla78">@justcla78</a></p>
<p> </p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016