diff --git a/Directory.Build.props b/Directory.Build.props index f83ea00b33942934b4047f8a3dd232653a4b0306..b9e9577cd23a3b9c1b1deb133a629690cec45fed 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -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 diff --git a/Directory.Build.targets b/Directory.Build.targets index fe6c0fe1b6f059938962abdf4cbdc34a04378b44..adb0bbe5ce19a05275019ed062324e91848e840d 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -10,7 +10,7 @@ <Target Name="AfterBuild" Condition="'$(Configuration)'=='Deploy'"> - <Exec Command="cscript "$(solutiondir)documentation\user manual source\convertpptxtopdf.vbs" "$(solutiondir)documentation\user manual source\release notes vecto3.x.pptx" "$(solutiondir)documentation\user manual source\release notes vecto3.x.pdf""/> + <Exec Command="cscript "$(SolutionDir)documentation\user manual source\convertpptxtopdf.vbs" "$(SolutionDir)documentation\user manual source\release notes vecto3.x.pptx" "$(SolutionDir)documentation\user manual source\release notes vecto3.x.pdf""/> <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 diff --git a/VECTO.sln b/VECTO.sln index 1d76fea814b93e823b575d10b4901861112dbbba..38119df7b8760691ca111fdeedee85ef88184aff 100644 --- a/VECTO.sln +++ b/VECTO.sln @@ -1,7 +1,7 @@  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 diff --git a/VECTO/VECTO.vbproj b/VECTO/VECTO.vbproj index 4ddff89c0fe8c3a1ee4a068e2c3cedc03a1f14b5..80c3048ca9208e3e6a992e75997d868f19c94a9c 100644 --- a/VECTO/VECTO.vbproj +++ b/VECTO/VECTO.vbproj @@ -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>