-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSBuild generation: incremental build and clean rebuild improvements (#…
…1167) * Move UseHostCompilerIfAvailable Properties to props file * Add additional VerboseOutput for generated files * 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 commandline - this fix should also improve compatibility with new skd based msbuild projects * add experimental support for deleting codebehind files on clean or rebuild 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 * removed unused msbuild property * update changelog.txt * Fix broken DependsOn target order
- Loading branch information
1 parent
5edc013
commit 4afee2c
Showing
3 changed files
with
91 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<!-- this setting is to workaround the bug in VS (does not detect changes during the pre-build event) | ||
see: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=423670&wa=wsignin1.0 | ||
--> | ||
<PropertyGroup> | ||
<SpecFlow_UseHostCompilerIfAvailable Condition="'$(SpecFlow_UseHostCompilerIfAvailable)'==''">false</SpecFlow_UseHostCompilerIfAvailable> | ||
<UseHostCompilerIfAvailable>$(SpecFlow_UseHostCompilerIfAvailable)</UseHostCompilerIfAvailable> | ||
</PropertyGroup> | ||
|
||
|
||
<PropertyGroup> | ||
|
||
<ShowTrace Condition="'$(ShowTrace)'==''">false</ShowTrace> | ||
<OverwriteReadOnlyFiles Condition="'$(OverwriteReadOnlyFiles)'==''">false</OverwriteReadOnlyFiles> | ||
<ForceGeneration Condition="'$(ForceGeneration)'==''">false</ForceGeneration> | ||
<VerboseOutput Condition="'$(VerboseOutput)'==''">false</VerboseOutput> | ||
|
||
<SpecFlow_DeleteCodeBehindFilesOnCleanRebuild Condition="'$(SpecFlow_DeleteCodeBehindFilesOnCleanRebuild)'==''">false</SpecFlow_DeleteCodeBehindFilesOnCleanRebuild> | ||
|
||
<ShowTrace Condition="'$(ShowTrace)'==''">false</ShowTrace> | ||
<VerboseOutput Condition="'$(VerboseOutput)'==''">false</VerboseOutput> | ||
<SpecFlow_DebugMSBuildTask Condition="'$(SpecFlow_DebugMSBuildTask)' == ''">false</SpecFlow_DebugMSBuildTask> | ||
|
||
<_SpecFlowPropsImported Condition="'$(_SpecFlowPropsImported)'==''">true</_SpecFlowPropsImported> | ||
</PropertyGroup> | ||
</Project> | ||
|
||
<ItemGroup> | ||
<SpecFlowFeatureFiles Include="**\*.feature"> | ||
<CodeBehindFile>%(RelativeDir)%(Filename).feature.cs</CodeBehindFile> | ||
</SpecFlowFeatureFiles> | ||
<SpecFlowFeatureFiles Include="**\*.feature.xlsx"> | ||
<CodeBehindFile>%(RelativeDir)%(Filename).feature.cs</CodeBehindFile> | ||
</SpecFlowFeatureFiles> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.