Hi I have a really strange problem that has occurred where a WPF application that was running fine no longer launches. I have been through everything looking for changes etc to no avail. To try to make sure I was not missing something I created a new WPF project in VS2015 community, targeted at .Net 4 that contained only a Main form with a label on it and it too will not open on Windows 10 or 8.1 (I tried it on 2 different windows 10 machines and an 8.1) but it will open on Windows 7.
It also runs fine in debug, this is the same situation as the original software.
When you try to run them you get the cursor spinning and then nothing, even worse is there is nothing showing in the event logs to point to a problem and as they run in debug there is nothing there to lead me to an answer.
Any ideas?
Related
I have a winforms C# application, using dotnet framework 4.6.1. I recently got a new development machine, which runs windows 10, rather than windows 7.
Now when I try to run the application on a windows 7 machine, I get a strange error. The full text of the error is:
The procedure entry point I_RpcBindingSetPrivateOption could not be located in the dynamic link library RPCRT4.dll.
I have also had a similar message about a different dll - api-ms-win-crt-private-I1-1-0.dll.
After I click on "OK" for this error, the application works fine.
I think this has to do with the fact that windows 10 and windows 7 have different versions of these dll's. But I'm not sure how I can prevent this error.
Can anyone offer any suggestions on how to prevent this error appearing?
So, a bit of a tricky situation and I'm not sure what's going on honestly.
This game is using XNA and the 2012 refresh of it.
Originally ran Windows 7. Started a WP7 project. Have been working on and off one. Finished 1 year ago. Before finishing, had to upgrade to Windows 8.1 and likewise began using the 8.1 windows phone simulator. Could no longer use VS 2010 and was using 2012 (simulator requires this).
Fast forward to present. Just about finished with an expansion/fix patch so I can forever forget about the game. Currently running Windows 10. Still have VS 2012 and 2010. Game will not run in VS2010 (expected), however, when running VS 2012 and hitting the 'deploy' button... I get ... rather irritating results.
The Windows virtual machine will show up (the phone case and such saying "OS is booting up"). About 5 seconds it. My whole computer resets. No warning, no 'ding', nothing. It just combusts and restarts. Any idea why this is happening? My guess is compatability issues, but a flat out system crash is not acceptable... Especially without warning or notification or anything. Could not find anything in system events as well.
Further information: The refresh should in theory work. I have a side project I work on for fun and it is the Windows PC version of XNA. It is not mobile. When I run THAT XNA project, it runs just fine. No issues and certainly no crashes.
Any ideas what this is? or how I can fix it? Downgrading isn't an option for this game, that's just silly.
I have a Windows Phone 8.1 application that was just upgraded from Windows Phone 8. When the emulator starts and the app fires up, it immediately crashes to the app list. It doesn't get caught in the debugger at all. Just crashes hard.
The Windows Phone 8 version works fine and I've made sure that the splashscreen.png file is part of the project and is set as content as I've seen elsewhere but I'm at a loss as to what would cause this.
Anyone know what's going on? There's nothing in any logs I can find so I can't provide any further information to assist. Sorry!
Found the Answer: When Visual Studio 2013 Update 4 updated the project, it for some reason cleared the "Startup Object" for the application which caused it to never hit any code which was why this was happening.
Setting this again to the only option fixed the problem. Of course this should compile-time fail with an error but it doesn't, so if you get this issue that's likely why.
I'm having a frustrating issue developing for Windows Phone 8.1 and hoped somebody might have lived through the same thing.
I've had the app running on my phone from a few different deployment packages I created. I recently started deploying directly from VS to my phone when debugging. Everything is working fine. However, when I try to run the app without VS attached, it crashes after the splash screen, with no exception details given. It simply closes.
I've added a handler to the UnhandledException event that will output exception details to a dialog, but this is not displaying anything. The crash only ever occurs when starting the app from the phone.
I reverted to creating a deployment package and deploying that using the tool. However, this version also crashes on start with no message.
Weirder still, I've used one of the deployment packages that had been working fine, and I get the same error: crash, with no message.
I just don't understand this behaviour. Why has an old package that used to work stopped working? I'm using roaming data and considered it might be to do with that, but I really have no other ideas. Please help!
I have a WPF application developed and been testing already for a few months.
When it's installed on the client's computer the application starts and no window is visible. The task manager shows the application is running.
The application is writing all activities in few log files and it looks like it is doing something but no visible screen.
What can be a possible cause of the problem ?
Why it is invisible on that specific machine ? The machine is Windows 7 64x bit
The installed frameworks are v1.0 1.1 v2.0 v3.0 v3.5 v4.030319
The strange thing is the application was working before.
You should check Windows Event log (Type eventvwr in run dialog or go to viewer by Computer Management dialog of Windows) to get info about the problem. The reason is most likely your application has an exception before your main window is opened. So you see that process is running in task manager but windows did not show up.
The reason in event log could be anything. May be your app requires a file in a specified path but not found. I meany anything that causes an except,on could be your problem.