Skip to content

Commit

Permalink
Run _CheckForInvalidConfigurationAndPlatform in design-time builds
Browse files Browse the repository at this point in the history
Should fix the VS side of dotnet/sdk#798
  • Loading branch information
dsplaisted committed Feb 28, 2017
1 parent 4a1340a commit e854ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Targets/Microsoft.CSharp.DesignTime.targets
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<!-- Returns Csc command-line arguments for the language service -->
<Target Name="CompileDesignTime"
Returns="@(_CompilerCommandLineArgs)"
DependsOnTargets="_CheckCompileDesignTimePrerequisite;Compile"
DependsOnTargets="_CheckForInvalidConfigurationAndPlatform;_CheckCompileDesignTimePrerequisite;Compile"
Condition="'$(IsCrossTargetingBuild)' != 'true'"
>

Expand Down
2 changes: 1 addition & 1 deletion src/Targets/Microsoft.VisualBasic.DesignTime.targets
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<!-- Returns Vbc command-line arguments for the language service -->
<Target Name="CompileDesignTime"
Returns="@(_CompilerCommandLineArgs)"
DependsOnTargets="_CheckCompileDesignTimePrerequisite;Compile"
DependsOnTargets="_CheckForInvalidConfigurationAndPlatform;_CheckCompileDesignTimePrerequisite;Compile"
Condition="'$(IsCrossTargetingBuild)' != 'true'"
>

Expand Down

0 comments on commit e854ecd

Please sign in to comment.