Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: System.InvalidOperationException: Value must be set - NclearOS2NclearOS2 - IL2CPU #6

Open
peymanx opened this issue Apr 17, 2024 · 1 comment

Comments

@peymanx
Copy link

peymanx commented Apr 17, 2024

Hey there...
I'm using the latest update on Visual Studio 2022 and clone last version of NclearOS-2 v0.6.0 Alpha
I can make a new project of Cosmos os
but when I open clean NclearOS and hit run, the error below appears:
Exception: System.InvalidOperationException: Value must be set. NclearOS2 C...\NclearOS-2-main\NclearOS2\NclearOS2\IL2CPU 1
I've no idea how to fix this

image

@Ncleardev
Copy link
Owner

I have the same issue and the only solution I've managed to find is to click Run again after the error occurs. It appears that there is a bug in CosmosOS UserKit. For some reason, any changes made to the NclearOS code break the CosmosOS compiler - IL2CPU. There is some code that the compiler doesn't like, but I'm not sure yet which part of it is causing this. CosmosOS DevKit doesn't have the same problem though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants