Skip to content
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

Provide the new .NET4-compatible executable #147

Merged
merged 5 commits into from
Dec 6, 2016

Conversation

oleg-nenashev
Copy link
Member

@oleg-nenashev oleg-nenashev commented Dec 4, 2016

According to the requests, it is not always convenient to declare the .NET Framework 4 support in exe.config. Such approach also does not guarantee that the executable is really operational in this framework.

This PR adds a new project, which generates a binary targeting .NET Framework 4.0.

  • Add new project with .NET4-compatible executor
  • Modify AppVeyor settings to publish this artifact
  • Update README to mention the supported versions

Edited by @NextTurn: Fixes #103, fixes #112, fixes #102

@reviewbybees

@ghost
Copy link

ghost commented Dec 4, 2016

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@oleg-nenashev
Copy link
Member Author

So the artifact has been deployed successfully: https://ci.appveyor.com/api/buildjobs/53mp3l80y46drwr5/artifacts/src%2FCore%2FServiceWrapper_dotNET4%2Fbin%2FRelease%2Fwinsw.exe

It passes manual spot-checks, but I will appreciate additional reviews and testing

<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- Merge plugins and other DLLs into winsw.exe -->
<UsingTask TaskName="MSBuild.Community.Tasks.ILMerge" AssemblyFile="$(SolutionDir)\packages\MSBuildTasks.1.4.0.88\tools\MSBuild.Community.Tasks.dll" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should stop playing with ILMerge, because it's not that good at merging Debug symbols

@oleg-nenashev
Copy link
Member Author

Retriggering the CI

@oleg-nenashev
Copy link
Member Author

Self-:bug:. Generated executable filenames should be different in order to support the deployment on Appveyor

@oleg-nenashev
Copy link
Member Author

I declare @reviewbybees done since I want to unblock the further changes in the build flow. This change does not actually change the code itself.

@oleg-nenashev oleg-nenashev merged commit 030536c into master Dec 6, 2016
@oleg-nenashev oleg-nenashev deleted the dotNet4_executable branch August 19, 2019 09:34
@nxtn nxtn modified the milestones: 2.0.1, 2.0.0 Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants