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 #1208

Conversation

DanielTheCoder
Copy link
Contributor

improved cleanup of generated feature for following scenarios

  • after rename operation
  • after deletion of a feature file
  • after pulling latest changes from version control with above changes

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
…ndsOn because it's already provided with CleanDependsOn
… previous rename or removal of feature files
@SabotageAndi SabotageAndi merged commit 1a33275 into master Jul 19, 2018
@SabotageAndi SabotageAndi deleted the MSBuildGeneration_IncrementalBuildAndCleanRebuildImprovements branch July 2, 2019 14:57
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.

2 participants