2828 <AssemblySignPublicKey >$([System.IO.File]::ReadAllText($(AssemblySignPublicKeyFile)))</AssemblySignPublicKey >
2929 </PropertyGroup >
3030
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+
3147 <!-- Identify projects targeting multiple Roslyn versions and add defaults -->
3248 <PropertyGroup Condition =" $(MSBuildProjectName.Contains('.Roslyn'))" >
3349 <IsCompilerTargeting >True</IsCompilerTargeting >
3955 <!-- Use custom build logic for projects targeting multiple version of the Roslyn Compiler -->
4056 <Import Project =" Toolkit.CompilerTargeting.props" Condition =" '$(IsCompilerTargeting)' == 'true'" />
4157
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+
4273</Project >
0 commit comments