From 926c91253ad52a9e36e1bb689f980d3ecf54b81b Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Wed, 1 Feb 2017 15:58:41 -0800 Subject: Make ReferenceFromRuntime use project reference ReferenceFromRuntime for src projects isn't safe. It allows any source project to reference the output of another source project without properly sequencing the build. This fixes that by changing ReferenceFromRuntime to instead use a ProjectReference to the runtime project for the building configuration and filter that to just the files requested. I also completely block the use of ReferenceFromRuntime in test projects --- dir.props | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dir.props') diff --git a/dir.props b/dir.props index 5b13996baa..f07560c075 100644 --- a/dir.props +++ b/dir.props @@ -255,6 +255,9 @@ $(RefRootPath)netstandard/ $(RefRootPath)netfx/ + + $(ProjectDir)\external\runtime\runtime.depproj + $(BinDir)netcoreapp\pkg\ref $(BinDir)netcoreapp\pkg\lib -- cgit v1.2.3