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
Related
I have installed visual studio 2017 community properly with mobile development packge and I can't find cross platform app in c#
What can I do to install it ?
You should review the installation procedure documented by Microsoft.
If you don't have the Xamarin menu under Help then you may have missed something. You can re-run the installer and change workflows to confirm you have all the required pieces. Note that additional steps are needed to build and deploy, although you see stuck at just the installation step if templates are missing.
The problem was that some files was corrupted because of a faild complete unistallation of xamarin ... so i prefered a speed and smart solution that can help me to continue my work so i installed a new os windows in new partition i tried to install those files , they worked on the new os so it's clear that xamarin will be installed properly finaly i installed the hole visual studio and that worked for me ...
I updated Visual Studio on Mac and after it tried to start, it told me I need to install Mono and directed me to a web page for that. I installed Mono. Now every time I launch Visual Studio, it just says
Could not launch Visual Studio
This application requires Xamarin.Mac native library side-by-side.
Please download and install the latest version of Mono.
I tried restarting but that didn't help.
What now?
(I'm running the latest macOS, and updated XCode if that matters. Mono is 5.4.0.201.)
New EDIT:(2022)
Users are saying there's a better way than uninstalling and reinstalling. I haven't tested it myself. See comments and answers for more information.
Previous EDIT:
Uninstalling and reinstalling is still the only way as the answer suggests, on: 2019:
March
July
August
September
The fastest and easiest way will be to uninstall and reinstall Visual Studio.
I have just ran into the same problem. I did follow the alert instructions and installed the newest mono framework from Mono websites (6.10.0). After this still the same issue. So I downloaded and ran VS4M installer and it said, it need version 6.8 of Mono framework and it did offer me to download and install this "update". So i went ahead. Still the same warning after launching VS.
Desperately enough after reading this thread I started looking for uninstall instructions (on official site). I did not want to use the script to auto-uninstall as I rather do it all by myself just for ensuring it will be everything done properly. So manual uninstall said to delete the Visual Studio app from /Application folder first. I did it. And woala: All the sudden the new app called "Visual Studio (old)" appeared (or maybe it was there already but I did not notice? Anyway, it was there). It was certainly weird, but I ran it. And it did work! Working instance of Visual Studio! I did check the updates and there was one for the app only. That was my first step straight after launching. It did download the new update and installed it correctly. Now I have end up with fully working and fully updated version of VS4M!
Conclusion:
Use VS4M installer to install all updates and necessarities to run VS4M. After this go to your /Application folder and delete "Visual Studio" app. The "Visual Studio (old)" app should appear. Run this app and update it straight away. (you might have to rename it afterwards from "Visual Studio (old)" to "Visual Studio")
Did you try going to the Applications folder? You'll see a Visual Studio.app file there and you can run Visual Studio by opening that.
I have sovled the problem by brew install --cask mono-mdk rather than brew install mono, in case anyone is installing mono through brew.
I've Visual Studio 2017 community edition. I have a C# project created using Visual Studio 2015. When I try to open the project in VS 2017 I get an error message prompt:
--------------------- Microsoft Visual Studio
Project 'dataStructureInCSharp' could not be opened because the Visual C# 2017 compiler could not be created.
Please re-install Visual Studio.
--------------------------- OK
I'm trying to obtain help if anyone else has faced similar issue. I feel going the uninstall and then reinstall route is very costly for me and would try that option last if I've got no other resort.
What I've done so far :
Tried starting visual studio with administrative privileges
But problem remained same.
I tried creating a new console project solution from scratch but in that case I get very same error and an additional error error also shown below:
System Environment: Windows 7 Ultimate Service Pack 1
You can try to close all VS 2017 instances and delete the folder %localappdata%\Microsoft\VisualStudio\15.0_xxxx\ComponentModelCache, then open VS to create a new Console project.
Or
please re-run the VS 2017 installer as administrator, click the icon beside ‘Launch’ button and choose ‘Repair’ to repair as shown below:
Just to brief the history of my problem, I had first installed Visual Studio(VS) 2017 community when it was in RC stage. This was first time when I saw the workload based UI of visual studio installation. Initially I simply chose .Net desktop development workload to get started as I was interested in creating only console applications to get my hands dirty.
Initially it was all working well. One fine day I added all other workloads I was interested in namely Universal Windows Platform Development, Azure Development, ASP.NET and web development,Node.js development, and Mobile development with .Net. I'm not sure if there any of the specific workloads to be blamed for the issue I've posted.
Just to avoid the case if RC and RTM release builds might not have messed up my entire environment, I simply uninstalled the entire stuff, rebooted my machine and installed it again from scratch from latest RTM release for Visual Studio Community.
I would strongly recommend that you first try possible solutions suggested by #Sara-MSFT before doing clean reinstall just in case if it works. It can save you couple of hours required in whole reinstallation process if it works.
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
Under cloud I only see "Get Windows Azure SDK for .NET" yet I know it's installed. The installer sees it.
I should mention I have Visual Studio 2010 installed along size 2012. 2010 has all the project types and works great.
Open Programs and Features, locate the 'Windows Azure Tools for Microsoft Visual Studio 20xx' (where xx is the version of Visual Studio you are experiencing the issue with)
Right click and choose Repair.
Once the repair is complete, re-open Visual Studio, search installed templates for 'Cloud' and the 'Windows Azure Cloud Service' project should appear, confirming that the issue is resolved.
I had this same problem. Rebooted, still couldn't get it to recognize the Azure SDK 2.1 for VS 2012.
When I right-clicked, I only had the options to Uninstall or Change. I chose Uninstall, and another windows popped up asking if I wanted to repair. I chose Repair and then finally Windows Azure Cloud Service appeared.
I've had similar issue few days ago. Both, VS10 and VS12 installed on Win 7 machine. And VC12 didn't see azure so I followed steps from VS12 and installed it again and then it still didn't work.
However, after VS12 and system restart it actually worked.