has anyone seen this error and know the cause
windows feature
an app on your pc needs the following feature:
.NET framework 3.5 (includes 2.0 and 3.0)
he app is built for x86 V2host (windows) with sta mode checked. seems fine in win7
win 10 has the frameworks and an older compile works fine, just no idea what might have changed to produce this error
win10 error from gui form
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: win10 error from gui form
The V2 engines require .NET 2.0 or 3.5 to be installed.
Refer to this article:
https://www.sapien.com/blog/2015/11/16/ ... equisites/
Refer to this article:
https://www.sapien.com/blog/2015/11/16/ ... equisites/
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- ocsscott6969
- Posts: 48
- Last visit: Tue Dec 05, 2023 10:04 am
Re: win10 error from gui form
both are installed. Seems like a config file setting or build setting
not sure what I could have changed but now doesn't work. any ideas what to look at that might trigger that message?
not sure what I could have changed but now doesn't work. any ideas what to look at that might trigger that message?
- ocsscott6969
- Posts: 48
- Last visit: Tue Dec 05, 2023 10:04 am
Re: win10 error from gui form
it looks like something to do with needing the exe.config file when its missing I get the error when its there it works.
Is the config always needed? Can it be compiled inside the exe?
is there a good doc on the build setting and options?
thanks
Is the config always needed? Can it be compiled inside the exe?
is there a good doc on the build setting and options?
thanks
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: win10 error from gui form
Well, that's why the config is there . It's a Microsoft.NET thing, no it cannot be put anywhere inside and yes, if it doesn't work without it, you will need it.
Basically if your code is mixing assemblies using different runtimes, this is needed. PowerShell V2 uses .NET 2.0 but some default modules use 3.5 or 4.0, so for V2 compatible packages you will ALWAYS need the .config file.
Microsoft has a doc page for those things somewhere I would assume.
Basically if your code is mixing assemblies using different runtimes, this is needed. PowerShell V2 uses .NET 2.0 but some default modules use 3.5 or 4.0, so for V2 compatible packages you will ALWAYS need the .config file.
Microsoft has a doc page for those things somewhere I would assume.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.