Intermittent import library generation failure building 64-bit binary in Visual Studio 2013

    I have a 64-bit c++ project that randomly fails to build because the import library generation silently fails in the link step.  I have scoured the "diagnostic level" log trying to find some hint at why the import library
fails to be created, but there doesn't seem to be any information.
    It's pretty random.  When it fails, I can do a clean build and everything builds.  After a successful build, I can do another clean rebuild and see it fail again.
    The 32-bit version consistently builds fine.  I see the 64-bit problem regularly in any configuration (Release or Debug).
    I'm running VS2013 Update 2 RC.
    Any hints on how to debug this?  Is this a known issue for which there is a patch?

Hi Anna, thanks for the reply.  Yes, this does reproduce in MSBuild if you specify a rebuild.  As mentioned previously, if you do a clean and build, even through MSBuild, the build succeeds every time.  
There's no way for me to create a sample project.  Our codebase is quite large and this doesn't reproduce for simple example projects.  
There is no error message when the iTunes.lib import library fails to build.  The import library is used in a dependent project and that fails in a way you would probably expect (complains about a missing .lib)...
Here's the relevant section from my diagnostic build output.
16>  Tracking command: (TaskId:92)
16>  C:\Program Files (x86)\MSBuild\12.0\bin\Tracker.exe /a /d "C:\Program Files (x86)\MSBuild\12.0\bin\FileTracker.dll" /i C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\iTunesLauncher.tlog /r "C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\BIN\ITUNES.LIB|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\APPLEAPPLICATIONSUPPORT.OBJ|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\ITUNESLAUNCHER.OBJ|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\ITUNESLAUNCHER.RES|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\VISUALSTUDIOPREFIX.OBJ"
/b MSBuildConsole_CancelEvent293fb138735a4f31a04ade4d72d60766  /c "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe"  /ERRORREPORT:PROMPT /OUT:"C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exe" /INCREMENTAL:NO
/NOLOGO comctl32.lib libcmtd.lib libcpmtd.lib shlwapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /NODEFAULTLIB /MANIFEST:NO /DEBUG /PDB:"C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exe.pdb"
/SUBSYSTEM:WINDOWS /STACK:"1048576","262144" /TLBID:1 /DYNAMICBASE /FIXED:NO /NXCOMPAT /IMPLIB:"C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib" /MACHINE:X64 C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\iTunesLauncher.res
16>  C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\AppleApplicationSupport.obj
16>  C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\VisualStudioPrefix.obj
16>  C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\iTunesLauncher.obj
16>  C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib (TaskId:92)
16>LINK : fatal error LNK1181: cannot open input file 'C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib'
Here's the relevant part of the build log from the linker step that should build iTunes.lib (the import library that fails to build).
15>     Creating library C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib and object C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exp (TaskId:92)
15>Done executing task "Link". (TaskId:92)
15>Task "Message" (TaskId:93)
15>  Task Parameter:Text=iTunesDLL.vcxproj -> C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.dll (TaskId:93)
15>  Task Parameter:Importance=High (TaskId:93)
15>  iTunesDLL.vcxproj -> C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.dll (TaskId:93)
15>Done executing task "Message". (TaskId:93)
15>Done building target "Link" in project "iTunesDLL.vcxproj".: (TargetId:209)
15>Target "MetaGenInputsOutputs" skipped, due to false condition; ('$(EnableManagedIncrementalBuild)' == 'True') was evaluated as ('false' == 'True').
15>Target "ComputeMetaGenInputs" skipped, due to false condition; ('$(CLRSupport)'!='' and '$(CLRSupport)'!='false') was evaluated as ('false'!='' and 'false'!='false').
15>Target "MetaGen" skipped, due to false condition; ('@(MetaGen)' != '') was evaluated as ('' != '').
15>Target "ComputeLinkImportLibraryOutputsForClean: (TargetId:210)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets" from project "C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj" (target "_Link" depends
on it):
15>Task "WriteLinesToFile" (TaskId:94)
15>  Task Parameter:File=C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesDLL\iTunesDLL.tlog\iTunesDLL.write.1u.tlog (TaskId:94)
15>  Task Parameter:
15>      Lines=
15>          ^C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj
15>          C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib
15>          C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exp (TaskId:94)
15>  Task Parameter:Encoding=Unicode (TaskId:94)
15>Done executing task "WriteLinesToFile". (TaskId:94)
15>Done building target "ComputeLinkImportLibraryOutputsForClean" in project "iTunesDLL.vcxproj".: (TargetId:210)
15>Target "AfterLink: (TargetId:211)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets" from project "C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj" (target "_Link" depends on it):
15>Done building target "AfterLink" in project "iTunesDLL.vcxproj".: (TargetId:211)
15>Target "_Link: (TargetId:212)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets" from project "C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj" (target "_BuildLinkAction" depends on it):
15>Done building target "_Link" in project "iTunesDLL.vcxproj".: (TargetId:212)

Similar Messages

  • Version of jvm.dll compatible with 64-bit development on Visual Studio 2013?

    Hi.  I am building a 64-bit C++ application under Visual Studio 2013. I am using jvm.dll to call Java methods from within the application.  The issue is that the version of jvm.dll that is distributed with Java 7 and Java 8 are compiled with Visual Studio 2010 (and thus rely on the msvcr100.dll runtime library).  This makes it very dangerous to use with a Visual Studio 2013 application which uses msvcr120.dll (mixing runtime libraries is a very big no-no).  I am seeing random memory errors as a result, at the JNI interface level.
    Is there any way to get a version of jvm.dll that is compiled with Visual Studio 2013 and is thus dependent on msvcr120.dll?
    Thanks,
    Dan

    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

  • Library not registered error in Visual Studio 2013.

    Whenever I attempt to build a solution, build multiple projects, or even run a program (with debugging) in visual studio 2013, I receive the error below.
    "Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))"
    I have attempted to fix this by repairing my Visual Studio installation, but without success. 
    I believe the issue to be with Visual Studio itself, though, because this happens with every solution I have tried it with.
    Any assistance in resolving this issue would be most appreciated.

    Hi ndowney,
    Based on your issue, could you please tell me if you install some other tools on your machine before you get the ""Library not registered" error?
    (1) If yes, please you disable or un-install these tools and then build solution/project check this issue again.
    (2)If no, to check if the issue is related to the VS IDE, please refer the following steps to check this error message.
    (2.1) I suggest you could try the following commands to check if it is helpful.
    a.  Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
    b. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
    c. Run devenv /ResetSkipPkgs in Command Prompt.
    If above still cannot work, try use this command again: devenv /resetsuerdata
    (2.2) If the above suggestion still could not help you, maybe you will need to re-install the VS2013 and then check this issue again.
    If you have any latest message about your issue, please tell me.
    Best Regards,
    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.

  • Automatic Code generation from UML for C++ in Visual Studio 2013 Ultimate

    Hi all, 
    I am using Visual Studio 2013 Ultimate to design UML diagrams and want to use the class diagram to generate C++ code,
    however I found that there seems only support C# generation.
    Is there any way to do the code generation (even round-trip engineering with C++/UML model) from Visual Studio 2013 Ultimate?
    There is a way to do C++ code generation by customize the text template file right? but it is time consuming and we don't have much time to do it.:( 
    Thanks a lot!

    Hello Grib,
    >>is there anyway to integrate an STE code generator to Visual Studio 2013. I know there is EF5.x STE Generator but only for VS 2012.
    Yes, you can.
    Since the STEs are T4 template and you can just take template and code any changes or improvements you require yourselves! As you mentions, there is a EF5.x STE generator, you could download it and edit it. You could check this article:
    Upgrading to EF6, we could see that from EF5 to EF6, the team moves classes to a new namespace, so we need to modify the T4 template to generate the new namespace.
    Regards.
    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.

  • Visual Studio 2013 Community "Re install" Issues after HDD failure

    Hello,
    I had a recent failure in my HDD where all my apps were installed (not the OS) and had to replace and re install a lot of apps. But VS 2013 has been given me a hard time. when I try to re install it it only gives me the option to Repair Uninstall or Modify.
    I have tried all three with no avail. The errors I am getting are : Fatal Error during installation.
    I have also tried to clean up reg keys and temp files. I have also tried previous answers such as re downloading the ISO and installing as admin. I have cleared my Temp folder as well. 
    From what I can deduce it looks like it's missing reg keys and doesn't know what to do... Here are some logs : Logs1 and Logs2
    Please help
    KM

    Hi kikhu_man,
    By the way, please try this tool
    https://support.microsoft.com/en-us/mats/program_install_and_uninstall?wa=wsignin1.0 It seems this tool will also be helpful for Visual Studio 2013, I've got some feedback from other customers. I think you can also try it.
    Best regards,
    Barry
    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.

  • EnableFolderBrowseButton Improper Parameters assertion in Visual Studio 2013 MFC C++ 64 bit DLL

         I am using Visual Studio 2013 MFC C++ 64 bit on Windows 8.1 Pro. I have a CMFCEditBrowseCtrl in a dialog. When I call EnableFolderBrowseButton I get a debug assertion that I have passed in the wrong parameters. The Microsoft
    class documentation list no parameters  but Inteli-sense list two parameters. BrowseFolderTitle and BrowseFolderFlags. They have defaults set in the call so I should not have to pass in anything. Anyone know what I need to do. I am using MFC Debug DLL
    for the project. Stuck! Any help would be appreciated. 

    Hi iggyll,
    Thanks for posting in MSDN forum.
    I have made a sample to test this issue. Yes, you are right the Inteli-sense list two parameters.
    So Let's look the the resource code of afxeditbrowsectrl.cpp file. Locate at VS installed path->VC->atlmfc->src->mfc->
    I copy the code here:
    void CMFCEditBrowseCtrl::EnableFolderBrowseButton(LPCTSTR lpszBrowseFolderTitle/* = NULL */, UINT ulBrowseFolderFlags/* = BIF_RETURNONLYFSDIRS */)
    ASSERT_VALID(this);
    ENSURE(GetSafeHwnd() != NULL);
    ENSURE(afxShellManager != NULL); // You need to call CWinAppEx::InitShellManager() first!
    m_Mode = BrowseMode_Folder;
    m_strBrowseFolderTitle = lpszBrowseFolderTitle != NULL ? lpszBrowseFolderTitle: _T("");
    m_ulBrowseFolderFlags = ulBrowseFolderFlags;
    SetInternalImage();
    OnChangeLayout();
    Could share us the assert error message with us? I assume you may get a assert error on above code. So please make sure you are using CWinAppEx class and has been called CWinAppEx::InitShellManager() .
    Please try change CWinAPP class to CWinAppEx class and call to CWinAppEx::GetShellManager() to your
    InitInstance()function.
    Best regards,
    Shu Hu
    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.

  • Corrupt document gets created in document library with document template using createlistitem workflowaction in visual studio workflow for office 365 solution

    Hi,
    My requirement is to create a document library associated to a custom content type with a document template associated. Also I need to create a document based on the template in this document library when a new item is created in another list by taking the
    reference ID of that new Item , I need to create the document with the name appended by ID. I need to do all this deployment using WSP.
    I have created document library with document template associated to content type by following instructions in below stated blog :http://blogs.msdn.com/b/chaks/archive/2011/05/19/deploying-a-document-template-file-in-content-type-in-a-office365-sandboxed-solution.aspx
    This works perfect for me.
    However, there are few observations, when going to Document Library > Library Settings > Advanced Settings > Document Template section - doesnt shows the Edit template link. When tried to look at the value for the document template using view source
    , it is giving me /Lists/MyDocsListInstance/Forms/template.dotx instead of the actual template file uploaded.
    Ignoring the above observation, when I am trying to create a sandbox based workflow in visual studio to create document in document library when new item is created in another list, I provide the ContentTypeID as the ID associated with the document library
    with template. 
    It creates the corrupt document at end of workflow. 
    I have tried using .docx instead of .dotx files for workflow as per solution provided in some of the post but it isnt resolving my issue.
    Any help is much appreciated.
    Regards,
    Krutika

    OK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
    Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
    successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
    I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
    What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
    library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
    I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
    things that go through this evolution.

  • How do we use Script (batch file with msbuild/msbuild project) to build Cordova Project created with Visual Studio Tools for Apache Cordova?

    I use Visual Studio to create Cordova projects. I need to build Cordova projects using msbuild and buildbot via script for my project but I can find only information about how VS combine with Cordova CLI to build multi device hybrid application.

    Hi Samseth,
    Yes, correct, the only thing we can find on the MSDN is:
    Deploy and Run Your App
    And that's the reason why Visual Studio Tools for Apache Cordova existing.
    I think you may get more detail compile information from here:
    http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html
    --James
    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.

  • How to build different projects in different visual studio version using MS build

    hi,
    i have different projects which is to be built in different visual studio versions like vb6.0, vs2010, vb2013 etc..
    first i have to build some projects using vb6.0, next using VS2010 because vb6.0 project output is refered to VS2010 projects and vs2010 project output is referred to VS2013 projects.
    Using MS build script how i can do this.
    please help me.
    thanks.

    please help me.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=msbuild

  • Building a Universal Binary in Applescript Studio (Xcode 3.1)

    Hello all,
    I've been trying to configure Xcode 3.1 to build a UB of my applescript application, but I cant figure it out.
    People tell me it doesn't even open on 10.4 or PPC macs (I have no way of testing it).
    I've been going through the documentation for 2 days but I don't know what I'm missing for the life of me.
    Can anyone help please?
    Thanks in advance.

    See my answer in your other thread.
    http://discussions.apple.com/thread.jspa?threadID=1844943&tstart=0
    Eric

  • Visual Studio 2013 deploying incorrectly the content types of a document library

    Hello everyone. 
    I created a SharePoint farm solution in VS 2013. I add four content types (say, C1, C2, C3, C4, based on the Document content type) and I create a couple of document libraries (say, L1, L2). Now I add C1 and C2 to L1, and add C3 and C4 to L2. 
    When I deploy the solution from VS, I go to the site and found out that L1 has C1 and C2, as expected. However, L2 has C1 and C2 instead of C3 and C4. 
    I have reviewed for hours the xml files (Elements, Schema, etc.) and all IDs seem to be correct and all properties are in order. 
    Has anyone come across a problem like this? Any thoughts will be really appreciated, as I'm clueless and frustrated at this point, after hours of dealing with this problem. 
    Thanks in advance!
    Best regards
    Fernando A. Gómez F.
    fermasmas.wordpress.com
    Galería de ejemplos

    Hi Sohel, thanks for your reply. 
    No, I don't add them programmatically, I added the "Content Type" and "List" items to the VS solution. It generated some files, including Elements.xml and Schema.xml. Then I used the integrated VS designers to add the content types to
    the list. A very run-of-the-mill solution, I think, nothing too fancy. 
    One thing I noticed is that I created a feature, and everytime I add a new list, instead of using the existing feature, it creates a new one, which I delete, and then add the list to the existing feature using the designer. 
    Finally, something weird happened today. I opened my VS, opened the solution and there was several feature files created out of the blue by the VS. I thought something was messed up with the Visual Studio Online connection, but it happens anyway when working
    in disconnected mode. 
    Fernando A. Gómez F.
    fermasmas.wordpress.com
    Galería de ejemplos

  • "The root activity type is invalid" while importing a xoml generated by sharepoint designer in visual studio

    I am facing a problem with Visual Studio. Following what I did:
    Copy and modify a workflow in sharepoint designer 2013
    Import the generated files (xoml, rules, config) in a Visual Studio 2012 module
    Build
    I cannot build nor package the solution, getting the "The root activity type is invalid" error.
    I read a lot of forum but I didn't figure out how to solve the issue.
    Any help is really appreciated.
    Dario

    Hi Dario,
    According to your description, my understanding is that you got an error when you imported SharePoint Designer reusable workflow into Visual Studio 2012.
    Please check your process per the article below, compare the result.
    http://msdn.microsoft.com/en-us/library/ee231580(v=vs.110).aspx
    If this issue still exists, please feel free to let me know.
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Visual Studio cannot remote debug Azure cloud service: There was a failure to launch the remote debugger

    I am trying to invoke remote debugger on an Azure worker role cloud service, following the example of
    http://msdn.microsoft.com/en-us/library/azure/ff683670.aspx
    But on attaching the remote debugger for the cloud service instance
    Microsoft Visual Studio
    There was a failure to launch the remote debugger.
    OK  
    According to somebody else's extra coverage on the topic, there are extra ports 4016/4017 that need to be taken care of (but do they have to be exposed externally)?
    http://developers.de/blogs/damir_dobric/archive/2014/02/04/behind-windows-azure-remote-debugger.aspx
    So servicedefinition.csdef gets
        <Endpoints>
          <InputEndpoint name="Endpoint1" protocol="http" port="80" />
          <InputEndpoint name="RemoteDebugger" protocol="tcp" port="4016" localPort="4016" />
          <InputEndpoint name="RemoteDebugger2" protocol="tcp" port="4017" localPort="4017" />
          <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector" protocol="tcp" localPort="30398">
            <AllocatePublicPortFrom>
              <FixedPortRange min="30400" max="30424" />
            </AllocatePublicPortFrom>
          </InstanceInputEndpoint>
          <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Forwarder" protocol="tcp" localPort="31398">
            <AllocatePublicPortFrom>
              <FixedPortRange min="31400" max="31424" />
            </AllocatePublicPortFrom>
          </InstanceInputEndpoint>
        </Endpoints>
    Serviceconfiguration.cscfg gets
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Enabled" value="true" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Version" value="2.3" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ClientThumbprint" value="THUMBNAIL" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ServerThumbprint" value="THUMBNAIL" />
        </ConfigurationSettings>
        <Certificates>
          <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.TransportValidation" thumbprint="THUMBNAIL" thumbprintAlgorithm="sha1"
    />
        </Certificates>
    But all these are to no avail; the same error still pops for Visual Studio 2013 Update 4; Azure SDK 2.3
    Anybody regularly perform remote debugging for Azure cloud services?
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

    And, how do I control that in Visual Studio?
    All I get is the Attach Debugger... context menu option in the Azure cloud service nodes in Server Explorer. That is where it is failing. There are no customisable options.
    Because of that, the Attach to Process dialog box is unable to retrieve the list of processes (to debug) in the remote worker role instance server.
    I tested a blank-template worker role project and published to a new cloud project, and this simplistic copy had no problems with the Remote debugger.
    Now the question is, what is it about this real-world project/cloud service that is different from blank sample? From what I compare between what I think are the relevant settings, there are none.
    ServiceDefinition.csdef
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    <Import moduleName="RemoteDebuggerConnector" />
    </Imports>
    <Contents>
    <Content destination=".\">
    <SourceDirectory path="D:\Projects\experiments\workerrole1\workerrole1\rcf\Debug\RemoteDebuggerContent\" />
    </Content>
    </Contents>
    <Endpoints>
    <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector" protocol="tcp" localPort="30398">
    <AllocatePublicPortFrom>
    <FixedPortRange min="30400" max="30424" />
    </AllocatePublicPortFrom>
    </InstanceInputEndpoint>
    <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Forwarder" protocol="tcp" localPort="31398">
    <AllocatePublicPortFrom>
    <FixedPortRange min="31400" max="31424" />
    </AllocatePublicPortFrom>
    </InstanceInputEndpoint>
    </Endpoints>
    ServiceConfiguration.cscfg
    <ConfigurationSettings>
    <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=storage;AccountKey=" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2015-12-31T23:59:59.0000000+08:00" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Version" value="2.4" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ClientThumbprint" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ServerThumbprint" value="" />
    </ConfigurationSettings>
    <Certificates>
    <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="" thumbprintAlgorithm="sha1" />
    <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.TransportValidation" thumbprint="" thumbprintAlgorithm="sha1" />
    </Certificates>
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

  • What version of Visual Studio should I use to build the samples in the CS5 plug-in SDK?

    I just downloaded the plug-in SDK for CS5.  I tried to build two of them in Visual Studio 2012.  VS2012 had to convert them for me.  The first one, 3DHeightField, failed abysmally, as it tried to redefine standard library keywords for no reason I'll ever understand.  It told me to enable warning CS4005 to find the illegal #define statement, but I don't know how to enable warnings, only how to disable them.
    The second I tried, Dissolve, failed because the compiler could not find afxres.h.
    What is the recommended way to build these projects?  And, if possible, could someone please point me to a sample filter plug-in project that will build in Visual Studio 2012 without having to be converted from some older version of Visual Studio?
    Thank you very much.
    RobR

    You can build these with Visual Studio 2012.  You just need to add the following preprocessor definition to your project.
    _ALLOW_KEYWORD_MACROS
    If adding it to your project doesn't work, you can also #define it in a source or header file that gets read early in the chain.

  • Build Tuxedo service in Visual Studio

    Hi!
    I need to build the executable for a Tuxedo service. The Visual Studio project
    already contains a TuxServer.cp file which has the tpsvrinit function, and tux.c
    which was generated by BuildTuxedo. It also contains a sybesql.c file and other
    codes files. It was a legacy system, and I don't know much about Tuxedo. The machine
    I want to build it on already has Visual Studio, Sybase and Tuxedo installed.
    How do I set up the environment so I can build the exe in Visual Studio itself?
    Thanks,
    Caroline

    Hello and thank you very much for your answers
    Right now I tried RobertH's solution. I'm gona try it also with Coq rouge's link.
    To RobertH's way:
    I inserted the line __declspec(dllexport) unsigned int __stdcall multiply(unsigned char a, unsigned char b);
    and my file looked like this:
    #include "stdafx.h"  __declspec(dllexport) unsigned int __stdcall multiply(unsigned char a, unsigned char b);unsigned int multiply(unsigned char a, unsigned char b) {unsigned int c; c = a * b;return c; }
    When I tried to compile, i got an errormessage:
    error C2373: 'multiply': Neudefinition; unterschiedliche Modifizierer
    in English:
    error C2373 'multiply': redefinition; different modifier
    I could fix this error by editing the line
    unsigned int multiply(unsigned char a, unsigned char b)
    into
    unsigned int __stdcall multiply(unsigned char a, unsigned char b)
    but i have no idea if this is the correct way. Maybe this is wrong? Now i could compile.
    I also could open the function multiply in LabView. I created at the call library function node the inputs and outputs. LabView described the functionprototype as:
    uint16_t ?multiply@@YGIEE@Z(uint8_t a, uint8_t b);
    I could start the programm, but I got a LabView errormessage:
    Error 1097 occurred at Call Library Function Node in extcodetest.vi
    Possible reason(s):
    LabVIEW:  An exception occurred within the external code called by a Call Library Function Node. The exception may have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW.
    I tried both calling conventions, c and stdcall 
    At least, i could start the LabView Programm. Thats already a littel success. But i think i will need more help.
    Now I'm also gonna try Coq rouge's link.

Maybe you are looking for