28
28
<AssemblySignPublicKey >$([System.IO.File]::ReadAllText($(AssemblySignPublicKeyFile)))</AssemblySignPublicKey >
29
29
</PropertyGroup >
30
30
31
+ <PropertyGroup Label =" Outputs.Initial" >
32
+ <!-- Build Outputs -->
33
+ <BuildDir >$(RepositoryDirectory)build\</BuildDir >
34
+ <!-- Publish Outputs -->
35
+ <PublishDir >$(RepositoryDirectory)publish\</PublishDir >
36
+ <!-- Restore Outputs-->
37
+ <MSBuildProjectExtensionsPath >$(BuildDir)ext\</MSBuildProjectExtensionsPath >
38
+ <!-- Pack Outputs -->
39
+ <NuSpecOutputPath >$(RepositoryDirectory)build\</NuSpecOutputPath >
40
+ <PackageOutputPath >$(RepositoryDirectory)packages\</PackageOutputPath >
41
+ </PropertyGroup >
42
+
43
+ <PropertyGroup Label =" Project" >
44
+ <ProjectDirName >$(MSBuildProjectName.Replace('CommunityToolkit.', ''))</ProjectDirName >
45
+ </PropertyGroup >
46
+
31
47
<!-- Identify projects targeting multiple Roslyn versions and add defaults -->
32
48
<PropertyGroup Condition =" $(MSBuildProjectName.Contains('.Roslyn'))" >
33
49
<IsCompilerTargeting >True</IsCompilerTargeting >
39
55
<!-- Use custom build logic for projects targeting multiple version of the Roslyn Compiler -->
40
56
<Import Project =" Toolkit.CompilerTargeting.props" Condition =" '$(IsCompilerTargeting)' == 'true'" />
41
57
58
+ <PropertyGroup Label =" Outputs.Final" >
59
+ <!-- Build Outputs -->
60
+ <BuildDir >$(BuildDir)$(ProjectDirName)\</BuildDir >
61
+ <BaseOutputPath >$(BuildDir)bin\</BaseOutputPath >
62
+ <BaseIntermediateOutputPath >$(BuildDir)obj\</BaseIntermediateOutputPath >
63
+ <!-- Restore Outputs-->
64
+ <MSBuildProjectExtensionsPath >$(BuildDir)ext\</MSBuildProjectExtensionsPath >
65
+ <MSBuildProjectExtensionsPath Condition =" '$(TargetCompiler)' != ''" >$(MSBuildProjectExtensionsPath)$(TargetCompiler)\</MSBuildProjectExtensionsPath >
66
+ <RestoreOutputPath >$(MSBuildProjectExtensionsPath)</RestoreOutputPath >
67
+ <!-- Publish Outputs -->
68
+ <PublishDir >$(PublishDir)$(ProjectDirName)\</PublishDir >
69
+ <!-- Test Outputs -->
70
+ <VSTestResultsDirectory >$(BuildDir)TestResults\</VSTestResultsDirectory >
71
+ </PropertyGroup >
72
+
42
73
</Project >
0 commit comments