Hi,
I did a Library which use NetFwTypeLib to setup Windows Firewall. It works successfully for month.
I just upgrade the solution included this Library from Visual Studio 2015 to Visual Studio 2017.
Now, I cannot no more compile without warning and errors. The library raises warning:
At least one of the arguments for 'NETCONLib.INetConnection.GetProperties' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
and all projects using this Library no more found the library's reference this error:
Impossible to resolve primary reference "...dll", because it had an indirect dependancy on assembly mscorlib , Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 which version is greater than vers ion 2.0.0.0 of the actual Framework
The error only raises on debug mode, into release mode only the warning raises:
thanx for you help