It is always possible to manually install Eyeshot 2024 packages via the Visual Studio NuGet package management page.
This is the only way to install Eyeshot 2024 packages in non SDK-projects or when using Visual Studio 2019 or previous version.
Check the package source mapping
The first thing to check is that it exists a package source correctly mapping the local offline location of the Eyeshot NuGet Packages.
In Visual Studio Select the menu Tools>NuGet Package Manager>Package Manager Settings.
In the opened window, select the Package Source item on the left pane, and check that it exists and is enabled a source named Eyeshot 2024 Local pointing to the folder where the Eyeshot NuGet packages have been installed.
If not, create a new source by pressing the Add button (the green cross in the following picture) and name it accordingly.
Install the Eyeshot NuGet Package
Once the package source is correctly set, it is possible to install the Eyeshot packages.
In the Solution Explorer panel, right click on the References item of the wanted project, then click on Manage NuGet Packages...
This will open the NuGet packages management page for the project: check that the package source is correctly set to Eyeshot 2024 Local (if not, select it from the selection combo box), go to the Browse tab and then select and install the wanted NuGet package.
You have to install one of the following packages:
- devDept.Eyeshot: install this package for a console application project;
- devDept.Eyeshot.Control.Win: install this package for a Windows Forms application project;
- devDept.Eyeshot.Control.Wpf: install this project for a WPF application project.
If you plan to use the ReadAutodesk or WriteAutodesk classes, you have to also install an additional package:
- devDept.Eyeshot.x64: install this package to manage DWG/DXF files for x64 projects;
- devDept.Eyeshot.x86: install this package to manage DWG/DXF files for x86 projects;
Using the devDept NuGet Server
Through the devDept NuGet Server https://nuget.devdept.com/nuget users can easily include the Eyeshot packages and update to the latest official version.
The following steps will demonstrate how this can be done in Visual Studio:
1. Navigate to the Package Manager Settings menu.
2. Add a new source in the Package Sources section
3. In the Source field fill the address of the devDept NuGet Server and click Update.
4. The devDept Server is added and ready to use. Click on the Manage NuGet Packages menu.
5. Set the devDept Server as a package source. Enter user credentials (from your devDept account) when prompted and search for the needed package.
Resetting the devDept NuGet Credentials
If you want to reset the cached credentials from Visual Studio, follow these steps:
1. Delete the Package Source.
2. From "Control Panel" > "User Accounts" > "Credential Manager" > "Windows Credentials," delete the two entries related to devDept.
If that's not enough, make sure to close all instances of Visual Studio and also delete the v3-cache folder located in %AppData%..\Local\NuGet.
Beta and nightly releases
Following NuGet guidelines, to install a beta or nightly release, you must enable the 'Include prerelease' option.