This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have both VS2008 and VS2010 installed on my Win7 machine. I have run the lightspeed installer, but I don't see any LightSpeed Model item in my "add new item" dialog in VS2008 or VS2010. I have tried repair and uninstall/reinstall several times. |
|
|
1. Check the Data tab of the Add New Item dialog. 2. After installing, try running devenv /setup, devenv /installvstemplates and devenv /resetskippkgs from a Visual Studio command prompt (see https://www.mindscape.co.nz/forums/Thread.aspx?ThreadID=2438 if you're not sure how to do this). 3. Have a look under C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache\{your_lang}\Data (where {your_lang} is CSharp or VisualBasic) and see if you can see a folder named LightSpeedModel.zip. If you can't, check C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\{your_lang}\Data for a *file* (not folder) named LightSpeedModel.zip. 4. If you open the Film Festival sample project, can you open the .lsmodel for that in the designer? If not see https://www.mindscape.co.nz/forums/Post.aspx?ThreadID=3541&PostID=12132 as this may be your issue. 5. Are you working on a network drive? If so https://www.mindscape.co.nz/forums/Post.aspx?ThreadID=3541&PostID=12132 may again be your issue. 6. Can you confirm that the LightSpeed binaries installed correctly? Do you have a Tools > Designer folder under the LightSpeed install directory? When installing, did the installer show options for Model Designer (VS2008) and Model Designer (VS2010)? If not, then the installer was unable to detect your VS installations and we will need to investigate with you. Hope one of these helps -- if not let us know. |
|
|
Also, if this was an upgrade from a previous version of LightSpeed, please check Control Panel > Programs and Features and see if there are multiple instances of "Mindscape LightSpeed" listed there. If so please uninstall all of them and then try reinstalling the desired version. |
|
|
1. Not there in the Data tab 2. Ran all of those 3. I don't see anything in these locations. I see some zip files in "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache\CSharp\Data\1033" but not the LightSpeedModel.zip 4. I can open the Film Festival sample project, and the .lsmodel opens in the designer 5. No, this is my local hard drive 6. This was a fresh install of 3.11 Still can't do "File -> New Console Project" and then "Add New Item" to add a LightSpeed Model |
|
|
I do have the "C:\Program Files (x86)\Mindscape\LightSpeed\Tools\Designer" folder and it does have files in it |
|
|
Also, just noticed some weird folders under my root C:\ drive that were not there before, is the LightSpeed installer copying these into the wrong location?
C:\VS9InstallDir C:\VS9RootDir C:\VS10InstallDir C:\VS10RootDir |
|
|
What do you see in: ...\Common7\IDE\ItemTemplatesCache\CSharp\Data (i.e. not in the 1033 subdirectory)? The LightSpeedModel.zip folder should be in there. If it is there, what files do you see in the folder? |
|
|
Hmm, that looks like a possibility. Those are the names of internal installer variables that are meant to hold the actual VS2008 and VS2010 installation paths! Could you have a look in the registry at: HKLM\SOFTWARE\Microsoft\VisualStudio\10.0 and see if there is an InstallDir value, and at: SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS and see if there is a ProductDir value. If so can you let us know what the values are? I'm wondering if for some reason we have been unable to read the registry... (yeah, I know it sucks that we have to do this, but this is a Visual Studio issue). Also take a look in those directories and if they contain zip files and XSDs then let us know; if the worst comes to the worst, we can provide manual instructions for copying them to the required locations (though of course we would rather get everything to work out of the box!). |
|
|
In the registry under VisualStudio\10.0 I don't have any reg keys, and I don't have the \Setup\VS folder at all! Those directories under C:\*** DO have the ZIP and XSD files though, how can I manually copy them over? |
|
|
Also, not sure if it matters or not, but I always run my VS2010 with the "run as administrator" option |
|
|
*slaps own head* Sorry, I forgot you were on x64. I should have asked you to look under HKLM\SOFTWARE\Wow6432Node\Microsoft... Sorry for the bum steer. Would still be interested to know if you have the relevant keys/values under there. To manually fix things up, you will need to copy the following files: * Copy the contents of C:\VSnInstallDir under the ...\IDE directory for the relevant VS version. (Each should contain two files, each called LightSpeedModel.zip, under an ItemTemplates\lang\Data subdirectory, which should match the subdirectory structure you already have under ...\IDE.) After doing this you MUST run devenv /installvstemplates from the command prompt (for each version of VS). * Copy of the contents of C:\VSnProductDir under the ...\Microsoft Visual Studio n.0 directory. Again you should find matching directories already there so just merge the contents in. I don't think there are any registry entries or anything that depend on these files, and it sounds like you're able to load existing lsmodel files, so after this I think you should be good to go. I don't think your "run as admin" setting should cause a problem either. Let us know if you still see issues and thanks for your patience! |
|
|
reg key values are there, here are the values I have: InstallDir C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ ProductDir C:\Program Files (x86)\Microsoft Visual Studio 10.0\
After I manully copied those files over, I had to "cd" from my vs cmd prompt. It defaulted to \VC I had to cd into \Common7\IDE and then run the devenv /installvstemplates command, but it worked!
|
|