Prevent web.config transformation
kade
11
Reputation points
Hello, I am trying to prevent web.config transformation on one of the projects that I am working on it. According to the documentation, I should the argument /p:IsWebConfigTransformDisabled=true with dotnet publish command.
After deploying the app with this argument, I did not see any difference and I don't know if it is working or not.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\Xproject.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="OutOfProcess" />
</system.webServer>
</location>
</configuration>
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | ASP.NET | ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | .NET Runtime
.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
Sign in to answer