You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
SmartsheetBuilder.Build() throws a System.Management.Management.ManagementException "Invalid Class" at runtime.
Steps:
Fire up a new project (console, etc)
Add NuGet package for smartsheet-csharp-sdk (2.93.1)
Run the following:
var accessToken = "YOUR_TOKEN";
var foo = new SmartsheetBuilder()
.SetAccessToken(accessToken)
.Build();
The error is thrown in Utils.cs GetOSFriendlyName() line 55. I have no idea why it is doing this. It was working fine, and then suddenly no longer. I wonder if a Windows 10 update changed some system thing this is trying to call? That is the only thing that happened on my system between the time my project was working, and not.
SmartsheetBuilder.Build() throws a System.Management.Management.ManagementException "Invalid Class" at runtime.
Steps:
The error is thrown in
Utils.cs GetOSFriendlyName() line 55
. I have no idea why it is doing this. It was working fine, and then suddenly no longer. I wonder if a Windows 10 update changed some system thing this is trying to call? That is the only thing that happened on my system between the time my project was working, and not.OS: Windows 10 x64, v1903 (Build 18362,836)
VS: v16.5.0 Preview 1.0
Project Target Type: .Net Framework 4.7.2
The text was updated successfully, but these errors were encountered: