385b5c5212
Stop using /opt/pulumi/nuget, this makes some progress towards fixing There are three main changes here: 1) We no longer pack on build, instead requiring an explicit pack command (which runs in relase configuration). This should be a small speed improvement for standard builds. 2) The integration tests no longer rely on a nuget package, instead we just reference the project directly. This removes the need for a local nuget feed that had to be setup and installed into. 3) As we've got rid of the local nuget feed `make install` simply runs "dotnet pack" and `make publish` picks up the .nupkg from the sdk bin folder. The one workflow this changes is if people have pulumi programs outside pulumi/pulumi that they we're using `make install` to get a build of the dotnet sdk into. Anyone using that workflow instead needs to either: 1) Manually copy the .nupkg from the build folder to wherever they have setup their local nuget feed. 2) Change that project to refer to Pulumi via a project reference.
74 lines
2.9 KiB
XML
74 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<Authors>Pulumi</Authors>
|
|
<Company>Pulumi Corp.</Company>
|
|
<Description>The Pulumi .NET SDK lets you write cloud programs in C#, F#, and VB.NET.</Description>
|
|
<PackageProjectUrl>https://www.pulumi.com</PackageProjectUrl>
|
|
<RepositoryUrl>https://github.com/pulumi/pulumi</RepositoryUrl>
|
|
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
|
<PackageIcon>pulumi_logo_64x64.png</PackageIcon>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DocumentationFile>.\Pulumi.xml</DocumentationFile>
|
|
<NoWarn>1701;1702;1591;NU5105</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Ben.Demystifier" Version="0.4.1" />
|
|
<PackageReference Include="Grpc" Version="2.37.0" />
|
|
<PackageReference Include="Grpc.Tools" Version="2.37.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="2.9.6">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.16" />
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
|
<PackageReference Include="OneOf" Version="2.1.151" />
|
|
<PackageReference Include="Pulumi.Protobuf" Version="3.13.0" />
|
|
<PackageReference Include="semver" Version="2.0.6" />
|
|
<PackageReference Include="Serilog.Extensions.Logging" Version="3.0.1" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Protobuf Include="..\..\proto\*.proto" Access="internal" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="PublicAPI.Shipped.txt" />
|
|
<None Remove="PublicAPI.Unshipped.txt" />
|
|
<None Remove="Pulumi.xml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
|
|
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\pulumi_logo_64x64.png">
|
|
<Pack>True</Pack>
|
|
<PackagePath></PackagePath>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
</Project>
|