-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Convert project format to msbuild15 #277
Convert project format to msbuild15 #277
Conversation
Visual Studio may duplicate some values if they aren't set by the IDE.
@Kesmy, It will cover your contributions to all .NET Foundation-managed open source projects. |
@Kesmy, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
@Kesmy HUGE, huge thanks for the work on this, awesome to see this so far progressed! 👍 👍 I ran up the cake build script (and visual studio build obv) and picked up just a few (hopefully small to fix) issues from the cake build: Nuget packages made by cake build aren't installableInspected the packages with NuGetPackageExplorer and it looks like the dlls all got pushed down an extra folder, eg into Cake build seems to compile
|
Properties element in the Net40Async dependency for Specs is triggering a rebuild.
…o the nuget folder
Build and test issues should now be fixed, though it appears the build server can't locate msbuild. |
@reisenberger I can't get tests passing on my machine with the netcoreap1.1 re-target. It looks like that will also require more substantial changes to the build, including adding dotnet build/dotnet test steps specifically for the re-targeted Specs project. I'm not terribly familiar with Cake or Appveyor, so I'm not sure exactly what will need to happen to get dotnet tooling running. I'm not averse to giving it a shot, but I don't know if it belongs in this PR given that updating the project formats have so far required no code changes. Note that the netcoreapp1.1 retarget was just a test. I'm not familiar enough with the differences between the various "new" .NET targets to make any educated suggestions about which one is most appropriate. |
@Kesmy Big thanks again for this contribution, which is incredibly useful! I am happy to dive in and have a closer look what we can do with the existing PCL.Specs. |
@reisenberger It turns out that I completely overlooked the CollectionBehavior attribute that is decorating PCL.Specs. I've added it and tests now pass. I suddenly have a lot of free time on my hands, and will see about updating the Cake script to handle the netcoreapp tests tomorrow, then will push again. |
@reisenberger If you have no reservations with targeting netcoreapp1.1 in specs, this should now be ready to go. |
@Kesmy Awesome! This is performing well, both in VS2017 and the cake build. I'll close-read the file changes, as last check, later in the week. Thx for all yr contribution! (May not get merged for few days, just while we first push out a handful of minor in-prog fixes 267, 265, 270. I plan that this conversion to VS2017 format/builds then forms a separate release - only out of an abundance of caution, so that we can isolate any issues eg from the build change, to that one difference; though not expecting any. Those other PRs entirely orthogonal to yours, so I don't expect any merge conflicts.) |
@Kesmy Thanks for your awesome contribution to Polly! Credit added for your contribution to the project readme! |
Addresses #258 , converting project files to the new csproj format and updating the build tools version.
This breaks design/build-time compatibility with older versions of Visual Studio/MSBuild, but should have no effect on consumers.
The PCL.Specs project cannot currently be converted, as .NET Portable is not supported by the new format.