Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2018-03-14 19:02:32 +0300
committerWes Haggard <Wes.Haggard@microsoft.com>2018-03-14 19:02:32 +0300
commit535fd1e75468144e2a2c043c1cfb12737c074664 (patch)
tree02b6faec55853ba20c507b6b73edf73d362be7e1 /dir.targets
parentd7d4fdc62611c94f1aad940b97c543122d701853 (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.targets2
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>