Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 1c431a1

Browse files
committed
Fix F5
The build.props file was setting OutputPath to IntermediateOutputPath. This caused operations like F5 to grab from the obj directory which isn't correct. It needs to grab it from the bin directory.
1 parent 4286c97 commit 1c431a1

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

build.props

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<OutDir Condition="'$(OutDir)' == ''">$(MsBuildThisFileDirectory)bin\</OutDir>
8-
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(MsBuildThisFileDirectory)obj\$(MsBuildProjectName)\$(Configuration)\</IntermediateOutputPath>
9-
<OutputPath Condition="'$(OutputPath)' == ''">$(IntermediateOutputPath)</OutputPath>
7+
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(MsBuildThisFileDirectory)obj\$(MSBuildProjectName)\$(Configuration)\</IntermediateOutputPath>
8+
<OutputPath Condition="'$(OutputPath)' == ''">$(MsBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
109
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1110
<FileAlignment>512</FileAlignment>
1211
<RestorePackages>true</RestorePackages>
@@ -28,4 +27,4 @@
2827
<ErrorReport>prompt</ErrorReport>
2928
<WarningLevel>4</WarningLevel>
3029
</PropertyGroup>
31-
</Project>
30+
</Project>

src/CodeFormatter/CodeFormatter.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<Target Name="BeforeBuild">
120120
</Target> -->
121121
<Target Name="AfterBuild">
122-
<Copy SourceFiles="$(ProjectDir)IllegalHeaders.md" DestinationFolder="$(OutDir)" ContinueOnError="true" />
123-
<Copy SourceFiles="$(ProjectDir)CopyrightHeader.md" DestinationFolder="$(OutDir)" ContinueOnError="true" />
122+
<Copy SourceFiles="$(ProjectDir)IllegalHeaders.md" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
123+
<Copy SourceFiles="$(ProjectDir)CopyrightHeader.md" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
124124
</Target>
125-
</Project>
125+
</Project>

0 commit comments

Comments
 (0)