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
Application not rendering in Release mode, plus System.ObjectDisposedException #73
Comments
Hello @TGNThump , Thanks for reporting the issue. Thanks |
Neutronium 1.3 installed via the VS template. I only have one view, so I can't say if its linked or always. The issue arises with a release build (application mode set to production) |
Make sure you disable „prefer 32 bit“ as mentioned here: https://github.com/NeutroniumCore/Neutronium/blob/master/Documentation/Content/Migrate_from_1_1_to_version_1_2.md |
@TGNThump , please check as @genyx suggests you buiding configuration. Make sure that the project build setttings is consistent with the solution build settings and that the prefer 32 bit is unchecked. The symptoms you are descibing are similar to waht happened when build settings is not consistent (for example solution is x64 and project is x86, prefer 32 is checked..) |
Disabling the prefer 32 bit checkbox for the release configuration fixed the error message on close, but the chromium container still displays a blank white window while not running The content of the View/Main folder (excluding node_modules) is included in the project and the View/Main/dist folder items are all set as |
From the first warning, it seems that some alterations have been done in the View\main\dist\index.HTML so that the main div can not be found. Make sure it is unaltered: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>main</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<div id="main" style="height: 100%;overflow: hidden;">
</div>
<script src="./build.js"></script>
</body>
</html> |
Yup, matches exactly. |
View/Main/dist folder items should be |
Thanks, both Release and Debug builds are now working. I still cant publish though, after building for pubish, the installer / .application file throws the following error:
|
Please open a dedicated issue, inked to click-once deploy. |
When running in Release mode (after running npm run build), Neutronium displays an empty window, and then produces the following error on closing the window:
Running npm build integrated and then running the project in Debug mode with
-dev
works fine.The text was updated successfully, but these errors were encountered: