-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
GH1247: Change to use AnyCPU to address Mono issue #1266
GH1247: Change to use AnyCPU to address Mono issue #1266
Conversation
So @cake-build/team & @Redth
This PR removes the mono framework prefixing in integration tests which is confirmed by the diagnostic log ========================================
Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript
========================================
Executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript
Executing: /home/matkar/monocakescriptissue/cake/tests/integration/tools/Cake/Cake.exe "/home/matkar/monocakescriptissue/cake/tests/integration/resources/Cake.Common/Tools/Cake/build.cake"
Finished executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript
========================================
Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript.Settings.Ok
========================================
Executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript.Settings.Ok
Executing: /home/matkar/monocakescriptissue/cake/tests/integration/tools/Cake/Cake.exe "/home/matkar/monocakescriptissue/cake/tests/integration/resources/Cake.Common/Tools/Cake/test.cake" -ok="yes"
Finished executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript.Settings.Ok
========================================
Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript.Settings.NotOk
========================================
Executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript.Settings.NotOk
Executing: /home/matkar/monocakescriptissue/cake/tests/integration/tools/Cake/Cake.exe "/home/matkar/monocakescriptissue/cake/tests/integration/resources/Cake.Common/Tools/Cake/test.cake" -ok="no"
Finished executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteScript.Settings.NotOk
========================================
Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression
========================================
Executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression
Executing: /home/matkar/monocakescriptissue/cake/tests/integration/tools/Cake/Cake.exe "/home/matkar/monocakescriptissue/cake/tests/integration/c497a5df-be2d-4a91-8373-47d3ce82ccb9.cake"
Finished executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression
========================================
Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression.Settings.Ok
========================================
Executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression.Settings.Ok
Executing: /home/matkar/monocakescriptissue/cake/tests/integration/tools/Cake/Cake.exe "/home/matkar/monocakescriptissue/cake/tests/integration/0d8dbaa3-eded-4baf-ac74-a371ad0742c2.cake" -ok="yes"
Finished executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression.Settings.Ok
========================================
Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression.Settings.NotOk
========================================
Executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression.Settings.NotOk
Executing: /home/matkar/monocakescriptissue/cake/tests/integration/tools/Cake/Cake.exe "/home/matkar/monocakescriptissue/cake/tests/integration/d86579d2-4618-4a53-ac79-c76cd1c7cdd1.cake" -ok="no"
Finished executing task: Cake.Common.Tools.Cake.CakeAliases.CakeExecuteExpression.Settings.NotOk To confirm fix i downloaded v16.1 artifacts form last integration test ( https://ci.appveyor.com/api/buildjobs/sbpo9nvvjjy2pgmr/artifacts/Cake-bin-net45-v0.16.1.zip ) and did same procedure as above and it as expected failed: So this PR is ready for review. |
@@ -1,8 +1,9 @@ | |||
{ | |||
"version": "0.16.1-*", | |||
"version": "0.16.2-*", |
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.
@devlead doesn't this change need to happen in a number of files? Not just the top level one?
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.
Think that'll be patched by build.cake&GitVersion during build. As AppVeyor PR artifacts all v0.17.0 both nuget & assemblies, hopefully hotfix branch will get correct versioning once PR merged :)
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.
@devlead the reason that I ask is that in the last PR you did for 0.16.1, you updated all the files 😄
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.
But sure I can address that :)
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.
Done.
29ada4e
to
e604169
Compare
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.
LGTM!
"buildOptions": { | ||
"emitEntryPoint": true, | ||
"xmlDoc": true, | ||
"platform": "AnyCpu", |
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.
I think change should be added to all assemblies.
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.
Ok, I'll fix.
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.
Done.
e604169
to
a4185cf
Compare
This fixes cake-build#1247, because issue in .NET Core tooling AnyCPU needs to be specified
a4185cf
to
a4c5586
Compare
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.
LGTM!
This fixes #1247, because issue in .NET Core tooling AnyCPU needs to be specified