how to add publish and deployment in a new project window - c#

I wish you to be able to help me with this small issue :) please look at below pictures. I don't have publish and deployment in the new project (Visual Studio 2012). how to solve this problem? any idea? i will appreciate your advice!! I need to create a installer setup for my WPF application.
Publish and deployment image:
My problem here:

Microsoft removed the support for setup applications in Visual Studio 2012 (yeah I know it sucks !)
You can use Visual Studio 2010 to create your setup project, ClickOnce Deployment or a third-party setup program like Inno Setup.

vdproj Setup Project support has been removed in VS2012.
Consider WiX as alternative.
WiX also compiles without installing VS 2012 Professional, although you cannot open WiX project in VS 2012 Express.

Related

Visual Studio Setup Project Prerequisites are not installing

I hope you all are well!
Visual Studio 2017 -
WIN-FORM -
C#
I added a Setup Project to my app.
I also selected as prerequisites SQL Server 2019 Express LocalDB:
The installer installs the app just fine but does not install the prerequisites SQL Server 2019 Express LocalDB. There are no popup error messages displayed or any in the Event Viewer.
If I download SqlLocalDB, I install it just fine and my app works. But I would like to have it install during the setup installation if it is needed (auto detect).
I tried on various computers and it also doesn't install SqlLocalDB.
I cannot find anything on the Internet that would explain why setup is not installing the prerequisites.
Any suggestion is appreciated.
Regards,
Setup projects are no more supported starting from VS 2019. So if it's a new project - you might want to try WiX toolset project. There you can add checking of prerequisites to be installed on the MSI level, or you can create your Bootstrapper bundle, which will contain installation for both SQL Server and your own app
The issue was that I was using the .MSI instead of the .EXE file to install the app. Using the .EXE did in indeed prompt the user to installSqlLocalDB.
Solution here:

Create simple setup.exe

I have found loads of refernces to creating a simple setup.exe file in VS by doing the new project - setup wizzard but there is only Enable InstallShield Limited Edition.
I can't install the following for VS 2015, it thinks VS is not installed:
https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
Any advise? I don't want all of the folders and files that come with publishing my application, only setup.exe
Thanks
No other option available for my needs.
Had to uninstall VS 2015 and install VS 2013 to be able to use InstallSheild.
Follow these instructions provided by #Ken White
Creating a setup.exe in InstallShield in Visual Studio

Cant find Visual Studio Installer Projects on Visual Studio 2013

After finishing my C# application I had to make an installer. After seeing that the default installer projects are gone, i searched for a replacement.
I found the Visual Studio Installer Projects. I downloaded the file from here: https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d.
When i restarted Visual Studio, opened my project, clicked "add new project" and here is what I got:
Problem is that I cant find the setup project. I have tried repairing the install. I restarted Visual Studio several times.
My Question:
How can I find the installer project and why it's not working for me.
If I cant make it work, are there any alternatives ? (except InstallShield)
Additional info:
Visual Studio 2013 Community with update 4
Windows 8.1 64-bit
You could try Tools > Extensions and Updates and search for it:
Visual Studio setup projects no longer ship with Visual Studio
However, you can download them here.
Or use a third party library like WiX.
I had the same problem and it turns out that visual studio removed the support for installer projects in 2010.
but still you can download and install it in your version
VS2013
VS2015
VS2017

Application Deployment in VS 2013 express

I am trying to deploy my C# windows forms application using Visual Studio 2013 Express. I have followed the guide on http://msdn.microsoft.com/en-us/library/vstudio/wtzawcsz.aspx but when I try to create a new deployment project, the option to choose it is not there. Is there an additional package I need to download perhaps? I'm not sure how to deploy it if I can't create a new deployment project.
Any help would be appreciated. Thanks
SOLUTION:
I guess I didn't have the correct add-ins installed. However, I was able to use a quick & easy tool to publish my application. I simply right-clicked on my solution in the solution explorer, and then clicked publish, and followed all the steps in the wizard.

Can not open mvc4 project in visual studio 2012?

i'm newbie for mvc4 this is my first project (web app)
i get source project from my friends. they work normally.
when i open project VS2012 and then alert
Unsupported This version of Visual Studio does not have the following
project types installed or does not support them. You can still open
these projects in the version of Visual Studio in which they were
originally created.
- B2B.Web, "D:\ServiceClone\ServiceClone-1706\B2B.Web\B2B.Web.csproj"
and in solution explorer i can not load a project. at the project name it says incompatible
How resolve?
PS. I searched in google but I have not find a work solution. Sorry I'm not good at English :P
You need to install MVC4 on that machine first.
To download MVC4 set up Click here.
Did you try to open it in visual studio 2010?
and also try to Uninstall you Visual studio 2012 completely (save your projects if you want to). Then do a clean installation of Visual studio 2012.

Categories