Open linkdata opened 7 years ago
There is no reference to System.Diagnostics.TraceSource in the code.
Oh, there is. Found them.
However, the dependency can be removed by simply using System.Diagnostics.Debug.Trace
instead, which is already depended on.
@chrhol would that be a problem?
The point of this is to reduce the dependencies pulled in when depending on the Starcounter.ErrorCodes
package.
Also, the .NET Core framework reference can be lowered a lot. Probably at least to netstandard1.2
.
Remember to change the framework dependency in level0\src\sccoreerr\GetStarcounterErrorCodes\GetStarcounterErrorCodes.csproj
(branch issue/282
) to netstandard1.0
once this is done.
@chrhol would that be a problem?
Sounds good to me.
Also, the .NET Core framework reference can be lowered a lot. Probably at least to netstandard1.2.
If that would be the case then we would no longer need to build for multiple platforms, right? Since netstandard 1.2 is supported in .net 4.5.1.
If that would be the case then we would no longer need to build for multiple platforms, right? Since netstandard 1.2 is supported in .net 4.5.1.
I don't know. We'll have to test. I've lowered the requirement to netstandard1.0
, which is enough.
Starcounter.ErrorCodes.csproj contains these:
The issue referenced in the first comment is closed. There is no reference to
System.Diagnostics.TraceSource
in the code.