Keywords: WPF. NET Framework nuget Visual Studio 2010 vs2010 extension reference Caliburn micro mvvm light toolkit getting started tutorial
1. What is nuget? Nuget (pronunciation: New-Get) is an extension of Visual Studio. When you use Visual Studio to develop a. NET Framework-based application, nuget makes adding, removing, and updating references in your project faster and more convenient.
2, nuget official website address: http://nuget.codeplex.com/
3. nuget runtime environment:
• Windows 7
• Windows Vista SP1
• For Windows Server 2008
• Windows Server 2008 r2
• Windows Server 2003 sp2
• Windows XP SP3
4. nuget installation (my development environment is Visual Studio 2010 flagship version, so this is an example ):
Go to the main menu> Tools> Extension Manager in vs2010, open the following interface, and click "online library" on the left ".
The Extension Manager Automatically Retrieves all available extensions from the Microsoft website and displays the results in the intermediate list. Select "nuget Package Manager" and click "Download.
In the "License Terms" dialog box, click "Install ".
After installation is complete, restart the Visual Studio development environment.
5. nuget maintains a large third-party reference library on its website as a package as the most basic download source, there are some well-known open-source frameworks (such as the mvvm light toolkit I introduced earlier ). Choose Main Menu> Tools> options in vs2010 to open the following interface. Click "package sources" on the left side to view the default source address.
There are two ways to add references to a project using nuget. Next I will use Caliburn micro (another famous mvvm framework) as an example to demonstrate it separately.
6. Use the Package Manager Console to add references to the project:
Choose Main Menu> Tools> library Package Manager> Package Manager Console in vs2010 to open the Package Manager Console. Select the project to add Caliburn micro reference from the "Default project" drop-down list, enter "Install-package Caliburn. Micro" at the console prompt, and press Enter.
The Caliburn micro welcome page is displayed.
7. Use the Add library package reference dialog box to add reference to the project:
Right-click the project to be referenced by Caliburn micro and select "add library package reference ...".
In the Add library package reference dialog box, click "online" on the left and enter "Caliburn" in the search box on the right. The matching results are automatically displayed in the middle list, select and click "Install.
Author: Li fengtong; Source: http://www.cnblogs.com/phoenixtrees. Http://www.cnblogs.com/phoenixtrees/archive/2011/05/27/2059473.html
Keywords: WPF. NET Framework nuget Visual Studio 2010 vs2010 extension reference Caliburn micro mvvm light toolkit getting started tutorial
1. What is nuget? Nuget (pronunciation: New-Get) is an extension of Visual Studio. When you use Visual Studio to develop a. NET Framework-based application, nuget makes adding, removing, and updating references in your project faster and more convenient.
2, nuget official website address: http://nuget.codeplex.com/
3. nuget runtime environment:
• Windows 7
• Windows Vista SP1
• For Windows Server 2008
• Windows Server 2008 r2
• Windows Server 2003 sp2
• Windows XP SP3
4. nuget installation (my development environment is Visual Studio 2010 flagship version, so this is an example ):
Go to the main menu> Tools> Extension Manager in vs2010, open the following interface, and click "online library" on the left ".
The Extension Manager Automatically Retrieves all available extensions from the Microsoft website and displays the results in the intermediate list. Select "nuget Package Manager" and click "Download.
In the "License Terms" dialog box, click "Install ".
After installation is complete, restart the Visual Studio development environment.
5. nuget maintains a large third-party reference library on its website as a package as the most basic download source, there are some well-known open-source frameworks (such as the mvvm light toolkit I introduced earlier ). Choose Main Menu> Tools> options in vs2010 to open the following interface. Click "package sources" on the left side to view the default source address.
There are two ways to add references to a project using nuget. Next I will use Caliburn micro (another famous mvvm framework) as an example to demonstrate it separately.
6. Use the Package Manager Console to add references to the project:
Choose Main Menu> Tools> library Package Manager> Package Manager Console in vs2010 to open the Package Manager Console. Select the project to add Caliburn micro reference from the "Default project" drop-down list, enter "Install-package Caliburn. Micro" at the console prompt, and press Enter.
The Caliburn micro welcome page is displayed.
7. Use the Add library package reference dialog box to add reference to the project:
Right-click the project to be referenced by Caliburn micro and select "add library package reference ...".
In the Add library package reference dialog box, click "online" on the left and enter "Caliburn" in the search box on the right. The matching results are automatically displayed in the middle list, select and click "Install.