Comments (9)
We need to do some work to build this library for more targets in NuGet. For now, you can likely download the source and just add the project to your solution, it's pretty simple (no pun intended)...
from simpletcp.
Sure , thank you for your prompt reply. As of now i will add project ref.
from simpletcp.
Sure , thank you for your prompt reply. As of now i will add project ref.
from simpletcp.
@BrandonPotter Even with adding project source code into solution, I am not able to use SimpleTCP with my 3.5 based project as SimpleTCP is targeted to 4. I am getting following error -
Severity Code Description Project File Line Suppression State
Warning The primary reference "{path}\SimpleTCP\SimpleTCP\bin\Release\SimpleTCP.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "{path}\SimpleTCP\SimpleTCP\bin\Release\SimpleTCP.dll" or retarget your application to a framework version which contains "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Severity Code Description Project File Line Suppression State
Warning The referenced project 'SimpleTCP' is targeting a higher framework version (4.5) than this project’s current target framework version (3.5). This may lead to build failures if types from assemblies outside this project’s target framework are used by any project in the dependency chain.
Please let me know if there is any solution or a way i can use TCP Server in 3.5 .NET app.
Thanks.
from simpletcp.
Did you right click the SimpleTCP project and change the framework version to something that matches yours?
I don't think there's a whole lot in SimpleTCP that wouldn't work in 3.5.
from simpletcp.
Right click SimpleTCP > Properties, rather
from simpletcp.
@BrandonPotter I tried setting target f/w to 3.5 in your project but it's not compiling in that case. here is whole trace from compilation -
The type 'SimpleTCP.Message' cannot be used as type parameter 'TEventArgs' in the generic type or method 'EventHandler<TEventArgs>'. There is no implicit reference conversion from 'SimpleTCP.Message' to 'System.EventArgs'. SimpleTCP D:\SimpleTCP\SimpleTCP\SimpleTcpClient.cs
The type or namespace name 'Concurrent' does not exist in the namespace 'System.Collections' (are you missing an assembly reference?) SimpleTCP D:\Projects\Arkansas-Git\MOVE\SimpleTCP\SimpleTCP\SimpleTcpServer.cs
from simpletcp.
Issue is fixed by modifying some code compatible to 3.5. Thanks.
from simpletcp.
Did you right click the SimpleTCP project and change the framework version to something that matches yours?
I don't think there's a whole lot in SimpleTCP that wouldn't work in 3.5.
Right click SimpleTCP > Properties, rather
Hello Brandon Potter, Thanks for great work.
Well, it will seem paradoxal but for me, it works with a project targetting .NetCore 3.0 but it does not work with another project targetting .NetFramework 4.0. On one hand, if I use the one based on .NetCore 3.0, I can use TCP but no chart (like System.Windows.Controls.DataVisualization.Charting) on the other hand, if I use .NETFramework V4.0, I am allowed to use charts but no TCP functionality.
Right click on SimpleTCP > Properties? There is no such thing available in the NuGet window...
What am I missing?
Thank you again.
from simpletcp.
Related Issues (20)
- How to communicate with specific Connected Client
- How to send a message with tcp server to the tcp client in response? HOT 1
- Simpletcp.dll requirements and dependencies --> Missing file or other libray HOT 5
- strong-name related error HOT 3
- memory leak if dont use Delimiter
- creating multiple tcp client connection and sending message to a specific server
- Closing a tcp client without causing NullReferenceExeption in SimpleTCP.dll
- Problem with UWP app
- How can I send a "200" reply to a connected client?
- server.Start(ip, Convert.ToInt32(txtPort.Text)); Null error HOT 1
- strong name missing
- targeting a specific client with a message HOT 3
- How to send Ctrl+A to the client to start session HOT 2
- I need remove - \u0013 HOT 2
- Receber mensagem como cliente
- Why you are not suggesting this item use in Prod? HOT 1
- Is it possible add timeout to .Write() function
- error can't connect to com ip System.OutOfMemoryException
- server.Stop() not close established connections
- How to send message from arduino to Simple TCP server
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 simpletcp.