Generate EXE File from C# Project in Visual Studio 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • Generate EXE File from C# Project inside Visual Studio 2022
    An EXE file contains an executable program for Windows. EXE is short for "executable," and it is the standard file extension used by Windows programs. For many Windows users, EXE files are synonymous with Windows programs, making ".exe" one of the most recognizable file extensions.
    By deploying an application, service, or component, you distribute it for installation on other computers, devices, or servers, or in the cloud. You choose the appropriate method in Visual Studio for the type of deployment that you need. (Many app types support other deployment tools, such as command-line deployment or NuGet, that aren't described here.
    You can use the Publish Wizard to set the basic settings for publishing your application. This includes the following publishing properties:
    Publishing Folder Location - where Visual Studio will copy the files (local computer, network file share, FTP server, or Web site)
    Installation Folder Location - where end users will install from (network file share, FTP server, Web site, CD/DVD)
    Online or Offline availability - if end users can access the application with or without a network connection

ความคิดเห็น • 24

  • @Draconicrose
    @Draconicrose ปีที่แล้ว +26

    3:00 For steps if you already have a project ready.

    • @Wilson-AM
      @Wilson-AM 2 หลายเดือนก่อน +1

      thx

  • @swiftypopty1102
    @swiftypopty1102 5 หลายเดือนก่อน +2

    Is there a way to get dependencies like dll or other required exe to be on another folder? I created an benchmark app focusing on CPU Timer Resolution.

    • @alexseconds9204
      @alexseconds9204 4 หลายเดือนก่อน

      Have the same problem

    • @hacked101
      @hacked101  4 หลายเดือนก่อน

      Don't really get your question but I'm sure you can

  • @robwin0072
    @robwin0072 ปีที่แล้ว +3

    Good day! I'd want to ask you a question about your video. Your code output "Hello World" on a black screen when you run the EXE. What would C# require if I wanted to create a software for production that included a beautiful background? Since the application is meant for our business, I want to integrate company colors, logos, photos, and other visual elements.
    Instead of making the most of current monitors' rich colors, pictures, and embellishments, the black background makes me think of outdated CRT monitors. I'm interested in learning more about the precise C# capabilities and instructions that give total control over the display's design.
    Thanks for your assistance in advance!

    • @hacked101
      @hacked101  ปีที่แล้ว +2

      You can use wpf

    • @robwin0072
      @robwin0072 ปีที่แล้ว +1

      @@hacked101 what are the letters representing - so I can research it?

    • @hacked101
      @hacked101  ปีที่แล้ว +2

      @robwin007 windows presentation foundation

    • @robwin0072
      @robwin0072 ปีที่แล้ว +1

      @@hacked101 can you plan a video on this concept, please - it doesn't have to be a long video - just a basic, {How to}. I will subscribe and hit the notification bell - and wait 😀😀😀

  • @halo9official
    @halo9official ปีที่แล้ว +1

    thank you so much😄🥳

    • @hacked101
      @hacked101  ปีที่แล้ว

      You are welcome

  • @nkkounmany3902
    @nkkounmany3902 9 หลายเดือนก่อน +1

    How to do exe with report like rdlc or crystal reports

  • @SnapByteSpectrum
    @SnapByteSpectrum ปีที่แล้ว +1

    I have make application in desktop application which is Point of sales i have made its database in SQL express and now i want this database in as a local db and i also want to learn how i will create its exe file and install it to the client pc please make a video on this 🙏🙏 🙏

    • @hacked101
      @hacked101  ปีที่แล้ว

      Will look into that shortly thanks

  • @krzychoo7373
    @krzychoo7373 10 หลายเดือนก่อน

    I have a problem. I hope you can help me solve it. Namely: In Visual Studio I write the simplest adding program in the Console, everything is fine, it does not show any errors. As soon as I publish it and try to run the program correctly, it asks me for the first number and then for the second, and when it is supposed to perform the calculation, it hangs and minimizes itself. This is the case with all my console programs that I write. After publication, whenever they are about to perform any operation, they hang. I tried to find the cause and I can't find anything. I sent the codes to my friend to run them on his own, and they don't work for him either, even though they show absolutely no errors. Do you know what could be wrong? Maybe I'm missing something from Visual Studio add-ons

    • @hacked101
      @hacked101  10 หลายเดือนก่อน

      For more help, please sign up for channel membership thanks

  • @KhaliedooN
    @KhaliedooN ปีที่แล้ว +2

    مشكور❤❤

    • @hacked101
      @hacked101  ปีที่แล้ว +2

      You are welcome

  • @privilegeddeviance7280
    @privilegeddeviance7280 ปีที่แล้ว

    Thanks 🎉

    • @hacked101
      @hacked101  ปีที่แล้ว

      You are welcome

  • @eckavh100
    @eckavh100 6 หลายเดือนก่อน

    I need help. No matter what I try, there's never any build option in my Visual Studio!

    • @hacked101
      @hacked101  5 หลายเดือนก่อน +1

      Make sure you have installed all the necessary components

    • @eckavh100
      @eckavh100 5 หลายเดือนก่อน

      @@hacked101I solved it eventually, I just switched from .net 8.0 to 6.0