brett-ec
Posts: 4
Joined: Thu Apr 13, 2023 7:36 pm

.NET C# - Debug/Release builds

I tried to research this but haven't found what I need. Is there a feature or a best practice on how to have a separate build for debug and release? I have tried using separate builds in the package definition, but I haven't figured out how to have each build have a different set of files.

For the meantime, I'm going to just create 2 separate projects, but I was thinking there must be a better way.
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: .NET C# - Debug/Release builds

Hello Brett,

For this, you could use our Multiple Builds support:

Multiple Build Configurations

If you'd like to have separate projects and if your projects are quite similar, you could use the "Save as Template" option and then start your second project from the previously created one.

You could have the "Application Folder" synchronized with the "Debug" and respectively "Release" folders so they are updated each time new files are added in the respective builds.

Working with Synchronized Folders

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”