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

Skip to content
Snippets Groups Projects
Commit 966dee19 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Added Deploy Target and change TargetFramework settings to better work with Visual Studio

parent 0039d3c1
No related branches found
No related tags found
No related merge requests found
......@@ -41,4 +41,13 @@
<DebugSymbols>true</DebugSymbols>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Deploy'">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<RemoveIntegerChecks>true</RemoveIntegerChecks>
<WarningLevel>1</WarningLevel>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -10,7 +10,7 @@
<Target Name="AfterBuild" Condition="'$(Configuration)'=='Deploy'">
<Exec Command="cscript &quot;$(solutiondir)documentation\user manual source\convertpptxtopdf.vbs&quot; &quot;$(solutiondir)documentation\user manual source\release notes vecto3.x.pptx&quot; &quot;$(solutiondir)documentation\user manual source\release notes vecto3.x.pdf&quot;"/>
<Exec Command="cscript &quot;$(SolutionDir)documentation\user manual source\convertpptxtopdf.vbs&quot; &quot;$(SolutionDir)documentation\user manual source\release notes vecto3.x.pptx&quot; &quot;$(SolutionDir)documentation\user manual source\release notes vecto3.x.pdf&quot;"/>
<PropertyGroup>
<CurrentDate>$([System.DateTime]::Now.ToString(yyy_MM_dd))</CurrentDate>
<DeployPath>$(SolutionDir)Deploy\$(CurrentDate)-VECTO-$(Version)\</DeployPath>
......@@ -118,8 +118,4 @@
<Copy SourceFiles="$(SolutionDir)\Documentation\User Manual Source\README for Declaration Directory.txt" DestinationFiles="$(DeployPath)Declaration\!! README !!.TXT"/>
<ZipDirectory SourceDirectory="$(SolutionDir)Deploy\" DestinationFile="$(SolutionDir)$(CurrentDate)-VECTO-$(Version).zip" Overwrite="true"/>
</Target>
<Target Name="CleanVectoDeploy" AfterTargets="Clean">
<RemoveDir Directories="$(SolutionDir)Deploy" Condition="Exists('$(SolutionDir)Deploy')"/>
</Target>
</Project>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31112.23
# Visual Studio Version 17
VisualStudioVersion = 17.1.32414.318
MinimumVisualStudioVersion = 10.0.40219.1
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "VECTO", "VECTO\VECTO.vbproj", "{AAC0F132-0A9F-45B3-B682-77AC9B24B352}"
ProjectSection(ProjectDependencies) = postProject
......
......@@ -8,10 +8,8 @@
<OptionStrict>On</OptionStrict>
<UseWindowsForms>true</UseWindowsForms>
<MyType>WindowsForms</MyType>
<TargetFrameworks>net45;net48;net6.0-windows</TargetFrameworks>
<!-- The GUI Editor of Visual Studio 2019 has problems with multitargets.
If you want to change GUI stuff, then only use one target (uncomment the following line): -->
<!--<TargetFrameworks>net45</TargetFrameworks>-->
<TargetFrameworks>net6.0-windows</TargetFrameworks>
<TargetFrameworks Condition="'$(Configuration)' == 'Release'">net45;net48;net6.0-windows</TargetFrameworks>
<DefineTrace>false</DefineTrace>
<DefineConstants />
</PropertyGroup>
......
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