Not able to use Visual studio 2010 editor intelligence while running SDK sample code ?

whenevr i start sdk sample project in visual studio i can build it ,debug it ,run it but the problem is that VS 2010 editor showing lots of red lines under many lines of code which on Mouse hover show some kind of error(mostly _____ is undefined) moreover i am not able to use intelligence feature of VS editor and i have to check reference of SDK everey time .what is the solution to this problem .

1. Create environment variable INDESIGN_SDK_DIR with path to root folder of your SDK
e.x  INDESIGN_SDK_DIR = "C:\SDK\InDesignCS6SDK"
2. In your project add this to project settings:
"VSProject"->"Proporties"->"Configuration Proporties"->"VC++ Directories"->"Executable Directories" add:
$(INDESIGN_SDK_DIR)\devtools\bin
"VSProject"->"Proporties"->"Configuration Proporties"->"C++"->"General"->"Additional Include Directories" add:
$(INDESIGN_SDK_DIR)\source\precomp\msvc;
$(INDESIGN_SDK_DIR)\source\public\interfaces\xmedia;
$(INDESIGN_SDK_DIR)\source\public\interfaces\preflight;
$(INDESIGN_SDK_DIR)\source\public\interfaces\ui;
$(INDESIGN_SDK_DIR)\source\public\interfaces\tables;
$(INDESIGN_SDK_DIR)\source\public\interfaces\text;
$(INDESIGN_SDK_DIR)\source\public\interfaces\graphics;
$(INDESIGN_SDK_DIR)\source\public\libs\widgetbin\includes;
$(INDESIGN_SDK_DIR)\source\public\interfaces\workgroup;
$(INDESIGN_SDK_DIR)\source\public\interfaces\interactive;
$(INDESIGN_SDK_DIR)\source\public\interfaces\interactive\ui;
$(INDESIGN_SDK_DIR)\source\public\interfaces\colormgmt;
$(INDESIGN_SDK_DIR)\source\public\interfaces\utils;
$(INDESIGN_SDK_DIR)\source\public\interfaces\incopy;
$(INDESIGN_SDK_DIR)\source\public\interfaces\layout;
$(INDESIGN_SDK_DIR)\source\public\interfaces\architecture;
$(INDESIGN_SDK_DIR)\source\public\interfaces\cjk;
$(INDESIGN_SDK_DIR)\source\precomp\common;
$(INDESIGN_SDK_DIR)\source\public\includes;
$(INDESIGN_SDK_DIR)\source\public\libs\publiclib\plugins;
$(INDESIGN_SDK_DIR)\source\public\libs\publiclib\files;
$(INDESIGN_SDK_DIR)\source\public\libs\publiclib\objectmodel;
$(INDESIGN_SDK_DIR)\external\asl\boost_libraries;
$(INDESIGN_SDK_DIR)\source\sdksamples\common;
$(INDESIGN_SDK_DIR)\external\afl\includes
"VSProject"->"Proporties"->"Configuration Proporties"->"Linker"->"General"->"Additional Library Directories" add:
$(INDESIGN_SDK_DIR)\build\win\objr;
$(INDESIGN_SDK_DIR)\external\afl\libs\win\release;
$(INDESIGN_SDK_DIR)\external\icu\libs\win\release
"VSProject"->"Proporties"->"Configuration Proporties"->"Linker"->"Input"->"Additional Dependencies" add:
PMRuntime.lib;
Public.lib;
WidgetBin.lib;
AFL.lib;

Similar Messages

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • I have VMware Fusion installed on my computer along with windows 7. I'm able to use Visual Studios 2012

    I have VMware Fusion installed on my computer along with windows 7. I’m able to use Visual Studios 2012 & 2013; however, when I try to install SQL Server is says I don’t have a valid installation folder.  So I guess my question is, can you install SQL Server to a MAC?
    Thanks!

    Make sure you have the right version...
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications

  • Is it possible to use Firefox to debug javascript files when running a web application using visual studio 2010

    I am trying to debug a ASP.Net web application within visual studio 2010 using Firefox. I am able to set breakpoints in my C# code and they work but if I set a breakpoint in a javascript file then these do not work when using Firefox. Is there any way to do this?

    Of course you can. I use the VS2010 built-in Javascript debug tool a lot, not only for IE, but also for firefox.
    I encountered the "break point not working" issue several times, according to my experience, following is the solution to this problem, give them a shot:
    1. There maybe errors in your javascript code, have a close look at your code, try to find the errors or eliminate this possibility.
    2. Sometimes you have to refresh the page once after the page is loaded the first time. This solves the problem most of the time.

  • How to Create Custom Timer Job for SharePoint 2010 using Visual Studio 2010?

    While creating timer job Visual Studio showing some kind of error and assembly issues.

    Hi Aryav
    Please provide the errors so that we can resolve your issue.
    Meanwhile go through the step by step process of creation of Timer Job in the articles given below.
    Create and Deploy Custom Timer Job Definition in SharePoint Programatically
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

  • Provision a document library definition with managed metadata column using Visual Studio 2010 designer

    hi all,
    how can i create a document library with a managed metadata column and lookup column .
     what  should be the  type for managed metadata column ? is it "Taxonomy", if yes how can i enter the term set values which should be populated by default.
    also would like to know how to refer the parent list / column[field] in the loopkup field
    help is appreciated!
    thnx

    Hi,
    To add a Managed Metadata field into the list definition, you can take a look at the link below with steps in details about the same requirement.
    http://gheckoplus.blogspot.com/2011/10/how-to-sharepoint-2010-list-definition.html
    For the Lookup field:
    http://abdulazizfarooqi.wordpress.com/2012/08/17/provisioning-lookup-field-in-sharepoint-2010-lookup-field-in-the-list-in-sharepoint-2010/
    http://ronsp.wordpress.com/2011/04/27/declaratively-adding-a-lookup-field-to-a-list-schema-using-customschema-attribute-in-listinstance/
    What’s more, if you have several questions to ask, I suggest you post them into every single thread to make them easier to be discussed in the forum.
    Best regards
    Patrick Liang
    TechNet Community Support

  • HT1725 I am not able to use my iTunes gift card money while playing "fairway solitaire". Help please

    I am unable to use my ITunes gift card while playing Fairway Solitaire.  I need help.

    Contact iTunes:
    Apple - Support - iTunes - Contact Us

  • Deploing a BDC Model project to SharePoint Foundation 2010 usinging Visual Studio 2010

    Hello,
    I am tring to deploy external content type to Sharepoint 2010 foundation using Visual studio 2010 and I followed this:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx
    after completing procedure I have tried do deploy solution but I always get this exception:
     Error 1 Error occurred in deployment step 'Add Solution': Access denied by Business Data Connectivity.
        Error was encountered at or just before Line: '0' and Position: '0'.
      0 0 BdcModelProjectTest
    I have tried to grant myself permissions in Sharepoint central administration (
    http://blogs.msdn.com/b/ericwhite/archive/2010/06/11/access-denied-by-business-data-connectivity.aspx ) but when I click ok I get this exception
    No windows identity for damain\username. 0a193cf4-3811-4aa8-a657-0de3b8be3793
    07/04/2011 16:46:46.31  w3wp.exe (0x0828)                        0x1414 Business Connectivity Services Business Data                
     g0k9 High     Access Denied for User '0#.w|damain\username, which may be an impersonation by damain\username
    I am really hopeless, can anyone help?

    Hi,
    It seems that an account are you using to deploy solution doesn't have sufficient permission in the BDC Metadata Store. In order to assign permission you should open Central Administration->Application Management->Manage Service Application->Business
    Data Connectivity Service->Click Set Metada Store Permission on the ribbon->Set Permission you need and tick the checkbox "Propagate permission to all..."
    Dmitry
    Lightning
    Tools Check out our SharePoint tools and web parts

  • Visual Studio 2010 and SharePoint Foundation 2010

    From a development perspective, if I have a Windows 2007 Operating System and download Sharepoint Foundation 2010, can I develop web parts using Visual Studio 2010?  Are there other components I need?
    When we convert to SharePoint Server 2013 in production, is there a version of VS that will allow me to remotely access that server? 

    Hi,
    If your server have already installed the SharePoint Foundation 2010, we can develop web parts using Visual Studio 2010/2012/2013.
    If you want to convert to SharePoint Server 2013 in production, you need use Visual Studio 2012/2013 and install Microsoft Office Developer Tools for Visual Studio 2012 which can be found here:
    http://www.microsoft.com/visualstudio/eng/office-dev-tools-for-visual-studio (direct install :
    http://aka.ms/OfficeDevToolsForVS2012).
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Runtime Distribution for Crystal reports for Visual Studio 2010 framework 4

    Hi,
    Where can I find the msi for installing runtime distribution for asp.net web application that was created using visual studio 2010?
    Thanks.
    Rosa.

    MSM     
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0.zip
    MSI 32 bit     
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip
    MSI 64 bit     
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Is ODAC 11.2 Release 4 (11.2.0.3.0) XCopy support Visual Studio 2010 sp1?

    I download and installed "ODAC112030Xcopy_32bit.zip" on Windows7 64bit machine according to the included readme.htm (added c:\oracle and c:\oracle\bin to environment variables, added ORACLE_HOME and ORACLE_HOME_KEY registry), but while I try to add ADO.NET Entity Data Model, I cannot find the Oracle ODP.Net provider list in wizard.
    I didn't install "Oracle Developer Tools for Visual Studio", is it a must for EntityFramework? Or something else I missed?

    Hi,
    Yes, you need to install the Oracle Developer Tools for Visual Studio in the 32-bit home in order to use the Entity Framework tools with Visual Studio 2010.
    Feature for 11.2.0.3.0 R4 ODT:
    Entity Framework Designers and Wizards: Use Visual Studio 2010's Entity Designer for Database First and Model First object-relational mapping
    Regards
    Jenny
    Edited by: jbesaw on Mar 16, 2012 12:03 PM

  • How to manage a connection with powershell using visual studio with C#

    Hi
     I want to manage a connection with powershell for a web app using visual studio with c#. and also run command with pipeline 
    Plz give a some suggestions..

    Hi Raj_Kumar_Saini,
    To make things clear, could you please clarify these thing?
    1. Do you mean you want to execute some PowerShell scripts from C# language? These blogposts may give you  some ideas:
    Executing PowerShell scripts from C#
    Powershell Automation and Remoting (a c# love story)
    Execute PowerShell from a ASP.NET Web Application
    2. Is your question related to Visual Studio Integration? Do you want to build a Visual Studio Extension?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sharepoint 2010 Remote Development using Visual Studio 2013 Connection Errors

    I have a customer who is using a custom skinned site developed in Sharepoint 2010.
    I am trying to debug a webpart that is not loading on a page.
    My Environment:
    Local Laptop running Win 7 64 Enterprise, Visual Studio 2013, and Sharepoint Designer 2010.
    I connect to the customers network via VPN and use RDP to access the server. I have Admin rights to the server.
    Everything that I have read indicates that Web Part dev has to be done in VS. When I try to connect using server explorer, VS kicks back a 'Server Can not be found' error.
    I have tried using the computer name, the app url listed in SP Central Admin, the IP address of the box, and the actual URL of the site. However, VS can not connect to the server.
    I have done some homework on connecting VS to a remote machine:
    Adding New Servers in Server Explorer
    http://msdn.microsoft.com/en-us/library/edfcxas2%28v=vs.71%29.ASPX
    Add Server Dialog Box
    http://msdn.microsoft.com/en-us/library/107b72aa%28v=vs.71%29.ASPX
    SharePoint -how to connect remotely to production server
    http://stackoverflow.com/questions/3188364/sharepoint-how-to-connect-remotely-to-production-server
    SharePoint 2010 Development with Visual Studio
    http://stackoverflow.com/questions/10529917/sharepoint-2010-development-with-visual-studio
    Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
    http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
    Using SharePoint Designer 2010 to Work with Web Parts
    http://msdn.microsoft.com/en-us/library/ff630941%28v=office.14%29.aspx#odc_sp14_qn_UsingSharePointDesigner2010WorkwithWebParts_CreateXSLTListView
    The last connection article is confusing because one of the SO answers indicates that you do not need to have SP2010 installed.
    I have been doing lots of reading on SP structure, and it seems to jump all over the place. (Or at least my research does). I have been reading this Ebook:
    SharePoint 2010 Development with Visual Studio 2010
    http://books.google.com/books/about/SharePoint_2010_Development_with_Visual.html?id=TVKICs4vHTcC
    My questions are:
    Why cant I connect to the Server if I connected through VPN which would inherently make the server a local network computer?
    Do I need to have VS installed on the actual server? I read that I can install Sharepoint Foundation locally and this will give me access to the server in VS.
    Do I need to have the full version of VS installed in order to use Remote Tools?
    For the Web Parts:
    Why cant I see the web parts in Sharepoint Designer? I take it they are exclusively designed in VS, which brings me back to the questions above.
    In Sharepoint Designer, I can see a custom view that was created from a custom list. I want to add that list to the page where the web part isnt working. When I open up the Edit Interface, and try to find that list, it does not display in the 'Lists and Libraries'
    menu

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Able to connect the visual studio 2010 to Remote SharePoint 2010 server?

    Able to connect the visual studio 2010 to Remote SharePoint 2010 server?
    l
    I researched the result value is null,
    They asking to try in another method like
    SharePoint Redistributable,
    SharePoint SDK.
     Any possible ways to connect the remote SharePoint2010 server with the local system.

    hi,
    try to see these links :
    http://platinumdogs.me/2014/01/14/remote-sharepoint-site-connections-not-supported-using-visual-studio-2013-and-host-named-site-collections/
    http://blogs.msdn.com/b/kvosters/archive/2013/03/27/sharepoint-2013-cannot-connect-to-the-targeted-site.aspx
    if you try these and they didn't work so you can't :(
    HOPE IT HELPS

Maybe you are looking for

  • How to print a PDF to avery label 5160

    I get emails with PDF attachement of mailing labels set up to print on avery (30 labels per page) 5160 template. The print option page say letters, photos, shirts, disks...how can I get the label template to come up? I know from the last time I had t

  • Supplemenatry billing

    I WANT TO CREATE EXCISE INVOICE FOR PRICE ESCALATIONS HAPPENED DURING SALES OF PARTICULAR PERIOD TO PARTICULAR CUSTOMER. I CAN DO INVOICE CORRECTION REQUEST BUT HOW TO RAISE EXCISE INVOICE OR I WILL CREATE DEBIT MEMO AND THROUGH J1IH I CAN PASS ENTRI

  • Login very slow

    Hi, About a day ago my iMac G5(1.8GHz powerpc, 512MB SDRAM) running Tiger 10.4.11 started to take up to 15 mins to stat and login to my account. I've been looking through the forums and have tried zapping the PRAM, repairing permissions and clearing

  • What is the audio format and bitrate for the MixRa...

    Regarding the MixRadio+ "high quality": What is the audio format (AAC/MP3/WMA/etc.) ? What is the bitrate (192/256/320kbps etc.) ? Thanks 

  • No "edit colors" option in CS4

    I have Illustrator CS4. When attempting to convert a photo I placed, I couldn't find the "Edit Colors" option under Edit. It wasn't there at all (I know some people have had it there, but grayed out). So I tried selecting a vector shape. Still not th