Skip to content

Conversation

@olevett
Copy link
Member

@olevett olevett commented Aug 16, 2017

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fix for #1420

What is the current behavior? (You can also link to an open issue here)
Appveyor is old version

What is the new behavior (if this is a feature change)?
Appveyor is preview builds

What might this PR break?
Hopefully nothing

Please check if the PR fulfills these requirements

Other information:
Have raised a ticket on Cake, as the VSWhere tool we're using doesn't currently include pre-release builds, so VS can't find what it's doing. The build is falling back to MSBuild 14, which doesn't support new csprojs, hence breaking the build.

Cake ticket cake-build/cake#1754, notes on vswhere prerelease flag https://blogs.msdn.microsoft.com/heaths/2017/06/24/vswhere-version-2-0-released/

@dnfclas
Copy link

dnfclas commented Aug 16, 2017

@olevett,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.

It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@olevett
Copy link
Member Author

olevett commented Aug 16, 2017

Note, this shouldn't be merged till Cake supports pre-release

@dnfclas
Copy link

dnfclas commented Aug 16, 2017

@olevett, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, .NET Foundation Pull Request Bot

@olevett olevett changed the title Use VS 2017 preview in appveyor [WIP] Use VS 2017 preview in appveyor Aug 16, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 1b2fda1 on vs-2017-preview into ** on develop**.

@ghuntley ghuntley changed the title [WIP] Use VS 2017 preview in appveyor the develop branch is currently a red build after 15.3 Aug 20, 2017
@ghuntley ghuntley changed the title the develop branch is currently a red build after 15.3 resolve red builds on the develop branch after VS2017 15.3 Aug 20, 2017
@ghuntley
Copy link
Member

ghuntley commented Aug 20, 2017

I've hijacked this PR to get us to green builds on the develop branch.

Changes:

@ghuntley ghuntley merged commit d9a066f into develop Aug 20, 2017
@ghuntley ghuntley deleted the vs-2017-preview branch August 20, 2017 11:20
}
.WithTarget("restore;pack")
.WithTarget("restore;build;pack")
.WithProperty("PackageOutputPath", MakeAbsolute(Directory(artifactDirectory)).ToString())
Copy link
Member

@ghuntley ghuntley Aug 20, 2017

Choose a reason for hiding this comment

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

Had to add build here to generate our unit test assemblies (ReactiveUI.Tests/bin/**/). Before VS2017 15.3 they were generated automatically via the pack step so we never specified it. I guess we were relying on a toolchain quirk which should have never worked this way in the first place.

Choose a reason for hiding this comment

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

it could be that IsPackable has been set to false in Test project sdk targets , and that's why pack doesn't do anything here.


MSBuild(solution, new MSBuildSettings()
MSBuild(solution, new MSBuildSettings() {
ToolPath = msBuildPath,
Copy link
Member

Choose a reason for hiding this comment

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

Had to specify the location of msbuild (an oversight, we do this as part of the buildreactiveui step and forgot to add it in here)

<ItemGroup>
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.0.1" PrivateAssets="All" />
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.0.6" PrivateAssets="All" />
</ItemGroup>
Copy link
Member

Choose a reason for hiding this comment

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

dis got bumped; it's very important but I don't have the backstory.

ghuntley pushed a commit that referenced this pull request Nov 6, 2017
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants