2019-12-18 20:22:14 +03:00
|
|
|
<Project>
|
2021-02-18 22:09:07 +03:00
|
|
|
<!-- Set InformationVersion here, since $(Version) is already set at this point. -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<InformationalVersion>$(Version). Commit Hash: $(GitHeadSha)</InformationalVersion>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2017-08-23 05:06:57 +03:00
|
|
|
<!-- Begin Orleans: Without these lines the project won't build properly -->
|
2017-10-03 20:41:26 +03:00
|
|
|
<!-- Set path to code generator -->
|
2019-12-18 20:22:14 +03:00
|
|
|
<PropertyGroup>
|
2021-02-18 22:09:07 +03:00
|
|
|
<OrleansGenerateCodeDependsOn Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' ">$(OrleansGenerateCodeDependsOn)</OrleansGenerateCodeDependsOn>
|
2019-12-18 20:22:14 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2021-02-18 22:09:07 +03:00
|
|
|
<PropertyGroup Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' ">
|
2019-12-18 20:22:14 +03:00
|
|
|
<DotNetHost Condition="'$(DotNetHost)' == ''">dotnet</DotNetHost>
|
|
|
|
<Asm>Orleans.CodeGenerator.MSBuild.Bootstrap</Asm>
|
2022-09-27 18:01:14 +03:00
|
|
|
<OrleansCodeGenCoreAssembly>$(MSBuildThisFileDirectory)src/BootstrapBuild/$(Asm)/bin/$(Configuration)/publish/net7.0/$(Asm).dll</OrleansCodeGenCoreAssembly>
|
|
|
|
<OrleansCodeGenTasksAssembly>$(MSBuildThisFileDirectory)src/BootstrapBuild/$(Asm)/bin/$(Configuration)/publish/net7.0/Orleans.CodeGenerator.MSBuild.Tasks.dll</OrleansCodeGenTasksAssembly>
|
2019-12-18 20:22:14 +03:00
|
|
|
<OrleansBootstrapBuildProject>$(MSBuildThisFileDirectory)src/BootstrapBuild/Orleans.CodeGenerator.MSBuild.Bootstrap/Orleans.CodeGenerator.MSBuild.Bootstrap.csproj</OrleansBootstrapBuildProject>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2017-10-18 01:03:10 +03:00
|
|
|
<ItemGroup>
|
2021-02-18 22:09:07 +03:00
|
|
|
<ProjectReference Include="$(OrleansBootstrapBuildProject)" Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' ">
|
2019-12-18 20:22:14 +03:00
|
|
|
<Project>{CB36EF45-6E90-443F-AEE4-394677068147}</Project>
|
|
|
|
<Name>Orleans.CodeGenerator.MSBuild.Bootstrap</Name>
|
2017-10-18 01:03:10 +03:00
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
2022-09-27 18:01:14 +03:00
|
|
|
<AssetTargetFallback>net7.0</AssetTargetFallback>
|
2019-12-18 20:22:14 +03:00
|
|
|
<Visible>false</Visible>
|
2017-10-18 01:03:10 +03:00
|
|
|
<!-- Workaround. See: https://github.com/dotnet/sdk/issues/939#issuecomment-284641613 -->
|
2019-12-18 20:22:14 +03:00
|
|
|
<!-- This causes the 'Dependency' node in VS to show a warning icon. See https://github.com/dotnet/project-system/issues/2928 -->
|
2017-10-18 01:03:10 +03:00
|
|
|
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
2019-12-18 20:22:14 +03:00
|
|
|
<UndefineProperties>TargetFramework;RuntimeIdentifier;TargetFrameworks;RuntimeIdentifiers</UndefineProperties>
|
2017-10-18 01:03:10 +03:00
|
|
|
<!-- /Workaround -->
|
|
|
|
</ProjectReference>
|
|
|
|
</ItemGroup>
|
2021-02-04 02:36:46 +03:00
|
|
|
|
2021-03-02 00:43:00 +03:00
|
|
|
<Import Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' " Project="$(MSBuildThisFileDirectory)src/Orleans.CodeGenerator/build/Microsoft.Orleans.CodeGenerator.props" />
|
2021-02-18 22:09:07 +03:00
|
|
|
<Import Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' " Project="$(MSBuildThisFileDirectory)src/Orleans.CodeGenerator.MSBuild/build/Microsoft.Orleans.CodeGenerator.MSBuild.targets" />
|
2022-10-27 01:05:37 +03:00
|
|
|
<Import Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' or '$(OrleansBuildTimeCodeGen)' == 'msbuild' " Project="$(MSBuildThisFileDirectory)src/Orleans.Sdk/build/Microsoft.Orleans.Sdk.targets" />
|
2021-02-18 22:09:07 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<!-- Enable code generator -->
|
|
|
|
<ProjectReference
|
|
|
|
Include="$(SourceRoot)src/Orleans.CodeGenerator/Orleans.CodeGenerator.csproj"
|
|
|
|
ReferenceOutputAssembly="false"
|
|
|
|
OutputItemType="Analyzer"
|
|
|
|
Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' "/>
|
2021-06-17 21:33:51 +03:00
|
|
|
<ProjectReference
|
|
|
|
Include="$(SourceRoot)src/Orleans.Analyzers/Orleans.Analyzers.csproj"
|
|
|
|
ReferenceOutputAssembly="false"
|
|
|
|
AssetTargetFallback="netstandard2.0"
|
|
|
|
UndefineProperties="TargetFramework"
|
|
|
|
SkipGetTargetFrameworkProperties="true"
|
|
|
|
OutputItemType="Analyzer"
|
|
|
|
Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' or '$(OrleansBuildTimeCodeGen)' == 'msbuild' "/>
|
2021-02-18 22:09:07 +03:00
|
|
|
</ItemGroup>
|
2021-03-02 00:43:00 +03:00
|
|
|
|
2017-08-23 05:06:57 +03:00
|
|
|
</Project>
|