Getting AddressAlreadyInUseException after upgrading to .NET 4.5

后端 未结 2 1548
Happy的楠姐
Happy的楠姐 2021-01-02 23:53

I recently installed the new .NET Framework 4.5 (previously was 4.0 installed) on my Server and I´m getting a System.ServiceModel.AddressAlreadyInUseException w

2条回答
  •  孤街浪徒
    2021-01-03 00:38

    When you host a WCF service in a console application you need to copy the App.config file from the WCF project to the console app and then delete the App.config file from the WCF project,if you don't you can also get the above error.

提交回复
热议问题