Is Visual Studio 11 beta missing the "Add Deployable Assemblies" menu option? - visual-studio-2012

In Visual Studio 2010 SP1, there is an option on the right-click menu on a web project to Add Deployable Assemblies. Phil Haack blogged about it here.
In Visual Studio 11 beta and Visual Studio 2012, this option appears to be missing. Thankfully, you can easily round trip solutions between VS 2010 and VS 11 so I could just open the solution in VS 2010 to add the MVC assemblies to the _bin_deployableAssemblies folder.
Is it just my installation thats broken or do I need to install anything else to get this working?

The Add Deployable Assemblies dialog was a feature that enabled you to deploy MVC or Web Pages projects. It was necessary because in older versions all the assemblies were installed into the GAC on your dev machine but you wouldn't necessarily know if that was the case on the server. Thus this tooling gesture that made your project bin-deployable.
Starting with MVC 3 Tools Update we are now using Nuget package references, which means that your project is automatically bin-deployable. Since the tooling gesture is no longer necessary it was removed from VS 11.

Related

How to enable Web Development feature in Visual Studio 2015?

I am trying to install Microsoft Azure SDK. I downloaded this version (2.9) of the SDK from here. And I am getting the following error in the picture.
I have Visual Studio 2013 and 2015 installed on my PC. Could it be some sort of compatibility issue. I read on some forum that it won't work if I have different versions of the Azure SDK installed on Visual Studio 2013 and 2015.
But I don't have the SDK installed on any of them. And I can't seem to find any Web Development Feature in the IDE either. Does anyone know how to resolve this?
Given the situation, the issue is most probably that the relevant modules for Web Development weren't installed when Visual Studio was installed. Those modules are not selected to be installed by default.
The solution is to simply re-run the setup and select "Modify".
On the list of modules, go to "Windows and Web Development".
You should get Microsoft Web Developer Tools in the list. Just select that and install. That should do the trick.
#alchemist is right but I had deleted the VS2015 installer long ago (right after installing). So I went to the Control Panel > Programs And Features > Microsoft Visual Studio 2015 Community with Updates > (right-click) > Change
This will bring up the visual studio installer. Click on Modify > Check Microsoft Web Developer Tools > Update.
*walks towards the camera in slow motion on an exploding background

Cant find File System, Registry icon in WIX setup project in Visual Studio

I installed WIX in my machine.
I followed the video of https://www.youtube.com/watch?v=CoFPyIbcqN8enter link description here
I can not find any way to add File Systems, no icon for it, no context menu entry on project.
I am using Visual Studio 2012.
That's the Add-In Express designer for WiX in the video. It's a paid for component.
Installing WiX on your system only adds project templates to Visual Studio. It's a free installer/packaging engine that uses XML (scripting) to build MSI's and etc and doesn't come with a designer.
WiX is quite a steep learning curve, if you want the editor then I suggest you check out the Package & Deployment add-in Microsoft re-introduced for VS2013, it's on VisualStudio Gallery. Brian Harry blogs about it here: http://blogs.msdn.com/b/bharry/archive/2014/04/18/creating-installers-with-visual-studio.aspx
Visual Studio 2013 has a free Community Edition that you can use. You add the Installer add-on:
https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
Then what you have is the same Visual Studio installer setup projects as you had in VS 2010.

Create a setup file in Visual Studio 2012

I have a windows form project and I want to create an installation package for this project. How can I create a setup file in Visual Studio 2012 ? My project is without data base.
How to create a Setup package using Visual Studio 2012.NET?
Microsoft released the Visual Studio Installer Project extension in April of this year, the catch is it's for VS2013, not VS2012.
http://blogs.msdn.com/b/visualstudio/archive/2014/04/17/visual-studio-installer-projects-extension.aspx
The 'lite' InstallShield option remains in VS if you need something with more flexibility.
Advanced Installer also has a free version that includes an extension for VS. This is a commercial tool but the extension is included in the free edition as I said, for more advanced features you need to purchase a Professional or higher licenses and edit the project direct from Advanced Installer GUI, not from VS. (but you can still use the project in the VS solution, so you get the MSI built at the end of your build process)
Visual Studio setup projects (vdproj) are not supplied with VS 2012
There are several solutions for you:
You could use InstallShield instead.
If you don't want or
can't use InstallShield for any reason, you could try WiX. This
toolset builds Windows installation packages from XML source code.
If you only use Windows Presentation Foundation (.xbap), Windows Forms (.exe), console application (.exe), or Office solution (.dll) you could look at ClickOnce. To use this you should right click on the project file in the solution explorer and select "Publish" from the pop-up menu.
Alternatively you can use previous version of Visual Studio (2010).

Set Up Visual Studio 2012 for Enterprise Portal Development

Is there any way to get VS2012 set up for Enterprise Portal developing?
I already installed the EP Dev Kit for VS2010 and am able to build and deploy EP UserControls, but how to achieve this in VS2012?
MSDN says you have to use VS2010
Have I overseen something? Anybody knows about a workaround or something?
The complete solution and all referenced projects are built in VS2012 so it would be nice if there wasn't any need to have VS2010 involved for a single UserControl for AX.
As you said yourself, MSDN says:
Microsoft Visual Studio 2010 is required to create or modify User
Controls for Enterprise Portal
The visual studio components for AX don't work with VS2012 so you are stuck with VS2010. I don't know of any way to make it work but even if it was a workaround I would not recommend it since Microsoft says otherwise. You will not get support and you wouldn't be sure if any problems you face are due to using VS2012.
From that same page, these are the ones that are supported:
Visual Studio 2010 Professional, Visual Studio 2010 Premium, and
Visual Studio 2010 Ultimate.
It's not convenient but not a problem since you can run VS2010 and VS2012 side by side.

Can't install "Web Developer Tools" on Visual Studio 2012 RC

In the Visual Studio 2012 RC, I can't install Web Developer Tools properly. None of my ASP .NET MVC project will load in VS2012, and I can't create new ones. The option for ASP .NET MVC projects is simply not there, as shown below.
Furthermore, I can't pick any other framework than the .NET Framework 4 and earlier. I can't seem to pick .NET 4.5, but that may be because it's just an addition to .NET 4.0. That I don't know.
I'm running Windows 8 Release Preview, which should have .NET 4.5 RC installed already, so that shouldn't be the problem. Furthermore, if I click "I want to download more .NET redistributables", I'm taken to a site which says that Visual Studio 2012 RC has that included already.
I can't seem to download MVC 4.5 and install it separately. This is because they claim that it's included already in VS2012 as well.
When I try to click "Modify installation" in my Visual Studio 2012 RC installer, I see the following.
What's interesting here is that "Web developer tools" is never checked. If I check it and click "Update" and reboot, it's unchecked again, and it seems as if this whole feature is missing. I suppose that's really the cause of the problem.
I tried reinstalling Visual Studio 2012 RC entirely by first removing it, then rebooting, and then re-installing it. Running a setup repair doesn't work either.
I have managed to find no other examples of such a problem so far anywhere.
Can you help me?
Edit 1
I just found another weird symptom. Whenever I want to make a "Windows Metro Style" application, it doesn't work either, coming up with this message.
Like I said before, this may indeed be because it's not detecting that I have .NET 4.5 installed already, but I'm not sure. All I know is that I can't pick .NET 4.5 from the frameworks list at all.
On the ISO, I extracted the packages/WPT folder. Inside are all of the installers for the Web tooling components. I uninstalled and then reinstalled everything that had vs11 in the name and it worked!

Resources