blob: 96638da6ed99e60c60b92e7b9fca6f569f8c266d [file] [log] [blame]
Constantin Zieschefa612082020-04-03 09:54:56 +02001<Project Sdk="Microsoft.NET.Sdk.Web">
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01002 <PropertyGroup>
Constantin Zieschece276602020-10-27 09:36:00 +01003 <TargetFrameworks>netstandard2.0</TargetFrameworks>
Constantin Zieschefa612082020-04-03 09:54:56 +02004 <OutputType>Library</OutputType>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01005 <Authors>Constantin Ziesche</Authors>
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +02006 <Copyright>Copyright 2021 - Robert Bosch GmbH</Copyright>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01007 <PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl>
8 <RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl>
9 <PackageLicenseUrl></PackageLicenseUrl>
10 <Description>The official BaSyx HTTP Controller Collection</Description>
11 <Company>Robert Bosch GmbH</Company>
12 <PackageTags>BaSys BaSyx HTTP API Controllers</PackageTags>
13 <PackageLicenseExpression>EPL-2.0</PackageLicenseExpression>
14 <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
15 <PackageIcon>basyxlogo.png</PackageIcon>
Constantin Zieschece276602020-10-27 09:36:00 +010016 <LangVersion>8.0</LangVersion>
Constantin Ziesche0399d412020-09-24 14:31:15 +020017 <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
Constantin Zieschece276602020-10-27 09:36:00 +010018 <GenerateDocumentationFile>true</GenerateDocumentationFile>
Constantin Zieschefa612082020-04-03 09:54:56 +020019 <IsPackable>true</IsPackable>
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020020 <Configurations>Debug;Release</Configurations>
Constantin Zieschefa612082020-04-03 09:54:56 +020021 </PropertyGroup>
22
Constantin Ziesche7b6d4792020-08-18 17:15:11 +020023 <ItemGroup>
Constantin Zieschece276602020-10-27 09:36:00 +010024 <EmbeddedResource Include="$(AssemblyName).xml" />
25 </ItemGroup>
26
27 <PropertyGroup>
28 <DocumentationFile>$(AssemblyName).xml</DocumentationFile>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010029 </PropertyGroup>
30
31 <ItemGroup>
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020032 <PackageReference Include="NLog.Web.AspNetCore" Version="4.12.0" />
33 <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.5" />
Constantin Ziesche9ca87782020-04-03 12:06:02 +020034 <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
35 </ItemGroup>
36
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020037 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
38 <DebugType>full</DebugType>
39 <DebugSymbols>true</DebugSymbols>
40 </PropertyGroup>
41
42 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWithNuGet|AnyCPU'">
43 <DebugType>full</DebugType>
44 <DebugSymbols>true</DebugSymbols>
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020045 </PropertyGroup>
46
47 <ItemGroup>
48 <None Include="..\..\resources\basyxlogo.png">
49 <Pack>True</Pack>
50 <PackagePath></PackagePath>
51 </None>
52 </ItemGroup>
53
Constantin Ziesche8cb6a292021-06-23 00:48:17 +020054 <ItemGroup>
55 <ProjectReference Include="..\..\basyx-core\BaSyx.API\BaSyx.API.csproj" />
56 </ItemGroup>
57
Constantin Ziesche8ef04aa2021-05-03 15:31:29 +020058 <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
59 <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 Ziesche857c7ab2020-02-25 11:24:51 +010060 </Target>
61
62</Project>