-
Notifications
You must be signed in to change notification settings - Fork 37
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
Conversation
vslee
commented
May 11, 2020
•
edited
Loading
edited
- 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
rebased to master, solving merge conflicts |
HI @vslee! Welcome! Thanks for the PR we'll review and try and get it merged today. |
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.
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" />
<ItemGroup> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> |
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 we can safely remove these lines
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.
Thank you for the quick fixes 👍