After searching all over the BeCommunities site I found information that explained how to install the Wizards.
The short description of what I did was: Unzip the Wizards, which yields the following folders: ControlFiles, MDLProjectWizard, MicroStation AddInWizard, MSTNToolWizard I placed the folders in a folder I created: d:\mdlWizards (this was my choosing, not per directions) I then tweaked each of the .vsz files (in the ControlFiles folder) to look something like this: VSWIZARD 7.0 Wizard=VsWizard.VsWizardEngine.8.0 Param="WIZARD_NAME = MDLProjectWizard" Param="ABSOLUTE_PATH = d:\mdlWizards\MDLProjectWizard" Param="FALLBACK_LCID = 1033" I then copied all the files in the ControlFiles folder to C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcprojects (which would be different for people running 32-bit Windows or a different version of Visual Studio, I'm running VS2005) I then launch Visual Studio 2005 and select New, Project. Select Project Type Visual C++ and then pick one of the three Wizards: MicroStationAddInWizard, MDLProjectWizard, MSTNToolWizard. When I select a wizard and click OK it creates the project files. I then attempt to Build and that's when the trouble starts. I've tried each Wizard and each project doesn't build for different reasons. Below is what happened for MSTNToolWizard1 (default name of the project that I kept when using the Wizard). After attempting to fix each issue I tried to Build the project and got new error messages. MSTNToolWizard1 issue: Cannot open the include file mdl.h (and many others) resolution: right-clicked on Project in the Solutions Explorer and selected Properties. On the Properties I went to Configuration Properties > C/C++ > General and added C:\Program Files (x86)\Bentley\MicroStation\mdl\include into the "Additional Include Directories" field. issue: I get the error message #error: Define the Int64 types. resolution: In bentleytype.h where the error appears there is an #else / #endif section that just has the error message. I'm guessing this is because I'm on a 64-bit computer. I would think we could still build since VS is 32-bit. I commented out the #error ... line and then copied the typedef __int64 statements from the top section. This was a total guess so this may be wrong but it got me past the compiling aspect of this error. Any one know what should be here? issue: I get the error message: #error: this gen_dloadlib.h intended only for winNT resolution: I have no idea how to get around this so I just commented out the error for now. Any ideas how to do fix this properly? issue: Cannot open the include file microstationapi.h. resolution: Added C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries 1)\MicroStation\mdl\MicroStationAPI to my Additional Include Directories in the Project Settings issue: Cannot open include file MSTNToolWizard1ToolCmd.h resolution: Not to sure what to do with this one since the file doesn't see the file doesn't exist anywhere. I commented out every where it was included for now. Anyone know what to do with this? issue: CMD_MSTNTOOLWIZARD1_ACTION_PLACE (and others) undeclared identifier resolution: I'm guessing these are suppose to be in the MSTNToolWizard1ToolCmd.h I couldn't find in the last issue. At this point I quit, figuring I need to get the correct answers for the above issues first.
Any thoughts on any of this would be much appreciated.
Thanks,
Mike
Mike,
The wizards provide the set of files that you need to work with to develop applications. The build is still done using Bmake and the developer shell that is provided with the MicroStationSDK installation.
HTH,
mark anderson [Bentley]
Visit me at https://communities.bentley.com/communities/other_communities/bentley_innovation/default.aspx
Unknown said:The build is still done using Bmake
Perhaps it's not clear that Viz Studio is used mostly as an editor.
Does the developer still need to open the Bentley development shell manually? Or, has the Wizard modified the Viz Studio build command to invoke the Bentley development shell?
Regards, Jon Summers LA Solutions
The wizard is intended to create the source files that are needed to get started. The compiling is to be done in a developer shell that the user opens. No the wizard does not open a developer shell nor invoke any compiling tools. With that said there is a special case of the AddIn wizard which can be used to build .NET assemblies from with in the IDE.