diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-14 19:02:32 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-14 19:02:32 +0300 |
commit | 535fd1e75468144e2a2c043c1cfb12737c074664 (patch) | |
tree | 02b6faec55853ba20c507b6b73edf73d362be7e1 /dir.targets | |
parent | d7d4fdc62611c94f1aad940b97c543122d701853 (diff) |
Use Intermediate path for GenerateReferenceSource
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.
Diffstat (limited to 'dir.targets')
-rw-r--r-- | dir.targets | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.targets b/dir.targets index a51322bbf7..df5b05a518 100644 --- a/dir.targets +++ b/dir.targets @@ -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> |