orleans/Directory.Build.targets

27 строки
1.2 KiB
XML

<Project>
<!-- Set InformationVersion here, since $(Version) is already set at this point. -->
<PropertyGroup>
<InformationalVersion>$(Version). Commit Hash: $(GitHeadSha)</InformationalVersion>
</PropertyGroup>
<Import Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' " Project="$(MSBuildThisFileDirectory)src/Orleans.CodeGenerator/build/Microsoft.Orleans.CodeGenerator.props" />
<Import Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' " Project="$(MSBuildThisFileDirectory)src/Orleans.Sdk/build/Microsoft.Orleans.Sdk.targets" />
<ItemGroup>
<!-- Enable code generator -->
<ProjectReference
Include="$(SourceRoot)src/Orleans.CodeGenerator/Orleans.CodeGenerator.csproj"
ReferenceOutputAssembly="false"
OutputItemType="Analyzer"
Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' "/>
<ProjectReference
Include="$(SourceRoot)src/Orleans.Analyzers/Orleans.Analyzers.csproj"
ReferenceOutputAssembly="false"
AssetTargetFallback="netstandard2.0"
UndefineProperties="TargetFramework"
SkipGetTargetFrameworkProperties="true"
OutputItemType="Analyzer"
Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' "/>
</ItemGroup>
</Project>