-
Notifications
You must be signed in to change notification settings - Fork 10.3k
/
Copy pathDirectory.Build.props.in
40 lines (35 loc) · 1.71 KB
/
Directory.Build.props.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Project>
<!-- This file gets copied above the template test projects so that we disconnect the templates from the rest of the repository. -->
<PropertyGroup>
<RepoRoot>${RepoRoot}</RepoRoot>
<ArtifactsBinDir>${ArtifactsBinDir}</ArtifactsBinDir>
<!--
These properties are required so that we know where to find the locally-built shared framework and targeting pack
when creating a custom "dotnet" root for executing generated templates.
-->
<TargetingPackLayoutRoot>${TargetingPackLayoutRoot}</TargetingPackLayoutRoot>
<SharedFrameworkLayoutRoot>${SharedFrameworkLayoutRoot}</SharedFrameworkLayoutRoot>
<!--
Because some template projects require Microsoft.NETCore.App.Runtime.Mono.browser-wasm, we need to allow
the download of additional targeting and runtime packs.
-->
<TestRequiresTargetingPackDownload>true</TestRequiresTargetingPackDownload>
<TestRequiresRuntimePackDownload>true</TestRequiresRuntimePackDownload>
</PropertyGroup>
<!--
Temorary until the package reference gets implicitly added via the SDK.
At that point, we can remove this explicit reference, and
'eng\tools\GenerateFiles\Directory.Build.targets.in' will control which
version of the package gets consumed.
-->
<ItemGroup>
<PackageReference
Include="Microsoft.AspNetCore.App.Internal.Assets"
Version="${MicrosoftAspNetCoreAppRuntimeVersion}"
ReferenceOutputAssembly="false" />
</ItemGroup>
<Import Project="${ArtifactsBinDir}GenerateFiles\Directory.Build.props" />
<PropertyGroup>
<RestoreAdditionalProjectSources>$(RestoreAdditionalProjectSources);$(ArtifactsShippingPackagesDir)</RestoreAdditionalProjectSources>
</PropertyGroup>
</Project>