Can't open .kproj projects in VS .NET 2013 Update 4? - asp.net

I cloned an ASP.NET vNext project from github and I'm running VS .NET 2013. I was under the impression that Update 4 would allow me to open vNext projects with .kproj files, but I'm getting the following message:
Unsupported This version of Visual Studio is unable to open the
following projects. The project types may not be installed or this
version of Visual Studio may not support them.
Is there something else I need to do in .NET 2013 to open a .kproj project? I'd like to avoid 2015 if I can help it.

ASP.NET vNext is only supported in VS 2015.
You cannot open kproj files in a previous version

Related

TFS 2017 Deploy ASP .NET Core

We are on TFS 2017 initial release (on premise install). I am looking to see how I can build ASP .NET Core 2.0 apps using TFS 2017 Build / Release. Right now our standard builds uses Visual Studio builds and we have visual studio 2015 installed on our build server.
When I am attempting to build ASP .NET core 2 MVC app, using Visual Studio build, the build is failing with an error message :
Trunk\xxxxxx.csproj (1, 1)
Trunk\xxxxxx.csproj(1,1): Error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Can I ask what is the recommended approach to building / deploying .NET core 2.0 projects using TFS 2017?
Install VS 2017 on the build server? We already have VS 2015 installed on the build server. Can VS 2015 and VS2017 live side by side on the build server and will the VS build step pick up 2017?
Visual Studio Builld
Or should we be installing .NET core 2.0 SDK on the build server and then use command line utility as a part of the build step.
Or should we switiching to MSBUILD instead of VS studio build and installing just the MSBuild for VS 2017 on the builld server.
1.You could install VS2017 on the build server. VS2017 and VS2015 could live side by side on either a build server or a develop machine. You just need to select which version you will use in visual studio version picklist. However VS2017 option is not support on the build-in Visual Studio Build task on TFS2017. It's not related to VS2017 installed on the build server or not.
2.You need to install .NET CORE 2.0 SDK on the build server, otherwise will get a similar error as below:
error : The version of Microsoft.NET.Sdk used by this project is
insufficient to support references to libraries targeting .NET
Standard 1.5 or higher. Please install version 2.0 or higher of the
.NET Core SDK.
Highly recommend you to keep the build server environment as same as local develop machine, this will narrow down the build issue on TFS.
3.No you don't have to. Just follow the process in this tutorial-- Build your ASP.NET Core app
Suggest you update your TFS 2017 initial release to the latest version TFS2017 update2. This will include VS2017 in the picklist of vs version. And since .NetCore 2.0 released in May 2017 which is later then the initial TFS2017(November 2016), not sure if it's supported or have any other issues. However, one thing is certain: you could build .NET Core 2.0 apps in TFS2017update2 successfully. Moreover, there are many new features released with update2 version, there is no reason to stay on the initial TFS2017.

How to Open .NET Core CLI Project in Visual Studio 2017

For one of my classes this semester, I am required to use .NET Core 1.1 and version 1.0.0-preview2-003177 of the CLI tools. How can I open such a project in Visual Studio 2017? I have found solutions that work for 1.0.0-preview4-004233, but I am not allowed to upgrade my project to the newer version due to my professor's requirements.

I am not able to find the ASP.net Web Application template in Visual Studio Enterprise 2015

I recently installed Visual Studio 2015 Enterprise Edition. I was not able to find the ASP.net Web Application template in it.
I have already tried the following
Repair the setup.
Modify setup and uncheck and check Microsoft Web Developer Tools option.
Install Visual Studio 2015 Extension for ASP.NET Project Templates as outlined here. http://blogs.msdn.com/b/webdev/archive/2015/02/08/some-of-asp-net-project-templates-in-vs-2015-are-available-on-vs-gallery.aspx
Clean up registry keys, delete all setup files and clean installation.
What can I do to get the OneASP.net template to develop MVC and WebAPI applications.
please refer the above steps to check if you can create a MVC project in Visual Studio 2015 Enterprise Edition.
If you still could not see the MVC project template in Visual Studio 2015 Enterprise Edition, I suggest you could try to delete ItemTemplatesCache, ProjectTemplatesCache folder and then run the the devenv /InstallVSTemplates switch and devenv /Setup switch. Please refer to the following MSDN document and then check this MVC project template issue.
Reference: https://msdn.microsoft.com/en-us/library/ms241279.aspx?f=255&MSPPError=-2147217396
https://msdn.microsoft.com/en-us/library/ex6a2fad.aspx

MVC 5 -> MVC 5.1 Migration. Intellisense issues

I just updated my project to MVC 5.1 from MVC 5. The main web.config file got updated automatically, but web.configs under main View and Areas folders weren't changed. I suspect that's why now I lost both intellisense and resharper support for my actions, controllers and areas.
Does anyone know correct web.config content for MVC 5.1 Views? Just replacing 3.0.0.0 to 3.1.0.0 and 5.0.0.0 -> 5.1.0.0 did not solve the issue.
It happens in both Visual Studio 2012 and 2013 Professional.
Found a solution from this MS article:
MVC 5.1 Tooling Support and Razor IntelliSense are Still Broken Even
After Installing VS2013 Update 1 RC
Known issue:
If a VS2013 user installed “Microsoft ASP.NET and Web Tools 2013.1 for
Visual Studio 2013” before they install VS2013 Update 1 RC, they won’t
be able to get MVC 5.1 tooling support that comes with VS2013 Update 1
RC.
Symptom:
MVC 5.1 tooling support and Razor IntelliSense are still broken even
after installing VS2013 Update 1 RC.
Workaround:
From "Add/Remove Program", uninstall "Microsoft ASP.NET and Web
Tools 2013.1 for Visual Studio 2013"
Repair VS2013 RTM
Install VS2013 update 1 RC if you have not yet installed it. If you have
already installed this, you don’t need to reinstall or repair it.
From Web PI, reinstall Microsoft ASP.NET and Web Tools 2013.1 for
Visual Studio 2013 or repair Azure SDK 2.2.
Update NuGet Packages
Steps:
Select TOOLS –> NuGet Package Manager –> Package Manager Console. This opens the Package Manager Console pane.
In command prompt, type Update-Package and press Enter.
This command will update the MVC files and activate the intellisense again.
Well if you update to ASP.NET MVC 5.1 RTM without updating Visual Studio 2013, you will not get Visual Studio editor support for syntax highlighting while editing the Razor views. You will need to update Visual Studio 2013 to get this support.
So it is not directly connected with IntelliSense or Resharper. But anyway I would try to update VS13 to VS13 Update 1
Update NuGet Packages in Package Manager Console.
Verify the current version of System.web.MVC and update it in the Views/Web.config file and also verify the version in Web.config of Root folder.

Project template missing in Visual Studio 2010

Today in one of the computer i installed visual studio 2010 professional edition, and successfully installed. But in my new project template "Asp.net MVC 2 website" is missing. Also I'm not able to open an already created MVC 2 project also. I'm also having MVC 2 installed with VS 2008 Sp1 in the same machine and is working fine. I uninstalled and installed again, the same is happening. Please help me out of this..
Have you tried downloading MVC 2 RTM separately following the Visual Studio 2010 install? Download here
Alternatively, did you have any of the betas or previews of MVC2 installed prior to installing Visual Studio 2010? You'll need to uninstall these.
When installing or modifying the installation of Visual Studio 2010 ensure you have 'Visual Web Developer' ticked. (see image below). If you just install C# you will not get MVC 2.
Are you creating a new website or project? I just did a fresh install of Professional and MVC 2 is only available under projects.

Resources