blob: 9d9f6b3c82889bde22ae3fa620081d6442fd04d0 [file] [log] [blame]
Constantin Zieschefa612082020-04-03 09:54:56 +02001<Project Sdk="Microsoft.NET.Sdk.Web">
2
3 <PropertyGroup>
Constantin Zieschece276602020-10-27 09:36:00 +01004 <TargetFrameworks>netstandard2.0</TargetFrameworks>
Constantin Zieschefa612082020-04-03 09:54:56 +02005 <OutputType>Library</OutputType>
6 <Authors>Constantin Ziesche</Authors>
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +02007 <Copyright>Copyright 2021 - Robert Bosch GmbH</Copyright>
Constantin Zieschefa612082020-04-03 09:54:56 +02008 <PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl>
9 <RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl>
10 <PackageLicenseUrl></PackageLicenseUrl>
11 <Description>The official BaSyx HTTP Controller AASX Package Service</Description>
12 <Company>Robert Bosch GmbH</Company>
13 <PackageTags>BaSys BaSyx HTTP API Controllers AASX Package</PackageTags>
14 <PackageLicenseExpression>EPL-2.0</PackageLicenseExpression>
15 <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
16 <PackageIcon>basyxlogo.png</PackageIcon>
Constantin Zieschece276602020-10-27 09:36:00 +010017 <LangVersion>8.0</LangVersion>
Constantin Ziesche0399d412020-09-24 14:31:15 +020018 <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
Constantin Zieschece276602020-10-27 09:36:00 +010019 <GenerateDocumentationFile>true</GenerateDocumentationFile>
Constantin Zieschefa612082020-04-03 09:54:56 +020020 <IsPackable>true</IsPackable>
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020021 <Configurations>Debug;Release</Configurations>
Constantin Zieschefa612082020-04-03 09:54:56 +020022 </PropertyGroup>
23
Constantin Zieschefa612082020-04-03 09:54:56 +020024 <ItemGroup>
Constantin Zieschece276602020-10-27 09:36:00 +010025 <EmbeddedResource Include="$(AssemblyName).xml" />
Constantin Ziesche9ca87782020-04-03 12:06:02 +020026 </ItemGroup>
27
Constantin Zieschece276602020-10-27 09:36:00 +010028 <PropertyGroup>
29 <DocumentationFile>$(AssemblyName).xml</DocumentationFile>
30 </PropertyGroup>
31
Constantin Zieschefa612082020-04-03 09:54:56 +020032 <ItemGroup>
Constantin Zieschece276602020-10-27 09:36:00 +010033 <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020034 <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.5" />
Constantin Zieschefa612082020-04-03 09:54:56 +020035 </ItemGroup>
36
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020037 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
38 <DebugType>full</DebugType>
39 <DebugSymbols>true</DebugSymbols>
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020040 </PropertyGroup>
41
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020042 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWithNuGet|AnyCPU'">
43 <DebugType>full</DebugType>
44 <DebugSymbols>true</DebugSymbols>
45 </PropertyGroup>
46
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020047 <ItemGroup>
48 <None Include="..\..\resources\basyxlogo.png">
49 <Pack>True</Pack>
50 <PackagePath></PackagePath>
51 </None>
52 </ItemGroup>
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020053
54 <ItemGroup>
55 <ProjectReference Include="..\..\basyx-core\BaSyx.API\BaSyx.API.csproj" />
56 <ProjectReference Include="..\..\basyx-core\BaSyx.Models.Export\BaSyx.Models.Export.csproj" />
57 </ItemGroup>
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020058
59 <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
60 <Exec Command="IF EXIST %25BASYX_REPO%25 ( dotnet pack &quot;$(ProjectPath)&quot; -c Release --no-build --include-source --include-symbols --output &quot;%25BASYX_REPO%25&quot; ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" />
Constantin Zieschefa612082020-04-03 09:54:56 +020061 </Target>
62
63</Project>