When I'm trying to debug my dump file I get an error:
mscoreei.dll not found
mscoreei.dll was not found in the minidump. You need to load the binary in order to find the source for the current stack frame.
I have a project in C# that can hang sometimes on other computer. Each time as it hangs, 'procdump' app creates minidump file for me. Previously, I could normally open this dump file in VS2015, which shows me a stuck place in the source code.
Everything works fine till I made a 'clean up' in the repository. I didn't add any line in the code, I just clean up repository and all my .pdb files were exterminated. I build project again to restore .pdb files. But now as I try to debug dump files, VS2015 shows me page "No Binary Found" with error message written above.
I didn't make any changes in the source code. I didn't modify my environment. Debugging stops working as I made repository clean up.
When I'm checking 'Stack Frame' list, then evrything that is coming after "mscoreei.dll!7311ffcc" have format "[Frames below may be incorrect and/or missing, no binaries loaded for filename]".
I found the problem. It turns out, that my environment changed. From the last build when debugging worked correctly, Windows Update service updated my .NET library. As result my new build is using updated .NET files, but dumps are created for old .NET. Restoring correct version of .NET helped me.
Related
i am currently facing a really weird and annoying error message after migrating my Xamarin.IOS - Project to the 64bit unified - API. The exact error message is:
/Users/falcowinkler/Dev/AHK_App -Kopie/AHK_App_iOS/../ahk_app_ios/resources/.DS_Store:
Error: The path '../ahk_app_ios/resources/.DS_Store' would result
in a file outside of the app bundle and cannot be used. (AHK_App_iOS).
I get that error not only for .DS_Store but also for two other files.
Here are the things i tried.
Clean / Rebuild
delete bin / obj Folder and rebuild
I deleted the files that throw the error, just to get another message that the project is missing these files. I added them again after that, and got the same error as above again
I tried moving my project to other locations, but the error does not change in the slightest.
I tried to remove all problematic files, before migrating, which didn't work as well.
Does anybody know where all the file references are stored in Xamarin, so i can view/edit them to find out what the error is?
I mean the DS_Store file is just a tiny file from mac - finder architecture, is not even necessary for my project, but still it is referencing it, i will just have to kick out these references i guess.
If anybody encountered these issues as well, and has a solution, pls leave a quick post here, thanks :)
Update
I am now pretty sure that there are some misplaced references to files in my project, i saw a similar issue on git hub. But how can i wipe them out? I tried removing my entire resources Folder and adding it again, but it didn't help either. Error message now looks as follows:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets:
Error: Bundle Resource '../ahk_app_ios/resources/.DS_Store'
not found on disk (should be at '/Users/falcowinkler/Documents/AHKKopie/ahk_app_ios/resources/.DS_Store') (AHK_App_iOS)
If anyone else has this problem, just search your project files for the filename. The .csproj File will appear, where you will be able to wipe out the reference to the file, causing the problem.
If you are using Xamarin Studio, you can delete the .DS_Store under your Ios project [ProjectName.iOS] under the Resources folder
I'm playing with VS2015 and C# 6.0 compiler. Everything it great, but I suddenly started getting strange compilation error on one of my projects:
"csc2.exe" exited with code 1.
I would love to provide as much data as needed, but I guess I don't have much:
I have several project in the solution. All projects (excluding the project where I have unit tests) still compile without any problems.
Quick googling did not help.
I've looked into output, there isn't much: C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(383,9): error MSB6006: "csc2.exe" exited with code 1.
VS restart as well as reboot didn't helped.
Rollback of latest changes (but I can't give you 100% that I rolled back all of them) didn't help.
I'm stuck! I would appreciate any advice.
UPDATE
As #rene suggested I run MSBuild.exe with /v:diag. In the produced output I could finally find the root of the problem: I mistyped enum member name. I usually expect to see such errors in the error list, but they are not there until I open the file (where the error is taking the place). As soon as the file is opened in the VS, I can perfectly fine see all errors in the error list.
Hope that this will be fixed by the next CTP.
In my case, i was remote debugging my project dll through another visual studio. When I try to delete obj folder it failed to delete .pdb file. That triggered me that I have a visual studio left running. Closed it, retry build, boom, it worked fine. Just in case, check obj folder for any pdb file locks. That could also be a reason.
I recently updated Silverlight to version 5.1.30214.0 and am now seeing this strange error:
Unhandled Error in Silverlight Application
Code: 2103
Category: InitializeError
Message: Invalid or malformed application: Check manifest
I already checked the following (see Silverlight application doesn't run. I get an invalid or malformed application error):
I did not make any namespace changes
startup object is set correctly
I do not use any styles
I do not use any resources
generated AppManifest contains correct EntryPoint and AssemblyParts
uninstalled and re-installed Silverlight 5 and SDK
I also recreated the whole Silverlight project (different namespace) and manually recreated the files.
Anything I'm missing?
UPDATE:
I manually removed all files under bin and obj and recompiled (Clean option does not seem to work). It now appears to be working again?!
As silly as it might seem, VS-2012 does NOT clean the bin/obj folders. Deleting the files manually fixed the issue and everything is hunky dory again.
I wasted hours on this. Hopefully this will help someone out there.
I'm trying to get started with this library: 32feet
I have a Broadcomm Bluetooth Stack and haven't been able to figure out how to get this library set up. When I run my code, I get:
Unhandled Exception: System.PlatformNotSupportedException: No supported Bluetooth protocol stack found.
After digging around on their site, I found this: Installation instructions
It says to copy the appropriate DLL's into the project and then run the Test32FeetWidcommWin32.exe. I've tried putting the files in every single folder in my Visual Studio project and then running that EXE, but I still get the same error. Initially I tried just adding the InTheHand.Net.Personal.dll file as a reference to my project, but that didn't work either.
What could I be doing wrong?
It may also simply be that BlueTooth is not turned on in Windows.
I was using the .NET InTheHand library, and received this message only because BlueTooth was turned off in Windows, and resolved it by activating BlueTooth.
I just solved this. I think the problem was an old reference in my project to the NETCF version of the DLL from when I was trying to brute-force a solution, so I wiped my project clean and then started adding everything again and it worked!
A helpful tool to those trying to figure out their problem with this is to copy and paste the app.config file into your release directory with the app you are creating, and change the name to <YOUREXENAME>.exe.config. When you then run your EXE file, it should create a more detailed trace file. For mine, I found that coredll.dll was the culprit by not loading and was masked by the Stack not supported exception. After an easy Google search I found the problem to be with NETCF.
edit: To be clear, after I cleaned out my project a bit I re-added the reference to the correct InTheHand.Net.Personal.dll file and also added the 32feetWidcomm.dll file to my Release folder.
I am trying to configure visual studio to enable me to step into the .net framework source code when I am debugging.
I have tried with both Visual Web-Developer-Express-2010 and Visual-Studio-2011-Express-For-Web as well as Visual-Studio-2011-Express-For-Web on Win8CP and I am getting the same problem with each.
I have read numerous tutorials on how to set it up and the settings I have I believe to be correct.
Debugging General Settings -
also -
Debugging Symbol Settings -
I have tried both of these symbol servers. When I click Load all Symbols this is the output I get saying symbol loads have failed -
Large scale version link
If I run the code to the breakpoint, right click and select the specific method to step into like so -
large scale version link
I get this tab -
Large scale version link
If I look in my SymbolCache folder, there is only a FailedLoads folder with these contents -
Large scale version link
My project is in debug mode. I have also tried running VS as administrator. I have full control over the SymbolCache directory. I am on a home network and have full access to my internet connection.
Why is this not working?
Source stepping is only available for RTM or SP releases.
See http://social.msdn.microsoft.com/Forums/en-US/refsourceserver/thread/1b74f60c-e961-425c-a38e-362406dd4cfe.
Since 4.5 assemblies keep the same version number as 4.0 (stupid idea), then there is no way to get compatible symbols + source right now, so this is impossible with VS11 installed. You must start over with a clean machine and don't install .NET 4.5.
This is really stupid … the whole point of versioning just thrown out the window.
Have you set up the environment to load the symbols (note: by default, the symbols are not set to load - have not checked VS 11, btw (will do so later)).
You can also check out this article for info on symbols. I will have to check if there is a manual download for symbols for .NET.
You can also set up source server manually to http://referencesource.microsoft.com/symbols. You cannot browse the reference source.
I had this problem - no symbols loading - and spent a week trying to solve it. My problem was that I had for the first time started using Master pages in my website project. And I was incorrectly creating the content pages; the error was that i was not indicating the codebehind file in the page directive of the content page so my codebehind file was in essence unconnected to the build of the project. A dumb mistake and simple fix after a week of frustration. Hope this helps some lost programming soul stuck with the same problem.