You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.NotSupportedException: BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information. at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) at Nuke.Common.Tooling.SettingsEntityExtensions.NewInstance[T](T settingsEntity) in /_/source/Nuke.Common/Tooling/SettingsEntity.NewInstance.cs:line 22
The issue is that starting with net 8 the legacy serialization infrastructure APIs are marked obsolete: dotnet/docs#34893
Usage Information
Nuke.Common 6.3.0
Description
Trying to execute with net 8.0 fails with:
System.NotSupportedException: BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information. at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) at Nuke.Common.Tooling.SettingsEntityExtensions.NewInstance[T](T settingsEntity) in /_/source/Nuke.Common/Tooling/SettingsEntity.NewInstance.cs:line 22
The issue is that starting with net 8 the legacy serialization infrastructure APIs are marked obsolete:
dotnet/docs#34893
Any suggestions or workaround?
Reproduction Steps
Pipeline run example here: RicoSuter/NSwag#4502
Expected Behavior
Works with net 8
Actual Behavior
Regression?
No response
Known Workarounds
No response
Could you help with a pull-request?
No
The text was updated successfully, but these errors were encountered: