We’ve just released NServiceBus 6.4.2, 6.3.8, and 6.2.8.
- #5047 Installing .NET Framework 4.7.1 can cause an endpoint to fail to start
How to know if you are affected
You are affected if you upgrade your .NET Framework installation to version 4.7.1 (this is also part of the Windows 10 Fall Creators Update) and your application is referencing assemblies targeting .NET Standard 2.0.
The endpoint fails to start with the following Exception:
Unhandled Exception: System.Exception: Could not load '<app-path>\netstandard.dll'. Consider excluding that assembly from the scanning. ---> System.IO.FileLoadException: API restriction: The assembly 'file:///<app-path>\netstandard.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
Should you upgrade immediately
You should upgrade immediately if your application targets .NET Framework 4.6.1 through 4.7 and you have a netstandard.dll in your application output.
Where to get it
You can download the updated version and see the full release notes here:
- 6.4.2: https://github.com/Particular/NServiceBus/releases/tag/6.4.2
- 6.3.8: https://github.com/Particular/NServiceBus/releases/tag/6.3.8
- 6.2.8: https://github.com/Particular/NServiceBus/releases/tag/6.2.8
The team in Particular
Please read our release policy for more details.