I'm Trying to develop a project that interacts with Live Messenger (8.5, 9.0 and higher)
I can't get it to work in windows XP, whenever i try to instantiate a MessengerClass (available in the messengerAPI) it gives me an exception, however, in windows vista, this error doesn't happen (same exact code, tested in more than one XP and more than one Vista machine).
I've read in forums that this issue is due to a security update microsoft has released in november 2008, but i haven't found a solution (though i'm not quite sure about it).
Has anyone ever had this problem ? any solution ? workarounds ?
I've found in a forum someone that has got the old discontinued version of MessengerAPI for desktop applications and made it fit into newer live messenger clients by editing the api itself and made it available in a link (note that as of July 21, 2011, this link is broken).
You just have to run TLBIMP.EXE from the command console in visual studio:
tlbimp [path]\MSNMessengerAPI.tlb
This will create a .dll in the same folder as the original .tlb file. You can import it as a reference in Visual Studio and use it right away.
Related
This question already exists:
Visual studio 2013 keeps crashing
Closed 5 years ago.
So I have a machine which runs Windows 10 with Visual Studio Ultimate 2013. But everytime I start the program it crashes within 1 minute, even without even moving my mouse.
When it crashes it gives me the following error: An unhandled Microsoft .NET Framework exception occurred in devenv.exe [6820]
I have noticed that the error started coming up after I connected to a Team Foundation Server, but I dont know if it has anything to do with the issue.
Furthermore, I am running a clean Windows install so that shouldn't be the problem either.
At this point I really don't know what to do, and I have my exams in two weeks, with which I need Visual Studio with Team Foundation Server.
Please help me with this, it would be very much appreciated!
None of the above. The answer is to install Update 5 for Visual Studio 2013:
https://my.visualstudio.com/Downloads?q=Visual%20Studio%202013%20Update%205
According to your description, you may need to repair your installation of the .Net framework.
To do this, please goto:
Control Panel >>> Programs >>> Programs and features >> Microsoft .Net Framework ClientProfile/Core >>> Select Repair >>> .Net Framework (.net version here)
Alternatively, you can use the setup verification tool to diagnose your .Net Framework here: .NET Framework Setup Verification Tool or Alternatively. Also check the .NET Framework Setup Verification Tool User’s Guide
If you do find problems with your .Net Framework, you can use the Repair Tool to fix it, it is designed to fix issues specifically concerning the .Net Framework as well as updates: Microsoft .NET Framework Repair Tool
After repairing, restart your system and please let me know if this helps.
we have the same problem at the office, seems like its a Microsoft issue.
here is a workaround:
https://www.reddit.com/r/VisualStudio/comments/7a2uy3/workaround_visual_studio_is_crashing_for_me_today/
I inherited a C# app written in Visual Studio 2010 professional. From the compile done in VS 2010, the C# app works perfectly in Windows XP and Windows 7.
Now I am about to install Visual Studio 2013 for the first time tomorrow, and load the C# app.
I have 2 immediate goals:
Upgrade my project to work in VS 2013 Professional. I am not sure
if/what obstacles I may run into here, but if anyone has any suggestions I am all ears.
More importantly, I have 2 new prospective users for my app - one wants to use it in Windows 10, the other in Windows 8. However, I don't know the steps I
have to take to make my C# app work for these newer operating
systems. Are there specific steps I will have to take (or settings to
assign) in Visual Studio 2013 so that my C# app will work for Windows
8 and Windows 10? If someone knows the answer to this, can you please
make it clear whether I should be making separate builds for each
target operating system, or if the steps you suggest will allow me to
build this for all 4 operating systems included in the same build?
Thanks very much, really appreciate any input.
Adam
For the most part the project should auto update just fine. You might want to make a back up incase it upgrades incorrectly and it doesn't create a back up on its own.
The boxes you deploy to might need a visual studio 2013 redistributable which will be apparent if they crash when opening on the deployment machine
I am facing the problem from 3 days and i think it all started when i installed Visual studio 2013 on my machine that already has VS2010 and VS2012.
Don't remember the exact steps after that but one thing is confirm it happened after vs2013 installation.
Previously it showed some kind of error in Microsoft.Expression. on designer while loading the windows phone page and it happened on all of the pages of all projects.
It vs2012 didn't recognize even the tags etc.
I uninstalled VS2013 and vs2012, installed vs2012 again bt still no remedy. Now when i open vs and try to create even a new windows phone project it shwos following
below is the image of error i see every time i try to open my existing windows phone projects.
Below are the last entries in the file mentioned in the image above.
I'm wondering if you upgraded to Windows 8.1. That upgrade has fracked most people's Silverlight development environment. I am working through that issue myself and if you upgraded to 8.1, you may want to search for solutions for that.
Here's a link with further information:
http://social.msdn.microsoft.com/Forums/silverlight/en-US/960abca1-5f10-4608-ad72-93ecef6e70a7/windows-81-killed-my-silverlight-development-environment?forum=silverlightdevtools
I did just the uninstall and install of the developer exe and that solved my problems.
Hope that helps!
I recently installed VS 2013 on Windows 8.1. When I open up any xaml file I get this error message below.
This happens even if I create a project from scratch in VS 2013. I've tried re-installing Windows 8.1 and VS 2013.
Has anyone come across this issue?
System.Exception Package failed updates, dependency or conflict
validation.
Windows cannot install package
App.a94e67374.a8775.a4662.ab57f.a7f1805386d2c because this package
depends on another package that could not be found. This package
requires minimum version 0.0.0.0 of framework
Microsoft.VCLibs.120.00.Debug published by any publisher to install.
Provide the framework along with this package.
I had the same error just like you.
I registered myself and got a developer licence. After registerering
I debugged the program and it all got fixed by itself
I use windows 10, to fixed it, I go to Setting -> Update & Security -> For developers, I choose Developer mode. In windows 8 and 8.1, I don't know.
the figure of setting
It happened to me as well with both VS 2013 and VS 2015. I think it's a common problem when VS is freshly installed.
I solved it both the times with running VS with administrator privileges (right click on the VS tile on Windows 8 and select "Run as Admin") and opening a XAML file with the editor. It takes some more time than usual, but then the problem gets fixed by itself.
After that you can continue using VS with standard user privileges.
Sadly none of the above solutions seemed to work for me.
My windows 8 installation is quite old and over the years, I had installed several visual studio versions such as 2010,2012 and 2013.
Even uninstalling visual studio, there will be many files and packages left behind.
I managed to fix this issue with the following steps:
1. Install Revo Uninstaller and from the options menu I enabled the "Show system components".
2. For some reason along with the visual studio 2013 ultimate installation (main application - do not uninstall this) I uninstalled two installations related to the main visual studio 2013 application such as: vs 2013 premium and vs 2013 professional apart from the main application (Repeat: Do not uninstall the main app)
3. Uninstall all the Microsoft Visual C++ runtime packages
4. Performed a repair of the the visual studio
Something else that I would rather prefer doing than performing a full repair as it takes far too long, would be to uninstall all the visual C++ runtimes packages and anything related to them (you might brake some apps but they are easy to find and easier to install)
and simply reinstall those visual c++ redistributes starting from the latest version and see if it works.
Before anything however, make sure you have a developer license like said on a previous post (no developer account is required. You don't have to pay for anything yet).
I'll try to provide step-by-step guid to fix the issue.
Please create an MSDN account here https://msdn.microsoft.com and use your login credentials in VS 2013
You have to enable "Developer mode" option from UPDATE & SECURITY (Windows 10). Attaching the screen shot for more clarity.
This should solve the problem, but if it doesn't then,
Try restarting your Visual Studio as administrator.
Some nice reads about configuring your device for development Windows 8 and Windows 10
I tried to create a new Silverlight project in Visual Studio 2010 (Ultimate version) for the first time.
It told me I got to install the latest version of Silverlight, before creating any.
You need to install the latest silverlight developer runtime before creating a silverlight project
I clicked the link on the message, download and install whatever was there.
Then when I tried to create a new project, it told me I got to install "Silverlight 3 sdk".
I removed the new version, and installed Silverlight 3 sdk.
Then again, when I tried to create a new project I recived the error stating I must install the latest version.
It went like this a bit more, then after searching on the internet, I removed everything from my computer with "Silverlight" in it's name, installed Visual Studio SP 1, reinstalled Silverlight 5 (this time I paid attention to install x64 version, since it turns out that in the error message Microsoft supplied a link to x86 version, no matter what OS you are running).
I managed to create a new project, and everything was fine.
Then I downloaded some Silverlight.FX samples (probably for version 3).
They weren't open properly (which was a downer by itself), and then I recieved again a message tells me I must istall the newest version.
I closed Visual Studio, tried to create a new project, and got again the same message.
It seems the problem reappeared just because I opened an old project.
Does it make sense? Why my Visual Studio is so unstable? What should I do?
Your silverlight plugin version, silverlight sdk and silverlight developer tools version should be same version. Please check this.