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

TrainEditor2 build failed in Visual Studio and TE2 cannot be opened then #1136

Closed
BPI-919 opened this issue Mar 30, 2025 · 2 comments
Closed

Comments

@BPI-919
Copy link
Contributor

BPI-919 commented Mar 30, 2025

When I open OpenBVE.sln project file in Visual Studio, then I try compile (build and run) the TrainEditor2 "branch", it throws the exception see below:

Image

I cannot open TrainEditor2.exe file directly since I last tried to build and run it...
Fortunately, the problem occurs at TrainEditor2 only, the other "branches" / "apps" are built successfully.

I pulled the last source codes via git pull command, before I opened the OpenBVE.sln file (in Visual Studio).

My OS: Windows 11 Home, 24H2, x64 (64-bit)

@leezer3
Copy link
Owner

leezer3 commented Mar 31, 2025

Please have another try with the build from today. This upgrades the ReactiveProperty library and makes some other improvements.

I think reflection wasn't working properly in some cases. (I'm not sure I would have personally chosen ReactiveProperty, but there we go)

@BPI-919
Copy link
Contributor Author

BPI-919 commented Apr 2, 2025

Please have another try with the build from today. This upgrades the ReactiveProperty library and makes some other improvements.

I think reflection wasn't working properly in some cases. (I'm not sure I would have personally chosen ReactiveProperty, but there we go)

Thank you! All the apps (including TE2) open properly, I tested them recently.
I will close this issue if you do not mind.

@BPI-919 BPI-919 closed this as completed Apr 2, 2025
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

3 participants
@leezer3 @BPI-919 and others