forked from Altinn/altinn-studio
/
App.csproj
47 lines (41 loc) · 1.77 KB
/
App.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
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<AssemblyName>Altinn.App</AssemblyName>
<RootNamespace>Altinn.App</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Altinn.App.Api" Version="5.0.0">
<CopyToOutputDirectory>lib\$(TargetFramework)\*.xml</CopyToOutputDirectory>
</PackageReference>
<PackageReference Include="Altinn.App.Common" Version="5.0.0" />
<PackageReference Include="Altinn.App.PlatformServices" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="5.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\css\" />
<Folder Include="wwwroot\script\" />
</ItemGroup>
<ItemGroup>
<None Update="config\process\process.bpmn">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="JWTValidationCert.cer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="**\RuleHandler.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>
<Target Name="CopyXMLFromPackagesForBuild" AfterTargets="Build">
<ItemGroup>
<PackageReferenceFiles Condition="%(PackageReference.CopyToOutputDirectory) != ''" Include="$(NugetPackageRoot)$([MSBuild]::Escape('%(PackageReference.Identity)').ToLower())/%(PackageReference.Version)/%(PackageReference.CopyToOutputDirectory)" />
</ItemGroup>
<Copy SourceFiles="@(PackageReferenceFiles)" DestinationFolder="$(OutDir)" />
</Target>
</Project>