diff --git a/.gitignore b/.gitignore index 0432c97..fcb3bf5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,220 +1,223 @@ -################# -## Eclipse -################# - -*.pydevproject -.project -.metadata -bin/ -tmp/ -*.tmp -*.bak +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +x64/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +#NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding addin-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +_NCrunch_* +.*crunch*.local.xml + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml + +# NuGet Packages Directory +packages/ +## TODO: If the tool you use requires repositories.config uncomment the next line +#!packages/repositories.config + +# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets +# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented) +!packages/build/ + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# ========================= +# Operating System Files +# ========================= + +# OSX +# ========================= + +.DS_Store +.AppleDouble +.LSOverride + +# Icon must ends with two \r. +Icon + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Windows +# ========================= + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# +# Vim files +# +*~ *.swp -*~.nib -local.properties -.classpath -.settings/ -.loadpath - -# External tool builders -.externalToolBuilders/ - -# Locally stored "Eclipse launch configurations" -*.launch - -# CDT-specific -.cproject - -# PDT-specific -.buildpath - - -################# -## Visual Studio -################# - -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.sln.docstates - -# Build results - -[Dd]ebug/ -[Rr]elease/ -x64/ -build/ -[Bb]in/ -[Oo]bj/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch +*.dll *.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.log -*.scc - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -*.ncrunch* -.*crunch*.local.xml - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.Publish.xml -*.pubxml - -# NuGet Packages Directory -## TODO: If you have NuGet Package Restore enabled, uncomment the next line -#packages/ - -# Windows Azure Build Output -csx -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -sql/ -*.Cache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*~ -*.dbmdl -*.[Pp]ublish.xml -*.pfx -*.publishsettings - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -App_Data/*.mdf -App_Data/*.ldf - -############# -## Windows detritus -############# - -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Mac crap -.DS_Store - - -############# -## Python -############# - -*.py[co] - -# Packages -*.egg -*.egg-info -dist/ -build/ -eggs/ -parts/ -var/ -sdist/ -develop-eggs/ -.installed.cfg - -# Installer logs -pip-log.txt - -# Unit test / coverage reports -.coverage -.tox - -#Translations -*.mo - -#Mr Developer -.mr.developer.cfg -us.stackdump -AGExt/TutorialImages/EditorShow.xcf -AGExt/TutorialImages/MouseIcon.xcf -*.xcf -*.netkan +.vs diff --git a/.vs/AGExt/v15/sqlite3/storage.ide b/.vs/AGExt/v15/sqlite3/storage.ide new file mode 100644 index 0000000..f56a163 Binary files /dev/null and b/.vs/AGExt/v15/sqlite3/storage.ide differ diff --git a/AGExt.sln b/AGExt.sln index 32061a1..7418f90 100644 --- a/AGExt.sln +++ b/AGExt.sln @@ -1,20 +1,36 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Express 2012 for Windows Desktop +# Visual Studio 15 +VisualStudioVersion = 15.0.26730.8 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AGExt", "AGExt\AGExt.csproj", "{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{72516D45-C60B-4DDB-AB07-AA1D4515B3C5}" + ProjectSection(SolutionItems) = preProject + AGExt.version = AGExt.version + buildRelease.bat = buildRelease.bat + ChangeLog.txt = ChangeLog.txt + deploy.bat = deploy.bat + jenkins.txt = jenkins.txt + License.txt = License.txt + Readme.md = Readme.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.ActiveCfg = Release|Any CPU - {64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.Build.0 = Release|Any CPU + {64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.Build.0 = Debug|Any CPU {64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Release|Any CPU.ActiveCfg = Release|Any CPU {64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5B2A5FD0-17BB-4C13-9532-0478C6379FD2} + EndGlobalSection EndGlobal diff --git a/AGExt.version b/AGExt.version new file mode 100644 index 0000000..6eb79bd --- /dev/null +++ b/AGExt.version @@ -0,0 +1,31 @@ +{ + "NAME": "AGExt", + "URL": "http://ksp.spacetux.net/avc/AGExt", + "DOWNLOAD": "https://github.com/linuxgurugamer/AGExt/releases", + "GITHUB" : + { + "USERNAME" : "linuxgurugamer", + "REPOSITORY" : "AGExt" + }, + "VERSION": { + "MAJOR": 2, + "MINOR": 3, + "PATCH": 3, + "BUILD": 7 + }, + "KSP_VERSION": { + "MAJOR": 1, + "MINOR": 5, + "PATCH": 1 + }, + "KSP_VERSION_MIN": { + "MAJOR": 1, + "MINOR": 5, + "PATCH": 1 + }, + "KSP_VERSION_MAX": { + "MAJOR": 1, + "MINOR": 5, + "PATCH": 99 + } +} \ No newline at end of file diff --git a/AGExt/AGExt.csproj b/AGExt/AGExt.csproj index 2d43fd8..3854ab7 100644 --- a/AGExt/AGExt.csproj +++ b/AGExt/AGExt.csproj @@ -25,41 +25,24 @@ pdbonly false - ..\..\..\1.2.2 Dev\GameData\Diazo\AGExt\ - TRACE + bin\Release\ + + prompt 4 - - ..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\Assembly-CSharp.dll - False - - - ..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll - False - - - - - - - - - ..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\UnityEngine.dll - False - - - ..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\UnityEngine.UI.dll - False - - - + + True + True + AssemblyVersion.tt + + @@ -67,8 +50,59 @@ + + + + + TextTemplatingFileGenerator + AssemblyVersion.cs + + + + + + + + False + R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\Assembly-CSharp.dll + + + False + R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll + + + False + R:\KSP_1.5.1_dev\GameData\000_ClickThroughBlocker\Plugins\ClickThroughBlocker.dll + + + + R:\KSP_1.5.1_dev\GameData\001_ToolbarControl\Plugins\ToolbarControl.dll + + + False + R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\UnityEngine.dll + + + False + R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\UnityEngine.UI.dll + + + +set textTemplatingPath="%25ProgramFiles(x86)%25\Microsoft Visual Studio\2017\Community\Common7\IDE\texttransform.exe" + +%25textTemplatingPath%25 "$(ProjectDir)AssemblyVersion.tt" + + + +start /D D:\Users\jbb\github\AGExt /WAIT deploy.bat $(TargetDir) $(TargetFileName) + +if $(ConfigurationName) == Release ( +start /D D:\Users\jbb\github\AGExt /WAIT buildRelease.bat $(TargetDir) $(TargetFileName) +) + +