I try to open visual studio 2017 and it gives me this error :
Microsoft Visual Studio
Impossible de charger le type 'ProcessDpiAwareness' à partir de l'assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
OK
I don't get it, I try to uninstall and reinstall and it doesn't want to install anymore, I did many research and I have yet to find a solution. Thank you for the help
I think this is yet another problem with .Net 4.7 update on Windows 7/8/8.1 systems. Try installing the updates in this web page. If that doesn't help, try uninstalling .Net Framework 4.7 (instructions to uninstall and reinstall also in the same web page)
Related
I'm using Visual Studio Community 2017 Version 15.7.1 on Windows 10 Home Version 10.0.16299 32-bit, Windows SDK Version 10.0.17134.12 and C++/WinRT Version 1.0.180505.2. When I try to create a new project using any of C++/WinRT templates, I'm getting this error message:
Error: this template attempted to load component assembly
'Microsoft.VisualStudio.Universal.TemplateWizards, Version=15.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more
information on this problem and how to enable this template,
please see documentation on Customizing Project Templates.
Is there an easy fix to this problem?
This error was caused by missing UWP SDK. My first installation of Visual Studio was configured for Desktop development with C++ workfload only, so UWP development workload components were missing. I added UWP development workload using Visual Studio Installer.
This error comes due to absence of UWP tools. For Visual Studio 2019, you simply have to go to Extensions>Manage Extensions>Online and search for "UWP Essentials" then download it for free. Close all Visual Studio windows and then when you open it again, the problem should be solved.
The easiest way to fix this is to install the whole UWP Essentials package. It contains a lot, but it gives you everything to fix the issue. Go to Tools > Extensions and Updates > Online and search for "UWP Essentials", and use the Visual Studio Installer to get it.
Until recently everything worked fine, but I installed Visual Studio (15.6.3) Enterprise on top of my Visual Studio Community (15.5.X). This caused problems with existing projects (specifically with .shproj files), so I've slowly uninstalled and taken more and more drastic steps. Most recently I've:
Uninstalled Visual Studio Community and Enterprise
Deleted all files from AppData/Local/Microsoft/VisualStudio and AppData/Roaming/Microsoft/VisualStudio
Restarted the computer
Reinstalled Visual Studio 2017 (just community since that was working fine) with the following options checked:
.NET desktop development
Universal Windows Platform development
Mobile development with .NET
Now if I try to make a Console App (.NET Framework), I get a popup after clicking the OK to create the new project:
Microsoft Visual Studio Could not load type
'Microsoft.Build.Framework.IProjectElement' from assembly
'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'.
I'm unfortunately dead in the water until this is solved. Any help would be much appreciated as I'm about out of ideas.
The error message was slightly different (Microsoft.Build.Framework.IProjectElement vs Microsoft.Build.Framework.SdkReference) but the solution posted here solved my problem too:
Could not load type 'Microsoft.Build.Framework.SdkReference' on project open in VS 2017 U1 (15.3)
I have used workaround from this blog post to install MS Dynamics CRM 2013 Developer Toolkit on Visual Studio 2015. Many people have installed it and using it without problems. However, when I try to bind to my online CRM instance, I get this error:
Could not load file or assembly 'Microsoft.Windows.Design.Host,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or
one of its dependencies. The system cannot find the file specified.
Am I missing something here ?
Have you got .NET Framework 4.5.2 installed? I remember having to install this, even on Windows 10 which is supposed to have it.
Previously I have Visual Studio 2012 Ultimate version in my system. Its is working fine.
Later I am trying to install 2013 also but it is not installing properly and giving error message like attached image.After that VS2012 also is not working properly. Then I tried to Install Vs2012 also again. But this installation process also giving same error. I can not able to upload image due to reputation.
This is the exact error:
"Visual Studio Core Fetures Fatal error during installing.
Microsoft Visual C++ 2012 Core Libraries Package failed.
Microsoft Visual C++ 2012 Microsoft Foundation Class Library Package failes."
Please help me to install visual studio 2012 & 2013.
Because Visual Studio requires many components to be installed, and if they are not, VS will install them. However, when you uninstall VS, it will not remove these components automatically because it does not record which component is installed by it and which exists before VS is installed. Other applications might need these components to work.
When you uninstall VS2012, you really only remove VS itself. Then you try to install VS2013 and meet an error, and that may be the problem. To make things worse, you did not clean uninstall VS2013 either, which caused the later errors when you try to reinstall VS2012.
You may as well try to clean uninstall VS 2012 and the same goes for VS 2013, just some Google work.
I hope this will help you a little.
I installed Visual Studio 2013 and having problem with Custom Check in policies. I added new Key and Value to the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Checkin
Policies\MyPolicyName
Basically I followed everything in this link: http://msdn.microsoft.com/en-us/library/bb668980.aspx., but I still get error:
Internal error in "My policy". Error loading the "MyPolicy" policy
(The policy assembly 'MyPolicy, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null' is not registered.). Installation instructions:
To install this policy, read InstallInstructions.txt.
Previously it was built in .NET 4.5 and worked fine with VS 2012. I though maybe building it in .NET 4.5.1 might fix the problem, but it didn't. What should I do to fix it? and where is the InstallInstructions.txt located?
UPDATE:
I am using TFS 2012 and SQL Server 2012. Visual Studio 2013 Premium (not preview).
Thanks for the help!
Finally I figured what was wrong. I had two versions of Visual Studio installed. 2012 and 2013. Year ago I created a custom cheking policy using VS 2012 and I was trying to make it work with VS 2013. I tried rebuilding in VS 2013 and it didn't work. I tried rebuilding it in a machine that only has VS 2013 and figured that it was still referencing to VS 2012 libraries. So I basically removed all references added VS2013 libraries. That solved the issue.
here at msdn forum.