Skip to content

Installation Instructions for BASINS Development Version

Anurag Mishra edited this page Apr 4, 2017 · 1 revision

The official released version of BASINS is available from EPA at:

https://www.epa.gov/exposure-assessment-models/basins

To get BASINS up and running in Visual Studio:

  1. Install Visual Studio 2015. The free version works fine. Visual Basic and C# are both required. If you see Git and Visual Studio GitHub extension during installation, choose both.

  2. You can clone the repository however you want to using git. Since this project uses Visual Studio 2015, I recommend the Visual Studio GitHub extension. If you did not already install it, you can get it from this page:

    https://visualstudio.github.com/

  • Launch Visual Studio 2015 and on the start page, press "Open from Source Control."
  • A sidebar will open with GitHub as an option, choose Connect under GitHub.
  • Log in with your GitHub account.
  • Under GitHub in the sidebar (which may be smaller now that you have logged in) you will see the Clone option. Click it.
  • If you see respec as a group, you can choose BASINS from it. If not, close the "Clone a GitHub Repository" window, find "Local Git Repositories" in the Team Explorer Connect sidebar, choose Clone, and specify: https://github.com/respec/BASINS.git as the URL.
  • Choose a local folder to clone into (it will create a folder named BASINS inside the folder you choose.)
  • After it takes a little time to download, BASINS will appear as an item at the bottom under Local Git Repositories.
  • Double-click BASINS under Local Git Repositories, then expand Solutions, then double-click BASINS40_15.sln to open it.
  1. Note: the next instructions assume BASINS is now in local folder dev\BASINS, adjust as needed
  2. Install BASINS from the most recent packaged version. This will install in a folder (for example, C:\BASINS41)
  3. Copy C:\BASINS41\bin into dev\BASINS and let it replace all files
  4. Open dev\BASINS\BASINS40_15.sln in Visual Studio
  5. In Build menu, open Configuration Manager.
  6. In Configuration Manager, Active solution platform: x86
  7. Scroll through the list of projects to make sure Platform is x86 for all of them.
  8. Close Configuration Manager
  9. Open Solution Explorer (which is an alternative tab to Team Explorer)
  10. In Solution Explorer, find the project BASINS15, right-click, Set as Startup Project
  11. Right-click BASINS15 again, and this time choose 'Properties'
  12. Choose the 'Debug' category on the left
  13. Set 'Start Action' to 'Start External Program'
  14. Navigate to 'dev/BASINS/bin' and select 'BASINS.exe'
  15. Build menu, Rebuild Solution.
  16. Debug menu, Start Debugging (F5)
Clone this wiki locally