setup project for core 5 application (iis)

Sławomir Piotrowski 1 Reputation point

When developing our new web application we have jumped from 4.7 to core 5.0.
Application was pretty easy to develop, but unfortunatelly we have problems creating setup project for it.

We used to use setup extenstions for Visual Studio, but unfortunatelly it looks like there are problems with core 5:
In setup project's properties there is 'ASPNETVersion' option that used to tell the installer how to configure IIS. Unfortunatelly there is no 5.x option available there.

Are there any examples of how to create setup project for core 5 application?

A set of technologies in the .NET Framework for building web applications and XML web services.
4,024 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sławomir Piotrowski 1 Reputation point

    Sorry for the misleading question. I was fooled by strange errors shown during installation. It looks like I'm required to install .NET 4.7 on target system too, even if I'm only using .NET Core 5. Without .NET 4.7 (and ASP.NET) installer fails.

    Now I only need to find out why there are problems in generated config files.
    For example web.config contains something like that:
    <aspNetCore processPath="bin\Debug\net5.0\executedblename.exe".....
    Unfortunatelly executable is placed in the same folder as web.config so file can't obviously be found.

    Strictly speaking this is not related to creating setup, as the same folder is visible in the folder where my applicaiton is published before creating setup.

    0 comments No comments