Error: This template attempted to load component assembly 'Microsoft.VisualStudio.SmartDevice' - c#

I installed Visual studio 2015 and I'm trying to create a test application for Windows Phone 8.1. When I create a new project, I get this message:
Any suggestions on how to solve this problem?

Here is the solution:
Open Visual Studio and go to Tools > Extensions and Updates
Uninstall "NuGet Package Manager for Visual Studio 2015"
Restart Visual Studio 2015
Open Visual Studio and to Tools > Extensions and Updates again
Install "NuGet Package Manager for Visual Studio 2015"
Restart Visual Studio 2015

I got a similar error message when trying to create an MVC Web App on VS2015. Found this solution and it worked for me.
Go to Tools>Extensions and Updates
Search the NuGet Package Manager for Visual Studio 2015
Install NuGet Package Manager
Restart VS2015
Hope it helps.

On VS2017 go to "Tools-> Extension and Updates" then find and Check "Xamarin for Visual Studio", it was disable, i enabled it, and restarted. Worked for me.
Refer:
https://developercommunity.visualstudio.com/content/problem/83460/cannot-create-a-new-xamarin-project-using-vs2017.html

Go to tools>Extensions and updates
Search for Visual studio tools for Apache cordova and enable it.
Restart visual studio and it will work

This worked for me:
1) go to installation path for VS2015 from command prompt and type:
devenv.exe /InstallVSTemplates
2)
- Go to Tools>Extensions and Updates
- Search the NuGet Package Manager for Visual Studio 2015
- Install NuGet Package Manager
- Restart Visual Studio 2015

Another way on VS2017 (and probably VS2019), open the Visual Studio Installer (from the Start menu), and when it loads up, press modify. From there, click on the tab at the top to select individual packages and in the list select NuGet Package Manager. Then press modify at the bottom-right to apply the change.

Related

How to install fontawesome.sharp icons in Visual Studio 2015, I'm building a Windows form and need fontawesome.sharp tools

I'm building a windows form in Visual Studio 2015, I'm trying to add font-awesome.sharp tools in my project. I've installed font-awesome.sharp using NuGet package manager but it doesn't add it to my tools menu.
I tried to find some .dll file for it but can't find the correct file. How can I do the installation?
you can find the dll file (FontAwesome.Sharp.dll) in (YourProjectFolder\packages\FontAwesome.Sharp.5.15.1\lib\net40)

How do I add features to Visual Studio 2017?

Let's say that when I installed Visual Studio 2017 I decided to use the "Windows Universal Platform" packages. Later, I realize that I'd like to install the ".Net Desktop packages" (either instead, or in addition).
How can I go back and add those features to Visual Studio 2017? Is there a way to do this within Visual Studio? Do I have to re-run the installer?
You can go to tools from menu bar and then select "Get tools and features" and then you can add or modify your features.
Re-run the visual studio launcher and click on modify. Make your edits and the launcher install the missing components.
After you have installed Visual Studio 2017 you will have a program called Visual Studio Installer. Launch this application.
From here you can select modify and then add the components that you need.

Installing Visual Studio 2015 Update 1 give me lots of : "package did not load correctly"

I installed VS2015 with update 1 on Windows 7 Entreprise English over Visual Studio 2015. The setup result was some error(s). I Restarted my machine and run the setup again. The setup completed successfully.
Note: that I had Resharper installed on first setup and I removed before retry the setup for the second time (which succeeded).
After re-installation, I got many message box with "package did not load correctly".
Example:
Now my visual Studio 2015 with Update 1 is totally upside down??? I got error message on start (package did not load correctly):
Python Tools Package
XamarinShellPackage
And many more when loading a project (package did not load correctly):
CollaborationPackage
...
Any idea on how we can solve that problem???
Update: I'm trying now to uninstall and then re-install again with Visual Studio 2015 with Update 1...
I fixed my problem by uninstalling Visual Studio 2015 completely and re-install VS2015 with Update 1.
I found this, maybe that can solve your problem:
Packages not loading after installing visual studio 2015 RTM
By
Shittu Joseph Olugbenga
All i did to get it working was to follow this step:
1.Close all instances of Visual Studio
2.Delete everything in this folder C:\Users\\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
3.Restart Visual Studio
Though I have not tried this for 2015, I believe this should solve the
problem too. To do this for visual studio 2015, 12.0 should be changed
to 14.0
I had to do a combination of the other answers, none of which was uninstalling VS
I renamed C:\Users\{User}\AppData\Local\Microsoft\VisualStudio\14.0
started VS2015
closed it down
did the binding redirect for System.Collections.Immutable from https://stackoverflow.com/a/34018770/57883
Then I've been copying the extensions I think are safe over and seeing if projects all still load.
Try restarting the computer. It was what fixed the issue for me (which appeared right after modifying my installation, and I had not restarted the computer).
Close Visual Studio
Delete following folder C:\Users\%username%\AppData\Local\Microsoft\VisualStudio\xx.x\ComponentModelCache
and file
C:\Users\%username%\AppData\Roaming\Microsoft\VisualStudio\xx.x\ActivityLog.xml
Restart Visual Studio
Uninstall and re-install visual studio 2015

Error in Visual Studio 2015 When Add New WebForm

When I add new WebForm to my project, I get the following error:
Could not load file or assembly
'Microsoft.VisualStudio.JSLS,Version=14.0.0.0 , Culture=neutral ,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.the system
can not find the file specified.
I tried to create new website project and I tried to reinstall VS 2015 but this did not help.
This is a known bug with Visual Studio 2015. The officially-endorsed solution from Microsoft has been posted on MSDN:
If the “Tools for Universal Windows Apps Development” are still installed:
Go to Programs and Features, select Visual Studio 2105, click Change.
In Visual Studio setup, click Modify.
Deselect the feature “Tools for Universal Windows App Development”
Select “Tools for Universal Windows App Development” again, and click Update.
If you have already uninstalled the “Tools for Universal Windows Apps Development”:
Reinstall “Tools for Universal Windows App Development”
Or take the following steps to reinstall the JavaScript project system and language service:
a. Download the installer for your edition of Visual Studio, e.g.,
vs_community.exe.
b. Open a CMD window, and run the following command:
vs_community.exe /modify /installselectableitems JavaScript_Hidden
/passive
A temporary solution:
Shut down Visual Studio and reinstall the following package from the DVD or ISO:
x:\packages\JavaScript_LanguageService\JavaScript_LanguageService.msi
A better solution, endorsed by Microsoft, has been posted.
Remove the update received for visual studio TypeScript on 11/08/2015. it seems to be buggy. After removing TypeScript update, my VS is working fine ;-)
and if you try to reinstall x:\packages\JavaScript_LanguageService\JavaScript_LanguageService.msi from the installation package, soon or later you will face one more problem that "Something went wrong.. may be because of a extension.."
Easiest way is to remove TypeScript update for now. TypeScript future update may fix the problem.
OR
Run command prompt as administrator.
CD C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
devenv /updateconfiguration
devenv /clearcache

Visual Studio 2010 - Uninstall NuGet

How do you uninstall NuGet from Visual Studio 2010?
I tried to open Visual Studio 2010 with 'Run as Administrator', but the Uninstall option is not available for uninstalling the NuGet extension from VS2010.
Usually to uninstall NuGet in VS2010 you need to run as an administrator, open Tools->Extension Manager. In Installed, select NuGet and click Uninstall.
If that fails you can run this command :
vsixinstaller.exe /uninstall:NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
(vsixinstaller can be found under [program files]\Microsoft Visual Studio 10.0\Common7\IDE )
Open Extension Manager inside Visual Studio, select "Installed" on the left, you'll find NuGet in the list and the option to remove it.
To uninstall NuGet, you must first run Visual Studio as Administrator, then you will see the Uninstall option available.
Restart VS, but this time run it as your normal account. When you install NuGet going forward, you should be able to update to future versions without running as Administrator.
I believe this issue occurs due to NuGet being installed with MVC 3. I hope in the future we no longer bundle NuGet with other software.

Categories

Resources