ASP.Net 5 Beta 8 xproj cannot be opened - visual-studio

I just installed the new release of ASP.Net 5 beta 8. I ran DotNetVersionManager-x64.msi and then WebToolsExtensionsVS14.msi. I tried to open a simple app that worked in beta 7 and it won't load the project with a message
This project is incompatible with the current edition of Visual Studio:
Microsoft Visual Studio Community 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079
I then tried to create a new ASP.Net 5 web project and got this:
The project file 'c:\users\myfolder\documents\visual studio 2015\Projects\WebApplication3\src\WebApplication3\WebApplication3.xproj' cannot be opened.
The project type is not supported by this installation.
I have uninstalled and reinstalled the DotNetVersionManager and WebToolsExtensionsVS14 with the same result.

Fixed it by doing this
Close VS, then delete the folder at %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache and restart – Sayed Ibrahim Hashimi
Thank you #SayedIbrahimHashimi

The easiest way to get started building applications with ASP.NET 5 is to install the latest version of Visual Studio 2015 (including the free Community edition).
Install Visual Studio 2015
Be sure to specify that you want to include the Microsoft Web Developer Tools.
Install ASP.NET 5.
This will install the latest ASP.NET 5 runtime and tooling.
Enable the ASP.NET 5 command-line tools. Open a command-prompt and run:
dnvm upgrade
This will make the default .NET Execution Environment (DNX) active on the path.
On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4.
You are all set up and ready to write your first ASP.NET 5 application!
Reference...

Related

.NET SDK 3.0.100 will not appear in Dropdown Options in Visual Studio

I just installed .NET Core Installer: x64 onto my computer because I am about to start dabbling with Razor for a project. However, when I try to to create a new ASP.NET Core Web Application, I go to the dropdown menu and ASP.NET Core 3.0 does not appear. I just see other versions of the SDKs that I have such as ASP.NET Core 2.2 and 2.1. How can I fix this issue?
I have provided some more info below:
Project Info:
Will be made with ASP.NET Core Web Application.
Visual Studio: 2019
Location of where SDK is installed:
C:\Program Files\dotnet\sdk\3.0.100
I am running Windows 10 on my iMac.
Per Microsoft's release notes...
Visual Studio compatibility: .NET Core 3.0.0 requires Visual Studio 2019 16.3 GA to take full advantage of all its features. .NET Core 3.0.0 will not work properly in earlier versions of Visual Studio.
To make sure you are running the latest version of Visual Studio save your work and go to Help > Check for Updates. Upgrading from 16.2.5 to 16.3.0 fixed it for me.

Visual Studio 2015 with Update 3 .NET 4.6.2 Windows 10 Anniversary Edition

I recently updated my Windows 10 to the anniversary edition which includes the .NET v4.6.2 Framework. When I try to load a project targeting the v4.6.2 framework in Visual Studio 2015 with Update 3, VS tells me v4.6.2 is "not installed on this machine". When I try to download and install v4.6.2, the installer tells me v4.6.2 or higher is already installed on this machine. Anyone know how to resolve this?
You need to install the .NET 4.6.2 Developer pack.

The 'XamarinShellPackage' package did not load correctly

I have encountered the following error:
The 'XamarinShellPackage' package did not load correctly.
It happens when i start Visual Studio 2015 Community Update 3 Or Visual studio 15 Preview 4.
I even reinstalled windows 10 and it doesn't help.
As asked, pasting VS info:
Microsoft Visual Studio Enterprise 15 Preview 4
Version 15.0.25618.0 PREVIEW
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Enterprise
Visual Basic 15 Preview 4 00369-50000-00000-AA551
Visual C# 15 Preview 4 00369-50000-00000-AA551
ASP.NET and Web Tools 2016 15.0.20802.0
Common Azure Tools 1.8
JavaScript Language Service 2.0
JavaScript Project System 2.0
JavaScript UWP Project System 2.0
NuGet Package Manager 3.5.0
Parallel Debugger 1.0
SQL Server Data Tools 15.1.60805.0
TypeScript 2.0.1.0
Visual Studio Tools for Apache Cordova Update 10
Visual Studio Tools for Universal Windows Apps 15.0.25618.00
Xamarin 4.1.1.8 (60e5c00)
Xamarin.Android 6.1.1.1 (7db2aac)
Xamarin.iOS 9.8.1.4 (3cf8aae)
The tooling in the version information here is a little out of date. The solution in this case was to perform a thorough uninstall of Xamarin in Windows and reinstall using the latest available Stable release. I linked #Dorad to the direct download, but you can find this by signing into Xamarin.com, navigating to the Downloads page and selecting the download from the relevant drop-down list for your OS / desired Xamarin platform:
Another quick thing people can try that worked for me was deleting the .vs folder from the root of the solution folder. Make sure VS is closed when you do it.
There is a potential workaround you may want to try while we finish up a fix for this.
Please, close all open VS instance and copy this file (note you may need to adjust the path to your specific VS instance):
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\netstandard.dll"
to the Xamarin extension folder:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio
And then open VS and check if you can still repro.
thanks,
I had the same problem after the latest VS2017 update..I resolved uninstalling an extension (Visual Studio Bitbucket plugin) which - apparently - was in conflict with XamarinShellPackage. Removing the extension and restarting VS did the trick for me.

VS 2015 Community Installation Fails

I tried to install VS 2015 Community (free) on two different computers (both Windows 7 Professional). And the installation fails on both. The error message says:
Microsoft .NET Framework 4.6.1 Developer Pack.
Incorrect function
You probably need to install
Microsoft .NET Framework 4.6.1 Developer Pack first
Can be found here and hit download button compatible with the latest windows 10 system
https://www.microsoft.com/en-us/download/details.aspx?id=49978
Then try and re install VS 2015 Community it should work
As had this problem before when I installed 2013 but putting the .net framework on before cured it and VS 2013 installed with no problems

Can't install silverlight 4 tools on Visual Studio 2010 SP1

I'm blocked by the requirements even though I fulfill everyone. I had almost the same issue as the referenced here:
Cannot install silverlight 4 tools on visual studio 2010 sp1
The difference is that the solution did not work for me and I already did have Visual Web Developer installed.
I tried a complete re-install of VS 2010 and then installed SP1 which should have installed Silverlight4_Tools for me but references to System.Windows.Controls.Input.Toolkit did not work and nothing was added under "...Microsoft SDKs\Silverlight\v4.0". All I see when I look at all the .Net references available are the SL4 library references. For instance, I see "..\Client\System.Windows.Controls.Input.dll" but not "..\Client\System.Windows.Controls.Input.Toolkit.dll" and everything is labeled as version 2.0.5.0 with Runtime V2.0.50727 - which is a .Net 2 framework version and seems strange. The .Web project shows .Net 4 framework on project properties and the SL project show Silverlight 4 (in case anyone is wondering).
Any suggestions of what to try?
It is an old question, but it just happened to me although I had installed the Visual Web Devoleper feature.
I had to uninstall SP1 first, and also uninstall Silverlight 4 Tools, if you don't uninstall the Tools, the new installation silently fails (better if you uninstall everything related to Silverlight 4).
Then install SP1 again, and every piece of software that goes on SP1 (as for example, Async CTP).
Hope it helps
Microsoft Silverlight 4 Tools for Visual Studio 2010 is included in Visual Studio 2010 SP1
http://social.msdn.microsoft.com/Forums/en/vssetup/thread/326e7368-d071-4588-bba8-8591be3c9e39
http://support.microsoft.com/kb/983509

Resources