Issue
The MyGet site previously used by SmartConnector developers to access NuGet packages has been shut down. Developers now need an alternative source for these packages.
Product Line
EcoStruxure Building Operation
Environment
Building Operation SmartConnector
Cause
NuGet is a package management system for .NET that simplifies development by providing access to pre-built libraries and tools. With MyGet no longer available, developers must transition to a new package source.
Resolution
SmartConnector NuGet packages are now hosted on the GitHub Package Registry. Follow these steps to configure access:
Step-by-Step Instructions
- Create a GitHub Account
- Visit github.com and sign up using your email address.
- Generate a Personal Access Token
- Navigate to Developer Settings.
- Click Generate new token (Classic).
- Under Select scopes, check:
- read:packages (required)
- write:packages (optional, for publishing)
- Name your token and set an expiration.
- Click Generate and copy the token immediately (you won’t be able to view it again).
-
Configure Visual Studio
- Open NuGet Package Manager.
- Add a new package source:
- Name:
SmartConnector GitHub - Source:
https://nuget.pkg.github.com/SchneiderElectricBuildings/index.json
- Name:
-
Authenticate
- When prompted:
- Username: GitHub username or email used to sign up.
- Password: Your Personal Access Token.
- When prompted:
-
Access the Package
- Once authenticated, you should see the latest SmartConnector NuGet package:
v2.5.5.108
- Once authenticated, you should see the latest SmartConnector NuGet package:
Important Notes
- All future SmartConnector packages released by the R&D team will be published via GitHub.
- Ensure your token permissions are correctly set to avoid access issues.