Skip to content

Commit

Permalink
Use Intermediate path for GenerateReferenceSource
Browse files Browse the repository at this point in the history
After the new reverse APICompat checks we fail the
src build if the ref doesn't match so we don't have
a great way to regenerate the reference assembly.
By using the intermediate path we can still generate
the reference assembly without having a successful
src build.
  • Loading branch information
weshaggard committed Mar 14, 2018
1 parent d7d4fdc commit 535fd1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dir.targets
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

<PropertyGroup>
<_GenAPICmd>$(DotnetToolCommand) $(_GenApiExePath)</_GenAPICmd>
<_GenAPICmd>$(_GenAPICmd) -assembly:$(TargetPath)</_GenAPICmd>
<_GenAPICmd>$(_GenAPICmd) -assembly:@(IntermediateAssembly)</_GenAPICmd>
<_GenAPICmd>$(_GenAPICmd) -libPath:$(RefPath)</_GenAPICmd>
<_GenAPICmd>$(_GenAPICmd) -out:$(_RefSourceFileOutputPath)</_GenAPICmd>
<_GenAPICmd>$(_GenAPICmd) -excludeAttributesList:$(_ExcludeAPIList)</_GenAPICmd>
Expand Down

0 comments on commit 535fd1e

Please sign in to comment.