Starts in:
2 DAYS
4 HRS
46 MIN
30 SEC
Starts in:
2 D
4 H
46 M
30 S
Open Closed

Downloaded Account & Identity Source Code. My Blazor Server App Stopped Running. Could not load file or assembly 'Volo.Abp.Identity.Pro.Application.Contracts, Version=5.1.3.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definitio #2699


User avatar
0
otee@urvin.finance created

I've looked and confirmed all my packages are pointing to the downloaded source code.

The dll generated is version 1.0.0.0 because i downloaded the source code of Account & Identity. But for some reason the application is looking for 5.1.3.0.

I had to add binding redirect on the blazor server app web.config as below.

<runtime>
	<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
		<dependentAssembly>
			<assemblyIdentity name="Volo.Abp.Identity.Pro.Application.Contracts" culture="neutral" publicKeyToken="null"/>
			<bindingRedirect oldVersion="5.1.3.0" newVersion="1.0.0.0"/>
		</dependentAssembly>
	</assemblyBinding>
</runtime>

But still got same error.

[blazor_d19aee54-b]: System.IO.FileLoadException: Could not load file or assembly 'Volo.Abp.Identity.Pro.Application.Contracts, Version=5.1.3.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040) [blazor_d19aee54-b]: File name: 'Volo.Abp.Identity.Pro.Application.Contracts, Version=5.1.3.0, Culture=neutral, PublicKeyToken=null'

All other apps work as they should but the blazor server app doesn't work.

I've seen suggestions that says i should download some other project because something else might be referencing version 5.1.3.0. I don't even know which project is affecting so i don't know which project to download.


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can manually set the version to 5.1.4.0 of the module source code:

  • User Avatar
    0
    otee@urvin.finance created

    Thanks it's working now. I updated Volo.Abp.Identity.Pro.Application.Contracts with this version you specified for it to work.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06