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!
Related
I'm facing an annoying problem involving my installation of Visual Studio 2015 Enterprise. I just got into a cross platform mobile project and I have fetched the source code from version control. The solution consists of several mobile projects (Android, iOS) that work fine and a UWP project that refuses to load. It says on the solution explorer:
This project requires a Visual Studio update to load. Right click on the project and choose "Download Update"
After clicking "Download Update" I'm presented with this page: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive .
I've tried downloading all three of the SDKs (I don't think it's an emulator issue so I haven't bothered download the emulator installers).
All three throw this error:
I've tried modifying my Visual Studio installation from the control panel but as you can see the installer claims all Windows SDKs are currently installed:
I've tried re-installing the SDKs. I've tried reinstalling Visual Studio 2 times, one of them involved a full uninstall by running
vs_enterprise.exe /uninstall /force
in a command prompt but to no avail.
Also when I try to create a fresh UWP Project the only platform I can target is the 10.0.240 build. I recall being able to target other versions in the past but the dropdown only contains this option now.
I finally solved it after quite a lot of research. I followed these steps:
Go to Control Panel > Programs & Features
Find Microsoft Visual Studio 2015, right click on it and select 'Change'
When the installer pops up select 'Modify'
Uncheck the whole 'Universal Windows Apps Development tools' section
Wait until the uninstallation is complete
Restart
Again go to Control Panel and find the SDK installers which apparently are not removed using the above method:
Uninstall them all
Restart
Visit this page: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive and download all three SDKs
Start by installing version 10.0.26624 and work your way up
After you're done go to control panel find the Visual Studio Installation, right click, click 'Change' then after the wizard loads select 'Modify'
Make sure every option in the 'Universal Windows Apps Development Tools' section is checked, click Next
After the installation of the SDKs and tools is complete restart your computer
The error should be gone now
I ran into this error trying to add a Portable Class Library project to a solution. It occurred whether I asked it to target Windows Universal 10.0 or Windows 8.1.
The workaround I used is to ask it to also target ASP.NET Core 1.0, even though I wasn't using ASP.NET.
I also ran into this which took me a lot of time to solve. Actually YOU DON'T HAVE TO REINSTALL ANYTHING! If you are totally sure your Visual Studio is up to date, just follow these steps and it will solve your problems: https://stackoverflow.com/a/35733823/3322347
I have a PC with Windows 7 SP1 (64bit) that I have been using to build a Windows store app. I've been using Visual Studio 2015 Community Edition Update 2. This worked great until I applied Visual Studio Update 3 and the latest Windows SDK (14393).
When I target the previous release (10586), I get the following error when I try to compile a C# project:
Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2151,5): error APPX0002: Task 'GenerateAppxPackageRecipe' failed. 0x7F - Failed to load MRM support library.
(I have a C++ UWP project in the same solution and it compiles into a DLL without any issues.)
I've tried reinstalling VS2015 Update 2, reinstalling VS2015 Update 3, repairing Visual Studio, repairing the Windows SDK for 10586. None of these worked.
I know the latest Windows 10 SDK does not support Windows 7 SP1; however, does this apply to all previous Windows 10 SDK's?
Finally, after days of repairing and re-installing, I finally fixed this.
Step 1: Assuming you installed Visual Studio in the default location, goto the following folder: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage
Step 2: Rename Microsoft.AppxPackage.Targets to something else. I added "-old" after Package.
Step 3: Clean the solution.
Step 4: Confirm you are targeting Windows 10 Build 10586.
Step 5: Build the solution.
My targets file is dated May 31, 2016 before I even installed Visual Studio 2015. Before I did these steps, I also deleted everything in the bin/Debug folder but I'm not sure if this helped or not.
Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2151,5): error APPX0002: Task 'GenerateAppxPackageRecipe' failed. 0x7F - Failed to load MRM support library.
This is a known issue in Windows 10 SDK (ver. 10.0.14393.33) which is included in Visual Studio 2015 with Update 3. And it has been fixed in QFE Build 10.0.14393.795.
This non-security update includes quality improvements:
Addressed issue where developers could not build UWP apps on Windows 7 because MRMSupport.dll failed to load.
Addressed issue where MidlRT and MDMerge failed to run on Windows 7
Addressed issue where SDK setup failed to install on Windows
Addressed issue where deploying a legacy Store app to a 8.1 Phone caused Visual Studio to crash
Addressed issue where application data was not preserved across remote debugging sessions when apps were getting un-registered
For more info, please see Windows SDK and emulator archive.
To solve this problem, please go to Add/Remove Programs and Uninstall Windows Software Development Kit - Windows 10.0.14393.33. Then reinstall the 10.0.14393.795 version from Windows SDK and emulator archive. After this, you should be able to build the UWP app with no error.
However, on Windows 7, with Visual Studio 2015, the official support for Windows Universal is "Build only". A lot of other Visual Studio features are degraded. So if you are developing Windows Universal Apps, Windows 10 is strongly recommended. For more info, please see this answer.
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.
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.