Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, May 26, 2020 2:45 PM
Hi,
I have a .NET Core Console application that I want to deploy to various computers. I used to be able to add a Setup Project to my solution to deploy my app. But now I can't find it in Visual Studio 2019 Professional.
How do I create a deployment project for my console app? My console app consists of 2 projects: Machine Learning Model and the Prediction project. When I just copy the resulting executable, it doesn't execute the part where it asks for user input. So, I figured, I need to create a Setup Project. But I can't find that feature in VS 2019.
Appreciate any suggestions/help.
Marilyn Gambone
All replies (8)
Thursday, May 28, 2020 8:36 AM ✅Answered
Hi Marilyn,
Welcome to MSDN forum.
>> I still can’t find “Setup” project type in VS 2019.
## Can you find the “Microsoft Visual Studio Installer Projects” extension from Extensions > Manage Extensions > Installed?
## If this extension exists, please try to uninstall it and reinstall it again to check if the “Setup” project can be found and created. (I suggest you update this extension to the latest version if it installed well)
## If you can’t find this extension, please check again under “Online” tag(Extensions > Manage Extensions > Online) and try to install “Microsoft Visual Studio Installer Projects”.
>> Is there other alternative way?
## Maybe, you can check this thread: Embedding DLLs in a compiled executable.
Feel free to contact me if you have any update.
Best Regards,
Tianyu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Thursday, May 28, 2020 11:22 AM ✅Answered
There are many alternatives (use your search engine), but fundamentally the "Microsoft Visual Studio Installer Project" still works fine. Why you're not seeing its projects as an option I don't know.
Check that you can see it listed as "Microsoft Visual Studio Installer Project" using Extensions, Manage Extensions, under the Installed items. If it's not listed there, select the Online item and type "installer" in the search filter field to find it.
Tuesday, May 26, 2020 4:18 PM
Hi Marilyn,
I suspect you need to instal the "Microsoft Visual Studio Installer Project" using the Extensions, manage Extensions.
Wednesday, May 27, 2020 12:28 PM
Hi,
VS Installer is already installed. VS2019 doesn't have "Setup" as project type.
Marilyn Gambone
Wednesday, May 27, 2020 3:50 PM
If you've installed the extension and its OK, you should be able to find a "Setup Project" in the new project templates.
Wednesday, May 27, 2020 5:26 PM
I still can't find "Setup" project type in VS 2019.
I just need to create a STAND-ALONE executable file. Is there other alternative way?
Marilyn Gambone
Thursday, May 28, 2020 3:03 PM
Thanks for the answer.
Marilyn Gambone
Thursday, May 28, 2020 3:03 PM
Thanks. This works.
Marilyn Gambone