Comments (9)
Indeed, and causes also strange redirection bindings...
from asyncio.
I ran into the same issue too.
When upgrading from 1.25.0 to 1.40.0, it automatically added an assembly binding redirect into app.config:
<bindingRedirect oldVersion="0.0.0.0-0.0.0.0" newVersion="0.0.0.0" />
When I ran the project, it threw an exception:
An unhandled exception of type 'System.IO.FileLoadException' occurred in NetMQ.dll
Additional information: Could not load file or assembly 'AsyncIO, Version=0.1.25.0, Culture=neutral, PublicKeyToken=44a94435bd6f33f8' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
To fix ,I had to manually adjust the binding redirect, so all versions are redirected to version 0.0.0.0:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="AsyncIO" publicKeyToken="44a94435bd6f33f8" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.1.40.0" newVersion="0.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
from asyncio.
Currently, I cannot upgrade NetMQ.ReactiveExtensions to use AsyncIO v1.40. The problem is that the default assembly language binding redirect that Visual Studio adds to app.config is:
<bindingRedirect oldVersion="0.0.0.0-0.0.0.0" newVersion="0.0.0.0" />
... which has to be hand-edited to this, or else it will throw an exception on startup:
<bindingRedirect oldVersion="0.0.0.0-0.1.40.0" newVersion="0.0.0.0" />
from asyncio.
@sharpe5 can you send a pull request?
from asyncio.
from asyncio.
Created a pull request, please let me know if anything needs changing.
This was a really good exercise for me. I will copy the structure of your project when I upgrade NetMQ.ReactiveExtensions to the newer .csproj file format.
Thank you again for your excellent work!
from asyncio.
Any update on this work. I'm running into the same problem.
from asyncio.
Same problem today, May 2018. Although github appears to be at version 0.1.42, nuget delivers 0.1.40 and it's internal version number is still 0.0.0.0.
In the end, I downloaded the source. Noticed a few "obsolete" warnings upon compilation
from asyncio.
Deploying the latest version 0.1.42.0 to NuGet would fix the issue, as this issue was fixed in pull request #22.
from asyncio.
Related Issues (20)
- Assembly for released version 1.26.0 is marked as 1.25.0 HOT 2
- AccessViolationException in AsyncIO HOT 24
- Build problems HOT 2
- How to disconnect the client or server? HOT 8
- Concurrent Send Operations Result in SocketError 996 HOT 33
- Possible memory leak? HOT 1
- How to set a Send timeout? HOT 1
- Is it meaningful to build an async UDP socket?
- Assembly for NuGet package 0.1.60 has file version 0.1.42 HOT 1
- Could it be a potential issue of AsyncSocket? HOT 11
- Extract m_acceptSocket and related fields from AsyncSocket HOT 4
- New nuget release HOT 3
- Source Code for 0.1.69.0 produces AsyncIO.dll 0.1.42.0 HOT 3
- AsyncIO may have a memory leak problem HOT 9
- AccessViolationException: Attempted to read or write protected memory HOT 2
- GetQueuedCompletionStatusEx does not return HOT 3
- PlatformNotSupportedException on Linux HOT 2
- SocketException when creating one of the NetMQ Sockets on Windows with Mono HOT 2
- Exception when connecting UDP sockets HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncio.