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

MSBuild generation: incremental build and clean rebuild improvements #1167

Conversation

DanielTheCoder
Copy link
Contributor

@DanielTheCoder DanielTheCoder commented May 31, 2018

Several improvements for current MSBuild based code-behind files generation

  • Try to fix incremental build issue inside visual studio 2017 if feature file changed outside of visual studio
    • typically you'll see the message 'target skipped because of no input files changed'
    • this fix should also work more reliable if using MSBuild from command line
    • this fix should also improve compatibility with new sdk based MSBuild projects
  • add experimental support for deleting code-behind files on clean or rebuild
  • removed unused MSBuild property 'OnlyUpdateIfChanged'

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added an entry to the changelog

…re file changed outside of visual studio

- typically you'll see the message 'target skipped because of no input files changed'
- this fix should also work more reliable if using msbuild from commandline
- this fix should also improve compatibility with new skd based msbuild projects
…build

to use codebehind file deletion you'll have to set the msbuild property 'SpecFlow_DeleteCodeBehindFilesOnCleanRebuild' to 'true' inside your csproj or using on of the directory or solution extension points in MSBuild https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build
@DanielTheCoder DanielTheCoder changed the title Msbuild generation incremental build and clean rebuild improvements MSBuild generation: incremental build and clean rebuild improvements May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants