microsoft/healthcare-shared-components
Publicmirrored from https://github.com/microsoft/healthcare-shared-componentsAvailable
tools/Microsoft.Health.Extensions.BuildTimeCodeGenerator/Microsoft.Health.Extensions.BuildTimeCodeGenerator.csproj
31lines · modecode
| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | |
| 3 | <PropertyGroup> |
| 4 | <OutputType>Exe</OutputType> |
| 5 | <AssemblyName>Microsoft.Health.Extensions.BuildTimeCodeGenerator</AssemblyName> |
| 6 | <TargetFramework>netcoreapp3.1</TargetFramework> |
| 7 | </PropertyGroup> |
| 8 | |
| 9 | <ItemGroup> |
| 10 | <PackageReference Include="Ensure.That" Version="9.2.0" /> |
| 11 | <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.3.1" /> |
| 12 | <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.3.1" /> |
| 13 | <PackageReference Include="Microsoft.SqlServer.DacFx" Version="150.4384.2-preview" /> |
| 14 | <PackageReference Include="System.CommandLine.DragonFruit" Version="0.2.0-alpha.19174.3" /> |
| 15 | <PackageReference Include="Microsoft.Data.SqlClient" Version="2.0.1" /> |
| 16 | </ItemGroup> |
| 17 | |
| 18 | <!-- Pack settings --> |
| 19 | <PropertyGroup> |
| 20 | <NoPackageAnalysis>true</NoPackageAnalysis> |
| 21 | <NuspecFile>Microsoft.Health.Extensions.BuildTimeCodeGenerator.nuspec</NuspecFile> |
| 22 | <IntermediatePackDir>$(MSBuildProjectDirectory)/bin/$(Configuration)/publish/</IntermediatePackDir> |
| 23 | <PublishDir>$(IntermediatePackDir)$(TargetFramework)/</PublishDir> |
| 24 | <NuspecProperties>publishDir=$([MSBuild]::NormalizeDirectory($(IntermediatePackDir)));version=$(PackageVersion)</NuspecProperties> |
| 25 | </PropertyGroup> |
| 26 | |
| 27 | <!-- Executes /t:Publish for all target frameworks before packing--> |
| 28 | <Target Name="PublishAll" BeforeTargets="GenerateNuspec"> |
| 29 | <MSBuild Projects="$(MSBuildProjectFullPath)" Targets="Publish" /> |
| 30 | </Target> |
| 31 | </Project> |
| 32 | |