-
Notifications
You must be signed in to change notification settings - Fork 2
/
DkpWeb.csproj
57 lines (55 loc) · 3.42 KB
/
DkpWeb.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<UserSecretsId>aspnet-DkpWeb-2b015ff0-fd48-420f-9465-4b03498245a8</UserSecretsId>
<ApplicationInsightsResourceId>
/subscriptions/43a4dbcf-0619-4578-9236-be28f602d994/resourceGroups/dkp/providers/microsoft.insights/components/dinnerkillpoints</ApplicationInsightsResourceId>
<PublishReadyToRun>True</PublishReadyToRun>
</PropertyGroup>
<PropertyGroup Condition="'$(CNB_STACK_ID)' != ''">
<!--
The build pack publishes without specifying a runtime identifier:
https://github.com/GoogleCloudPlatform/buildpacks/blob/b7d38158cb7dabdb969266e029876af617820f5c/cmd/dotnet/publish/main.go#L104-L112
Which causes the following error:
NETSDK1047: Assets file '/workspaces/IdentityAwareProxy-AspNetCore/obj/project.assets.json'
doesn't have a target for 'net7.0/linux-x64'. Ensure that restore has run and that you have
included 'net7.0' in the TargetFrameworks for your project. You may also need to include
'linux-x64' in your project's RuntimeIdentifiers.
The workaround is to define the RID in the project file.
-->
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<!--
Specifying the RID changes the build to be self-contained by default currently.
Also it prints a warning about the behavior changing.
Switch back to a self-contained publish.
-->
<SelfContained>false</SelfContained>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BuildBundlerMinifier" Version="3.2.449" />
<PackageReference Include="MailKit" Version="2.12.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Include="Microsoft.AspNetCore.AzureAppServices.HostingStartup" Version="6.0.18" />
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="6.0.18" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.18" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.18" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.18" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.18" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.18">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.18" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.18">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="6.0.18" />
<PackageReference Include="Sakura.AspNetCore.Mvc.PagedList" Version="3.0.2" />
<PackageReference Include="Sakura.AspNetCore.PagedList" Version="2.0.2" />
<PackageReference Include="MSBuildGitHash" Version="2.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>