-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#9 add in net 6 #10
base: master
Are you sure you want to change the base?
#9 add in net 6 #10
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need also this for .NET8 isn't?
Also we need to update the targets in the unit tests.
The build isn't working, I guess it needs and update the #if
statements
@304NotModified dotnet 8 is not needed as for dotnet 8 it will use the net 6 compilation. Yes i have gone and adjusted the conditional compiles |
Well NET6 will expire soon (end of year), and then the build-pipeline will explode. So I guess you need to add both NET6 + NET8, |
tests/NLog.WindowsIdentity.Tests/ImpersonatingTargetWrapperTests.cs
Outdated
Show resolved
Hide resolved
Strongly doubt that it would explode given that pipelines using net core 3 are still operational. |
tests/NLog.WindowsIdentity.Tests/ImpersonatingTargetWrapperTests.cs
Outdated
Show resolved
Hide resolved
tests/NLog.WindowsIdentity.Tests/ImpersonatingTargetWrapperTests.cs
Outdated
Show resolved
Hide resolved
tests/NLog.WindowsIdentity.Tests/ImpersonatingTargetWrapperTests.cs
Outdated
Show resolved
Hide resolved
tests/NLog.WindowsIdentity.Tests/ImpersonatingTargetWrapperTests.cs
Outdated
Show resolved
Hide resolved
tests/NLog.WindowsIdentity.Tests/ImpersonatingTargetWrapperTests.cs
Outdated
Show resolved
Hide resolved
b78acf3
to
4f77005
Compare
Can these build-warnings
|
97dd0f1
to
7653881
Compare
7653881
to
6f67b12
Compare
6f67b12
to
dc61534
Compare
This should also be resolved now |
Then I guess it is "just" a matter of making the build-pipeline green. |
805bb45
to
0132483
Compare
5318cdf
to
f88049a
Compare
17cae55
to
8350d51
Compare
8350d51
to
74c4559
Compare
hopefully those last changes to the test projects resolve the build pipeline |
Since you are explicitly adding NET6 and NET8, then I guess we should change this: <EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsTrimmable>true</IsTrimmable> To this: <EnableTrimAnalyzer Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable> |
This will add net 6 as a TFM and ensure that the dependencies are not added.
Closes #1
Closes #9