This repository was archived by the owner on Jun 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDirectory.props
More file actions
43 lines (34 loc) · 2.48 KB
/
Directory.props
File metadata and controls
43 lines (34 loc) · 2.48 KB
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
41
42
43
<Project>
<PropertyGroup>
<RootNamespace>Avatars</RootNamespace>
<!-- Use Directory.Packages.props -->
<ManagePackageVersionsCentrally Condition="'$(MSBuildProjectExtension)' == '.csproj' or '$(MSBuildProjectExtension)' == '.vbproj'">true</ManagePackageVersionsCentrally>
<RestoreSources Condition="Exists('$(MSBuildThisFileDirectory)..\..\nugetizer\bin\')">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\..\nugetizer\bin'));$(RestoreSources)</RestoreSources>
<RestoreSources Condition="Exists('$(MSBuildThisFileDirectory)..\..\ThisAssembly\bin\')">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\..\ThisAssembly\bin'));$(RestoreSources)</RestoreSources>
<TypeNameFormatterInternal>true</TypeNameFormatterInternal>
<PackageProjectUrl>https://clarius.org/avatar</PackageProjectUrl>
<DogfoodingVersion>0.9.3</DogfoodingVersion>
</PropertyGroup>
<!-- We need this in .props so it kicks-in before all the common.props defaulting -->
<PropertyGroup Label="Avatar.StaticProxy" Condition="$(MSBuildProjectName.StartsWith('Avatar.StaticProxy'))">
<RoslynVersion>$(MSBuildProjectName.Substring(18).TrimStart('.'))</RoslynVersion>
<RoslynVersion Condition="'$(RoslynVersion)' == ''">3.8.0</RoslynVersion>
<BaseIntermediateOutputPath>obj\$(RoslynVersion)\</BaseIntermediateOutputPath>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<OutputPath>bin\$(RoslynVersion)\$(Configuration)</OutputPath>
<!-- Source generators can only target NS2.0 -->
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<!-- Exclude from one level above the $(BaseIntermediateOutputPath) which is the default in the SDK,
since otherwise we would be including compile artifacts from the other versions. -->
<DefaultItemExcludes>$(DefaultItemExcludes);obj/**</DefaultItemExcludes>
</PropertyGroup>
<!-- Will only apply for cross-targeting, will be overriden by common targets typically.
This is here for packaging projects only, which upon resolving references from dotnet-nugetize
will call GetTargetPath and that would otherwise fail -->
<Target Name="GetTargetPath" DependsOnTargets="_SetGetTargetPathInnerTarget;DispatchToInnerBuilds" />
<Target Name="_SetGetTargetPathInnerTarget" Returns="@(InnerOutput)">
<PropertyGroup Condition="'$(InnerTargets)' == ''">
<InnerTargets>GetTargetPath</InnerTargets>
</PropertyGroup>
</Target>
</Project>