Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can I use Microsoft Visual Studio 2010 instead of 2008?

Participant ,
Jun 17, 2010 Jun 17, 2010

Hello

Can anyone tell me if I can use Visual Studio 2010 on Windows for building plugins to CS5, or if I need Visual Studio 2008?

In Sweden is hard to buy a copy of Visual Studio 2008, because 2010 has been released.

Best regards

/ Pontus Hulin

TOPICS
SDK
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Jun 21, 2010 Jun 21, 2010

Check that the resource folder makes sense. The whole thing should the former resource fork / embedded resources, but exploded into a folder of subfolders matching the types, and therein the individual resources as files.

Dirk

Translate
New Here ,
Jun 18, 2010 Jun 18, 2010

VS  2010 is unlikely to work.

No  official experiments has been done for VS 2010 and InDesign code base. An experiment was done a few days back, mostly to check out VS 2010’s  new code completion features, but ran into problems with the first two major  projects (PMRuntime and Public).

      

  • PMRuntime  needs to be upgraded whenever the base C runtime libs change, and these will  change when we switch to VS 2010. Also PMRuntime project internally builds the  mem track version of PMRuntime using VCBuild, which has been replaced by  MSBuild, so project changes are also needed.

        

  • In  case of Public, our version of Boost does not recognize VS 2010 as a valid  compiler, which is the probable cause of compilation errors in Boost related  calls.
  • Also,  some lines in one of the xcconfig files had to be reordered because variables  like ID_SDK_DIR need to be defined before usage in VS 2010.

In  response to this, an SDK like environment was set up by extracting the SDK  libs and tried to build BasicDialog:

-       -  Project  settings need to be changed (VS 2010 requires better coordination between  settings in the General panel and the settings in the Linker panel with respect  to project output dir, target name and extension)

-       -  An  error reported by mergesres.cmd effectively cancels the build.  &  An  Unknown compiler version warning (from Boost) occurs during the compilation, but  the code does compile.



The first two issues has been fixed and the project did build successfully. Once InDesign with the newly compiled BasicDialog plugin was launched, the following  system error occurred, the  BasicDialog plugin failed to load:

Conclusion: users will need to use VS 2008 only


  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Jun 18, 2010 Jun 18, 2010

Thanks for the detailed report.

Have there been any similar validation efforts with "VS 2008 Express Editions with SP1" ?

The free download is still available here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=3254C868-BCB9-412C-95C6-D100C872EC60&displaylang=en

Dirk

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 21, 2010 Jun 21, 2010

Hello Dirk

Thanks for the link, but I still have problems. I have installed the VS 2008 on a windows 7 machine. Im able to compile plugins, but they do not load in CS5. Not even the sample plugin load in InDesign CS5, and im not really sure why.

Best regards

/ Pontus

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Jun 21, 2010 Jun 21, 2010

Check that the resource folder makes sense. The whole thing should the former resource fork / embedded resources, but exploded into a folder of subfolders matching the types, and therein the individual resources as files.

Dirk

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 22, 2010 Jun 22, 2010
LATEST

Hello Dirk.

As always, your problems solving skill are exellent! After I red your post I read the porting-guides a bit more carefully. Im now up and running.

A big THANK YOU!!! I owe you one!

Best regards

/ Pontus

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines