Could not load file or assembly Microsoft.VisualStudio.Web.AzureAD.Contracts - asp.net-mvc

Was trying to follow the tutorial of MVC in ASP.NET site Creating an Entity Framework Data Model for an ASP.NET MVC Application, using Visual Studio Express for Web 2013, here is an image of the version:
and just at the beginning I got this error when trying to select No Authentication:
How to solve this?

You're going to need to install Windows Azure SDK for .NET (VS 2013).
Go to http://www.windowsazure.com/en-us/downloads, and click the "VS 2013 Install" link under .NET.
This will open Microsoft's WPI (Web Platform Installer), which will take you through the steps needed to install it.

Related

Visual studio 2019 Blazor Client Side option is not visible

I updated vs 2019 to 16.0.1 after .net core 3 is released. But I cannot find all the options for blazor. I can just see the blazor server side option, but nothing else. Funny enough the template are visible in command line.
Blazor Server App ------ blazorserver
Blazor (hosted in ASP.NET server) ----- blazorhosted
Blazor Library ----- blazorlib
Blazor (Server-side in ASP.NET Core) ---- blazorserverside
Blazor (standalone) ----- blazor
But can't see the client-side option in visual studio. I had .net core 3-preview installed. Which I have uninstalled already just in case, but that didn't help. Anybody else faced this issue?
I had same issue with dotnet core 3.1.100 and visual studio of version 16.0.1
I was able to get this template by upgrading my visual studio to version 16.7.2 which comes with dotnet core 3.1.401 and Blazor WebAssembly App.
Upgrade your visual studio 2019 using the installer.
Must use Visual Studio Preview for now. If you add the project using command line or preview, you can open it in non-preview Visual Studio, however I wouldn't suggest it. Blazor client-side is in a state of flux, you are gonna want all the latest bits which will only be available in preview until official release. Use preview to add and edit Blazor wasm projects.
https://visualstudio.microsoft.com/vs/preview/

How correctly install EpiServer Commerce 7 on MVC Site?

I am trying to install EpiServer Commerce 7. Found this one guide Building EPiServer Templates with MVC Razor Part 1 Can some body explain this first step Create a New EPiServer Project in tutorial? I created new project in Visual Studio then in Development Center of EpiServer I created new site with SQL database, but it created site in another folder wwwroot. How can tie this two projects in one?
From the EPiServer Documentation (http://world.episerver.com/Documentation/Items/Installation-Instructions/Installing-EPiServer-updates/Installing-Commerce/):
Download and extract the installation files.
Run Setup.
Select the products you want to install.
In Extension Manager in Visual Studio, install EPiServer CMS extensions.
Create a site from VS using EPiServer Web Site, or from EPiServer Deployment Center.
In Extension Manager in VS, install NuGet Package Manager.
Add "http://nuget.episerver.com/feed/packages.svc/" as EPiServer source.
Install EPiServer.CMS.UI for CMS, and EPiServer.Commerce for Commerce.
Build your project.
Now EPIServer CMS 7.5 (8) has changed old way. You need to download Visual Studio extension. You can create empty or template projects and can do custom development on it. You can also add custom add-ons.
1- Download VS extension.
http://world.episerver.com/documentation/Items/Installation-Instructions/installing-episerver/
Direct link
https://visualstudiogallery.msdn.microsoft.com/4ad95160-e72f-4355-b53e-0994d2958d3e

ASP.NET MVC 4 Visual Studio 2010 project templates not present

I have downloaded and installed all of the prerequisites for using MVC 4 with VS2010. The VS2010 SP1 update, ASP.NET MVC 4 for VS2010, SSDT for VS2010, and LocalDB. When I go to create a new website in VS2010, there should be an "ASP.NET MVC 4 Web Application" template, but there is not. How can I get the templates so I can start a new MVC 4 website in Visual Studio 2010?
Have you tried reinstalling the templates. Follow these directions.
http://msdn.microsoft.com/en-us/library/vstudio/ms247116(v=vs.100).aspx
short answer, open up visual studio command prompt and type:
devenv /installvstemplates
That should restore all your templates.
Check if Project Templates are installed:
Manually search if you find the project template (it would be *.zip) inside %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Web\1033
If YES, please run devenv.exe /installvstemplates
If NO, then its guaranteed that the ProjectTemplates are not installed. You would have to reinstall to get the ProjectTemplates on your disk.
For the records:
All the installed project templates are available here: (this is the default path)
%ProgramFiles%\Microsoft Visual Studio
10.0\Common7\IDE\ProjectTemplates
This is where the File->New ->Project Dialog loads ProjectTemplates from, and is displayed in the Same Folder heirarchy convention.
You could add another path by updating
Tools -> Options -> Projects and Solutions -> General -> User Project
Template Location
On studio(devenv.exe) launch/loading it would try to create a ProjectTemplateCache on localappdata or %ProgramFiles% based on whether you are local user or admin.
The cache inside Programfiles are available here
%ProgramFiles%\Microsoft Visual Studio
10.0\Common7\IDE\ProjectTemplatesCache
This ProjectTemplateCache directory is Created (if doesnt exists) or Updated(if already exists) by running *devenv.exe /installvstemplates on cmd. This command is run during installation of Visual Studio. Ideally all other installers who ship project templates should run this command. But, sometimes this might fail due to access rights. So its is safe to run it again manually.
See this question
If you didn't install the Visual Web Developer component, the ASP.NET
project templates won't be fully installed. Naturally, because the
installer then thinks it doesn't need to put them there as ASP.NET is
a web development framework.
1) Install it as Administrator. right click on file and run it as Administrator.
2) Uninstall it and Install it as administrator again could solve your problem
If the install went through fine without errors/warnings/exceptions -
Try changing the .NET framework on the New Project window, make sure you are viewing .NET framework 4.0 templates.
PL
Repair MVC 4 installation. It will take care of project template installation
Same as me.
make sure register and activation vs2010 product.if vs not register and not type any key for activation vs You can not ins mvc4 for it.
Please register vs2010 and re-install mvc4.then you can see mvc4 when you create project.

how can I install mvc4

I have visual studio 2010 and mvc2 installed on my machine. Now I want to install mvc4. How can I do that..
I have tried to install mvc3 and mvc4. But both attempt are failed. Do I need to download and install anything than mvc3.setup and mvc4.setup?
Install ASP.NET MVC in Visual Studio first go to this link https://www.asp.net/mvc/mvc4?ocid=soc-n-at-loc--TI-TP&WT.mc_id=soc-n-at-loc--TI-TP and install which edition you are using like visual studio 2012 you will get MVC 4 for that edition good lucky
You could download the standalone installer from here: http://www.microsoft.com/en-us/download/details.aspx?id=30683
Make sure you have SP1 installed for your Visual Studio 2010 before running the MVC installer.
You don't need to have ASP.NET MVC 3 installed in order to install ASP.NET MVC 4. Also it will work side by side with ASP.NET MVC 1 and 2.
You could use this link http://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MVC4VS2010_Loc that you can find in http://www.asp.net/mvc/mvc4 and that will install it using web platform installer (it's easier).

ASP.NET MVC 2.0 does not install with visual studio 2010 professional?

Hi all I installed vs 2010 and it should have asp.net mvc 2.0 but it didnt install it. I tried installing it manually but it still does not show under the new projects tab..but it shows installed in control panel. I had vs2010 rc1 before and uninstalled it and it had mvc 2.0 but now for some reason i dont have it! ..Can anyone please help me out...
MVC is published standalone. ASP.NET 4.0 is bundled with VStudio 2010, but you'll need to either download MVC 2.0 or install it using the Web Platform Installer
You're right. Sorry, I had a small brain-fart there. If the projects aren't showing up in the New->Project Dialog, that doesn't neccesarily mean MVC isn't installed, It may just be installed Incorrectly.
Are the assemblies registered in the GAC, you should check this. Also check your VS2010 configuration to see where it's pointing for it's project templates, and verify the files aren't there.
Check that the AddIn DLL is where it should be:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Web.Mvc.2.0.dll

Resources