Git切换分支出现提示'SSL端口:44301'及解决方案

时间:2023-03-09 22:46:56
Git切换分支出现提示'SSL端口:44301'及解决方案

切换分支出现如下提示,并且自动签出了项目文件csproj。

Git切换分支出现提示'SSL端口:44301'及解决方案

修改项目文件csproj

修改前:

<UseIISExpress>true</UseIISExpress>

<IISExpressSSLPort />

<IISExpressAnonymousAuthentication />

<IISExpressWindowsAuthentication />

<IISExpressUseClassicPipelineMode />

修改后:

<UseIISExpress>true</UseIISExpress>

<IISExpressSSLPort>44301</IISExpressSSLPort>

<IISExpressAnonymousAuthentication>enabled</IISExpressAnonymousAuthentication>

<IISExpressWindowsAuthentication>disabled</IISExpressWindowsAuthentication>

<IISExpressUseClassicPipelineMode>false</IISExpressUseClassicPipelineMode>