orleans/Directory.Build.targets

57 строки
3.4 KiB
Plaintext
Исходник Обычный вид История

<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>
vNext Removal and merge with *.2017.csproj files (#3231) * Merge vNext\src to 2017 csproj files. Delete vNext folder. Update CI build file to build 2017 sln with Current BuildFlavor. Move NuGet PackageReference Versions to props file. * Update BenchmarkDotNet version to fix netfx build failure. * Add TargetFramework to OrleansHost and OrleansManager project. Add dotnet.exe to Path to see if CI picks it up for building F#. * Disable F# because of CI server for now. * Change project factory guids in SLN file to CPS ones. Remove F# projects from default build configuration. * Removed legacy files. * Cleanup csproj files. Annotate props files with comments. Add back FSharp support. * Change dotnet cli to 2.0.0 Fix OrleansBondUtils.csproj by adding condition to package fallback Include OrleansGCPUtils in solution Add build script wrapper Update CI script to always use net462 machine until netstandard 2.0 update. * Fix FSharp implicit references Add TestInternalGrainInterfaces to solution * Add PackageOutputPath for easier build consumption for local builds Change legacy version to 1.6.0 to match with master Remove unused parts from props file * Add BuildFlavor and Configuration to Bootstrap folder structure and based it on RepoRoot variable Move Bootstrap into root folder Delete now unneeded targets file in test folder Rename RepoRoot to SourceRoot * Move from netstandard 1.5 to 2.0 * Address feedback * Add #if to AppDomain class usage * Add DesignTime build check * Increase build stability. * Add NuGet.config for CI Enable parallel builds in Build-Core.cmd * Revert back to net462 and netstandard15 for this PR. NetStandard 2.0 will be a separate one * Adding back /m:1 because of CI * Update test running scripts to honor platform argument
2017-08-23 05:06:57 +03:00
<!-- Begin Orleans: Without these lines the project won't build properly -->
<!-- Set path to code generator -->
<PropertyGroup>
2021-02-18 22:09:07 +03:00
<OrleansGenerateCodeDependsOn Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' ">$(OrleansGenerateCodeDependsOn)</OrleansGenerateCodeDependsOn>
</PropertyGroup>
2021-02-18 22:09:07 +03:00
<PropertyGroup Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' ">
<DotNetHost Condition="'$(DotNetHost)' == ''">dotnet</DotNetHost>
<Asm>Orleans.CodeGenerator.MSBuild.Bootstrap</Asm>
<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>
<OrleansBootstrapBuildProject>$(MSBuildThisFileDirectory)src/BootstrapBuild/Orleans.CodeGenerator.MSBuild.Bootstrap/Orleans.CodeGenerator.MSBuild.Bootstrap.csproj</OrleansBootstrapBuildProject>
</PropertyGroup>
<ItemGroup>
2021-02-18 22:09:07 +03:00
<ProjectReference Include="$(OrleansBootstrapBuildProject)" Condition=" '$(OrleansBuildTimeCodeGen)' == 'msbuild' ">
<Project>{CB36EF45-6E90-443F-AEE4-394677068147}</Project>
<Name>Orleans.CodeGenerator.MSBuild.Bootstrap</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<AssetTargetFallback>net7.0</AssetTargetFallback>
<Visible>false</Visible>
<!-- Workaround. See: https://github.com/dotnet/sdk/issues/939#issuecomment-284641613 -->
<!-- This causes the 'Dependency' node in VS to show a warning icon. See https://github.com/dotnet/project-system/issues/2928 -->
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
<UndefineProperties>TargetFramework;RuntimeIdentifier;TargetFrameworks;RuntimeIdentifiers</UndefineProperties>
<!-- /Workaround -->
</ProjectReference>
</ItemGroup>
2021-02-04 02:36:46 +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' "/>
<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>
vNext Removal and merge with *.2017.csproj files (#3231) * Merge vNext\src to 2017 csproj files. Delete vNext folder. Update CI build file to build 2017 sln with Current BuildFlavor. Move NuGet PackageReference Versions to props file. * Update BenchmarkDotNet version to fix netfx build failure. * Add TargetFramework to OrleansHost and OrleansManager project. Add dotnet.exe to Path to see if CI picks it up for building F#. * Disable F# because of CI server for now. * Change project factory guids in SLN file to CPS ones. Remove F# projects from default build configuration. * Removed legacy files. * Cleanup csproj files. Annotate props files with comments. Add back FSharp support. * Change dotnet cli to 2.0.0 Fix OrleansBondUtils.csproj by adding condition to package fallback Include OrleansGCPUtils in solution Add build script wrapper Update CI script to always use net462 machine until netstandard 2.0 update. * Fix FSharp implicit references Add TestInternalGrainInterfaces to solution * Add PackageOutputPath for easier build consumption for local builds Change legacy version to 1.6.0 to match with master Remove unused parts from props file * Add BuildFlavor and Configuration to Bootstrap folder structure and based it on RepoRoot variable Move Bootstrap into root folder Delete now unneeded targets file in test folder Rename RepoRoot to SourceRoot * Move from netstandard 1.5 to 2.0 * Address feedback * Add #if to AppDomain class usage * Add DesignTime build check * Increase build stability. * Add NuGet.config for CI Enable parallel builds in Build-Core.cmd * Revert back to net462 and netstandard15 for this PR. NetStandard 2.0 will be a separate one * Adding back /m:1 because of CI * Update test running scripts to honor platform argument
2017-08-23 05:06:57 +03:00
</Project>