using assembly for The members of the class cannot be displayed

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
iaotoman
Posts: 6
Last visit: Mon Oct 03, 2022 3:40 pm
Has voted: 1 time

using assembly for The members of the class cannot be displayed

Post by iaotoman »

Product, version and build: powershell studio 5.8.210
Operating system: windows7
PowerShell version(s): 5.1
32-bit version of software? 64bit

using assembly xxxxxxxxx Available in powershell v3 or later, e.g:

Add-Type -Path '.\Spire.XLS.dll' == using assembly '.\Spire.XLS.dll'

But, using assembly for The members of the class cannot be displayed, Take a look at the GIF image below for a demo
err2.gif
err2.gif (61.31 KiB) Viewed 1308 times

Code: Select all

using assembly '.\Spire.XLS.dll'
using namespace Spire.Xls

#Add-Type -Path '.\Spire.XLS.dll'

$wb = [Workbook]::new()

$wb
User avatar
brittneyr
Site Admin
Posts: 1257
Last visit: Mon Nov 28, 2022 7:10 am
Answers: 25
Been upvoted: 20 times

Re: using assembly for The members of the class cannot be displayed

Post by brittneyr »

We are looking into this and will get back to you soon.
Brittney
SAPIEN Technologies, Inc.
iaotoman
Posts: 6
Last visit: Mon Oct 03, 2022 3:40 pm
Has voted: 1 time

Re: using assembly for The members of the class cannot be displayed

Post by iaotoman »

Thank you for your reply!

using namespace Spire.Xls

The above code doesn't seem to work too
Because, when I moved the cursor of the mouse to [Workbook] in the following code,
I didn't receive a hint of the relevant type

$wb = [Workbook]::new()
User avatar
brittneyr
Site Admin
Posts: 1257
Last visit: Mon Nov 28, 2022 7:10 am
Answers: 25
Been upvoted: 20 times

Re: using assembly for The members of the class cannot be displayed

Post by brittneyr »

Thank you for reporting. I have created a bug report for the issues mentioned here for the development team and will update you when I have more information.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1257
Last visit: Mon Nov 28, 2022 7:10 am
Answers: 25
Been upvoted: 20 times

Re: using assembly for The members of the class cannot be displayed

Post by brittneyr »

Please try service build 5.8.212 and let me know if the issue with using assembly is resolved.
Brittney
SAPIEN Technologies, Inc.