Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit b5654664 authored by Harald Martini's avatar Harald Martini
Browse files

Merge branch 'ivt/NuGetPackages' into merge_1638_ivt_nuget

parents d3ea3050 5b9dfffc
No related branches found
No related tags found
No related merge requests found
......@@ -37,10 +37,12 @@
<CurrentDate>$([System.DateTime]::Now.ToString(yyy_MM_dd))</CurrentDate>
<DeployPath>$(SolutionDir)Deploy\$(CurrentDate)-VECTO-$(Version)\</DeployPath>
<DeployPath Condition="'$(Configuration)'=='MockupDeploy'">$(SolutionDir)Deploy\$(CurrentDate)-VECTO_MOCKUP-$(Version)\</DeployPath>
<NuGetPath> $(SolutionDir)Nuget\</NuGetPath>
</PropertyGroup>
<RemoveDir Directories="$(SolutionDir)Deploy" Condition="Exists('$(SolutionDir)Deploy')"/>
<RemoveDir Directories="$(NuGetPath)" Condition="Exists('$(NuGetPath)')"/>
<MakeDir Directories="$(DeployPath)"/>
<MakeDir Directories="$(NuGetPath)"/>
<ItemGroup Condition="'$(Configuration)'=='Deploy'">
<!-- All files for net45 -->
......@@ -215,6 +217,15 @@
<Copy SourceFiles="$(SolutionDir)\Documentation\User Manual Source\README for Mission Profiles Directory.txt" DestinationFiles="$(DeployPath)Mission Profiles\!! README !!.TXT"/>
<Copy SourceFiles="$(SolutionDir)\Documentation\User Manual Source\README for Declaration Directory.txt" DestinationFiles="$(DeployPath)Declaration\!! README !!.TXT"/>
<!-- NuGet Files-->
<ItemGroup Condition="'$(Configuration)'=='Deploy'">
<VectoNuget Include ="$(SolutionDir)VectoCore\VectoCore\bin\Release\*.nupkg" />
<VectoNuget Include ="$(SolutionDir)VectoCommon\VectoCommon\bin\Release\*.nupkg" />
<VectoNuget Include ="$(SolutionDir)VectoCommon\VectoHashing\bin\Release\*.nupkg" />
</ItemGroup>
<Copy SourceFiles="@(VectoNuget)" DestinationFolder ="$(NuGetPath)"/>
<PropertyGroup>
<DestinationZip>$(SolutionDir)$(CurrentDate)-VECTO-$(Version).zip</DestinationZip>
<DestinationZip Condition="'$(Configuration)'=='MockupDeploy'">$(SolutionDir)$(CurrentDate)-VECTO_MOCKUP-$(Version).zip</DestinationZip>
......
......@@ -4,6 +4,7 @@
<AssemblyName>VectoCommon</AssemblyName>
<TargetFrameworks>net45;net48;net6.0</TargetFrameworks>
<DefineConstants />
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
......
......@@ -9,6 +9,7 @@
<TargetFrameworks>net45;net48;net6.0</TargetFrameworks>
<DefineConstants />
<Configurations>Debug;Release;MockupRelease</Configurations>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
......
......@@ -6,6 +6,7 @@
<DefineConstants />
<Configurations>Debug;Release;MockupDebug;MockupRelease</Configurations>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='MockupDebug|net45|AnyCPU'">
<DebugType>full</DebugType>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment