-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a83666
commit 2bef638
Showing
11 changed files
with
176 additions
and
191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Import Project="TechTalk.SpecFlow.tasks"/> | ||
|
||
<!-- 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> | ||
<UseHostCompilerIfAvailable>false</UseHostCompilerIfAvailable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<ShowTrace Condition="'$(ShowTrace)'==''">false</ShowTrace> | ||
|
||
<OverwriteReadOnlyFiles Condition="'$(OverwriteReadOnlyFiles)'==''">false</OverwriteReadOnlyFiles> | ||
<ForceGeneration Condition="'$(ForceGeneration)'==''">false</ForceGeneration> | ||
<VerboseOutput Condition="'$(VerboseOutput)'==''">false</VerboseOutput> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(BuildServerMode)' == ''"> | ||
<BuildServerMode Condition="'$(BuildingInsideVisualStudio)'=='true'">false</BuildServerMode> | ||
<BuildServerMode Condition="'$(BuildingInsideVisualStudio)'!='true'">true</BuildServerMode> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<BuildDependsOn> | ||
UpdateFeatureFilesInProject; | ||
$(BuildDependsOn) | ||
</BuildDependsOn> | ||
<RebuildDependsOn> | ||
SwitchToForceGenerate; | ||
$(RebuildDependsOn) | ||
</RebuildDependsOn> | ||
</PropertyGroup> | ||
|
||
<Target Name="SwitchToForceGenerate"> | ||
<PropertyGroup> | ||
<ForceGeneration>true</ForceGeneration> | ||
<OnlyUpdateIfChanged>true</OnlyUpdateIfChanged> | ||
</PropertyGroup> | ||
</Target> | ||
|
||
<Target Name="UpdateFeatureFilesInProject"> | ||
<GeneratorTask | ||
ShowTrace="$(ShowTrace)" | ||
|
||
BuildServerMode="$(BuildServerMode)" | ||
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)" | ||
|
||
ProjectPath="$(MSBuildProjectFullPath)" | ||
ForceGeneration="$(ForceGeneration)" | ||
VerboseOutput="$(VerboseOutput)" | ||
/> | ||
|
||
</Target> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<SpecFlowTasksPath Condition="'$(SpecFlowTasksPath)'==''">specflow.exe</SpecFlowTasksPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<!-- handle absolute / targets-relative tasks path --> | ||
<__SpecFlowTasksFullPath>$(SpecFlowTasksPath)</__SpecFlowTasksFullPath> | ||
<!-- handle relative tasks path --> | ||
<__SpecFlowTasksFullPath Condition="Exists('$(MSBuildProjectDirectory)\$(SpecFlowTasksPath)')" | ||
>$(MSBuildProjectDirectory)\$(SpecFlowTasksPath)</__SpecFlowTasksFullPath> | ||
</PropertyGroup> | ||
|
||
<UsingTask TaskName="TechTalk.SpecFlow.Tools.MsBuild.GeneratorTask" AssemblyFile="$(__SpecFlowTasksFullPath)" /> | ||
|
||
</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.