diff --git a/.gitignore b/.gitignore index 6cdee4b..75742ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,27 @@ *.DS_Store *.msm +*.opensdf *.sdf *.snk *.suo +*.swp +*.user +*.*~ +.vs/ Debug*/ Debug/ +Master/ipch/ Master/UC2/UC2_i.c Master/UC2/UC2_i.h Master/UC2/UC2_p.c Master/UC2/dlldata.c Master/packages/ +Master/test/Flash_Example/trunk/ACM/AM_Flash_Example/ +Master/test/LongRun/ACM/AM_long +Master/test/gPROMStest/input/ +Master/test/gPROMStest/sinterInput.xml +Master/test/models/SimpleExcelTest/test-ouputs.json Release*/ SimSinter-Build.trx ccsi_W7-BUILD* +Administrator_WIN-*/ diff --git a/Master/SimSinter.sln b/Master/SimSinter.sln index 68bcc7e..396d845 100644 --- a/Master/SimSinter.sln +++ b/Master/SimSinter.sln @@ -34,6 +34,9 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VariableTree", "VariableTree\VariableTree.csproj", "{91A832D4-F4D3-463A-AE9B-86EA66A7E94A}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sinter", "Sinter\Sinter.csproj", "{7AA14B52-B1B5-4B84-A884-48F0E6710AC4}" + ProjectSection(ProjectDependencies) = postProject + {9C401C39-FE2D-4D9F-B085-24591DEFE125} = {9C401C39-FE2D-4D9F-B085-24591DEFE125} + EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UC2", "UC2\UC2.vcxproj", "{9C401C39-FE2D-4D9F-B085-24591DEFE125}" EndProject @@ -41,13 +44,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UC2PS", "UC2\UC2PS.vcxproj" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DefaultBuilder", "DefaultBuilder\DefaultBuilder.csproj", "{5D744A9E-5ACD-4FCC-910A-7E3D5640F284}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{1E46E861-5105-4388-B2D0-F182634A14E3}" - ProjectSection(SolutionItems) = preProject - .nuget\NuGet.Config = .nuget\NuGet.Config - .nuget\NuGet.exe = .nuget\NuGet.exe - .nuget\NuGet.targets = .nuget\NuGet.targets - EndProjectSection -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataGrid2DLibrary", "DataGrid2DLibrary\DataGrid2DLibrary.csproj", "{7D76D9E7-AF25-4AA5-995B-E1A526F192EA}" EndProject Global diff --git a/Master/SinterRegressionTests/app.config b/Master/SinterRegressionTests/app.config index 27bcbc7..acf9119 100644 --- a/Master/SinterRegressionTests/app.config +++ b/Master/SinterRegressionTests/app.config @@ -8,46 +8,46 @@ - ..\..\..\test\models\SimpleExcelTest\exceltest-sinter.json + ..\..\..\SimSinter\Master\test\models\SimpleExcelTest\exceltest-sinter.json - ..\..\..\test\models\SimpleExcelTest\exceltest-defaults.json + ..\..\..\SimSinter\Master\test\models\SimpleExcelTest\exceltest-defaults.json - ..\..\..\test\models\SimpleExcelTest\exceltest-inputs.json + ..\..\..\SimSinter\Master\test\models\SimpleExcelTest\exceltest-inputs.json - ..\..\..\test\models\SimpleExcelTest\test-ouputs.json + ..\..\..\SimSinter\Master\test\models\SimpleExcelTest\test-ouputs.json - ..\..\..\test\models\SimpleExcelTest\outputs-canonical.json + ..\..\..\SimSinter\Master\test\models\SimpleExcelTest\outputs-canonical.json - ..\..\..\test\UnitsTest\unitstest-sinter.json + ..\..\..\SimSinter\Master\test\UnitsTest\unitstest-sinter.json - ..\..\..\test\UnitsTest\unitstest-inputs.json + ..\..\..\SimSinter\Master\test\UnitsTest\unitstest-inputs.json ..\..\UnitsTest\ - ..\..\..\test\Flash_Example\trunk\ACM\Flash_Example_ACM.json + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\ACM\Flash_Example_ACM.json - ..\..\..\test\Flash_Example\trunk\Aspen_Plus\Flash_Example_AP.json + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\Aspen_Plus\Flash_Example_AP.json - ..\..\..\test\Flash_Example\trunk\Aspen_Plus\Flash_Example_AP.json + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\Aspen_Plus\Flash_Example_AP.json - ..\..\..\test\Flash_Example\trunk\Aspen_Plus\Flash_Example.bkp + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\Aspen_Plus\Flash_Example.bkp - ..\..\..\test\Flash_Example\trunk\Aspen_Plus\Flash_Example_AP.json + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\Aspen_Plus\Flash_Example_AP.json - ..\..\..\test\Flash_Example\trunk\ACM\Flash_Example_ACM.json + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\ACM\Flash_Example_ACM.json Flash_Example_ACM.json @@ -56,34 +56,34 @@ Flash_Example_AP.json - ..\..\..\test\Flash_Example\trunk\ACM + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\ACM - ..\..\..\test\Flash_Example\trunk\Aspen_Plus\ + ..\..\..\SimSinter\Master\test\Flash_Example\trunk\Aspen_Plus\ - ..\..\..\SinterExcelTest\models\SimpleExcelTest\exceltest.xlsm + ..\..\..\SimSinter\Master\SinterExcelTest\models\SimpleExcelTest\exceltest.xlsm - ..\..\..\test\LongRun\ACM\long.json + ..\..\..\SimSinter\Master\test\LongRun\ACM\long.json long.json - ..\..\..\test\LongRun\ACM\ + ..\..\..\SimSinter\Master\test\LongRun\ACM\ - ..\..\..\test\LongRun\AP\long.json + ..\..\..\SimSinter\Master\test\LongRun\AP\long.json long.json - ..\..\..\test\LongRun\AP + ..\..\..\SimSinter\Master\test\LongRun\AP - ..\..\..\test\DynamicTest + ..\..\..\SimSinter\Master\test\DynamicTest BFB.json @@ -95,13 +95,13 @@ Inputs_2.json - ..\..\..\test\gPROMStest\BufferTank_FO.json + ..\..\..\SimSinter\Master\test\gPROMStest\BufferTank_FO.json BufferTank_FO.json - ..\..\..\test\gPROMStest + ..\..\..\SimSinter\Master\test\gPROMStest diff --git a/Master/UC2/UC2.vcxproj b/Master/UC2/UC2.vcxproj index f6f42df..6f20c02 100755 --- a/Master/UC2/UC2.vcxproj +++ b/Master/UC2/UC2.vcxproj @@ -136,6 +136,12 @@ + + "C:\Windows\System32\regsvr32.exe" /s "$(TargetPath)" + + + Register UC2Lib COM + diff --git a/make.bat b/make.bat index 7bbe87a..874a4e3 100644 --- a/make.bat +++ b/make.bat @@ -12,13 +12,17 @@ REM - NuGet Package Manager REM - Wix Toolset v3.10 REM Copy installer files to local directory -copy "C:\Program Files\Common files\Merge Modules\Microsoft_VC110_CRT_x86.msm" Master\CCSIUnitsInstaller -copy "C:\Program Files\Common files\Merge Modules\Microsoft_VC110_ATL_x86.msm" Master\CCSIUnitsInstaller +REM - this didn't work - copy "C:\Program Files\Common files\Merge Modules\Microsoft_VC110_CRT_x86.msm" Master\CCSIUnitsInstaller +REM - this didn't work - copy "C:\Program Files\Common files\Merge Modules\Microsoft_VC110_ATL_x86.msm" Master\CCSIUnitsInstaller +copy "C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC110_CRT_x86.msm" Master\CCSIUnitsInstaller +copy "C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC110_ATL_x86.msm" Master\CCSIUnitsInstaller REM Compile the UC2 udunits2 library cd Master\UC2\udunits2 cmake clean . cmake --build . --config Release +copy expat\Release\expat.dll C:\Windows\expat.dll +copy lib\Release\udunits2.dll C:\Windows\udunits2.dll cd ..\..\.. REM Get SimSinter dependencies @@ -27,7 +31,7 @@ nuget.exe restore Master REM Compile the SimSinter project REM MSBuild.exe must be in the PATH -MSBuild.exe /t:Clean Master\SimSinter.sln +MSBuild.exe /t:Clean /p:Configuration=Release Master\SimSinter.sln MSBuild.exe /p:Configuration=Release Master\SimSinter.sln REM Run the Tests @@ -37,4 +41,4 @@ REM Delete the previous test results if EXIST SimSinter-Build.trx. ( del SimSinter-Build.trx ) -MSTest.exe /resultsfile:SimSinter-Build.trx /test:SinterRegressionTests.SinterInputTests.ParseVariableTest /testcontainer:C:\Jenkins\workspace\SimSinter\Master\SinterRegressionTests\bin\Release\SinterRegressionTests.dll +MSTest.exe /resultsfile:SimSinter-Build.trx /testcontainer:Master\SinterRegressionTests\bin\Release\SinterRegressionTests.dll