ASP.NET Web.config transformation won't work in installer

前端 未结 3 1689
耶瑟儿~
耶瑟儿~ 2021-02-15 00:22

I am working on an ASP.NET project in Visual Studio .NET 2010 and attempting to make an MSI installer using a Web Setup Project. I added the Primary output from the project (wh

3条回答
  •  耶瑟儿~
    2021-02-15 01:21

    You have to make a deployment project (I think this is a separate download), then your Web Setup project take the precompiled output of the deployment project as it input. One neat thing is that you can have it change a section of your Web.config when it builds.

提交回复
热议问题