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

changed QuantConnect.IBAutomater.csproj to SDK style #16

Merged
merged 3 commits into from
Sep 15, 2020

Conversation

vslee
Copy link
Contributor

@vslee vslee commented May 11, 2020

  • it was previously MSBuild style
  • this changes it to the newer SDK style, which will allow further options in the future
  • SDK style is more concise: a lot of settings which were explicitly specified before are now the defaults
    • App.Config, packages.config, and AssemblyInfo.cs were able to be removed as their information is now in QuantConnect.IBAutomater.csproj
  • functional settings have been preserved, including targeting .net framework 4.5.2
    • versions of dependencies such as Newtonsoft.Json 10.0.3 and NodaTime 1.3.4 have been preserved
    • NuGet settings have not been touched
  • CSharpDemoIBAutomater remains as a MSBuild style project targeting .net framework 4.5.2 to show that this does not break current projects
  • part of Multi-targeting (NET Standard 2.0 + NET Framework 4.5) #15

- it was previously MSBuild style
- this changes it to the newer SDK style, which will allow further options in the future
- SDK style is more concise: a lot of settings which were explicitly specified before are now the defaults
- functional settings have been preserved, including targeting .net framework 4.5.2, as well as Newtonsoft.Json 10.0.3
- App.Config, packages.config, and AssemblyInfo.cs were able to be removed as their information is now in QuantConnect.IBAutomater.csproj
- NuGet settings have not been touched
- part of QuantConnect#15
- solves all current merge conflicts
@vslee
Copy link
Contributor Author

vslee commented Sep 13, 2020

rebased to master, solving merge conflicts

@jaredbroad
Copy link
Member

HI @vslee! Welcome! Thanks for the PR we'll review and try and get it merged today.

Copy link
Contributor

@StefanoRaggi StefanoRaggi left a comment

Choose a reason for hiding this comment

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

Thank you for the PR @vslee
I just tested the changes and pushed v1.0.30 to NuGet

Just a few minor changes requested:

  • remove the Properties folder from the project file
  • update the demo project to reference the latest NuGet package (v1.0.30)
  • update QuantConnect.IBAutomater.nuspec for the new build output path:
    these are the updated lines:
    <version>1.0.30</version>
    ...
    <file src="net452\QuantConnect.IBAutomater.exe" target="lib\net45" />
    <file src="net452\QuantConnect.IBAutomater.pdb" target="lib\net45" />
    ...
    <file src="net452\IBAutomater.bat" target="build" />
    <file src="net452\IBAutomater.sh" target="build" />

Comment on lines 19 to 21
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can safely remove these lines

Copy link
Contributor

@StefanoRaggi StefanoRaggi left a comment

Choose a reason for hiding this comment

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

Thank you for the quick fixes 👍

@jaredbroad jaredbroad merged commit a898ed3 into QuantConnect:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants