-
Notifications
You must be signed in to change notification settings - Fork 291
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
Added msbuild build of project in buildtest action #1022
Added msbuild build of project in buildtest action #1022
Conversation
what is the output of |
@tg123 I have retested the pipeline and it seems fine. |
well this is really weird to me /LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: m3nax, tg123 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
# Test code gen for visual studio compatibility >> https://github.com/kubernetes-client/csharp/pull/1008 | ||
codgen: | ||
runs-on: windows-latest | ||
name: MSBuild build |
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.
Is there some wrong with the dotnet build
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.
Yes, there is a weird bug:
- with msbuild and the Microsoft.CodeAnalysis.CSharp Version = 4.3.0 the project does not compile (https://github.com/kubernetes-client/csharp/actions/runs/3087969401/jobs/4993905209#step:6: 41) and prevented it from being used with Visual Studio.
- with dotnet build the project compiled correctly.
A few days ago the brach master had all actions completed successfully but did not compile when opened with visual studio.
If you want to check, set the Microsoft.CodeAnalysis.CSharp package version to 4.3.0, clean the project and compile it with visual studio.
Close #1009