Closed HowardEdidin closed 5 years ago
I didn't run into that problem. If you are still stuck leave a message and maybe I can help you out.
The Screen Shots still don't match what is in VS 2017 Enterprise, also I keep getting wired errors
Hello,
We believe that you have an older version of IoT Hub extension installed, and that it is interfering with the functionality provided by Azure Sphere's IoT Hub. Can you please go to Tools > Extensions and Updates in Visual Studio, and check whether you have an entry for Azure IoT Hub?
And if you do have it, can you please:
Thanks!
I ad to remove the extension completely. When trying to reinstall I get the following exception
`[1268:9A3C][2018-11-08T21:09:53]i001: Burn v3.11.0.1701, Windows v10.0 (Build 17763: Service Pack 0), path: C:\Users\Howard\AppData\Local\Temp{E4A519B7-5F67-463B-ABEC-AF0A345BF024}.cr\VS_Tools_Preview_For_Azure_Sphere.exe [1268:9A3C][2018-11-08T21:09:53]i000: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43' [1268:9A3C][2018-11-08T21:09:53]i000: Initializing string variable 'vsixQuiet' to value 'yes' [1268:9A3C][2018-11-08T21:09:53]i009: Command Line: '-burn.clean.room=D:\Downloads\VS_Tools_Preview_For_Azure_Sphere.exe -burn.filehandle.attached=628 -burn.filehandle.self=620' [1268:9A3C][2018-11-08T21:09:53]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\Downloads\VS_Tools_Preview_For_Azure_Sphere.exe' [1268:9A3C][2018-11-08T21:09:53]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\Downloads\' [1268:9A3C][2018-11-08T21:09:53]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Howard\AppData\Local\Temp\dd_VC_AzureSphere_20181108210953.log' [1268:9A3C][2018-11-08T21:09:53]i052: Condition '(VersionNT >= v6.1)' evaluates to true. [1268:9A3C][2018-11-08T21:09:53]i000: Setting string variable 'WixBundleName' to value 'Visual Studio Tools Preview for Azure Sphere' [1268:9A3C][2018-11-08T21:09:53]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation' [1268:6A38][2018-11-08T21:09:53]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033 [1268:6A38][2018-11-08T21:09:53]i000: Setting version variable 'WixBundleFileVersion' to value '0.49.2.45617' [1268:9A3C][2018-11-08T21:09:54]i100: Detect begin, 7 packages [1268:9A3C][2018-11-08T21:09:54]i000: Product or related product not found: {D0C37DF0-56F6-4D80-BDFC-74EEB20F578D} [1268:9A3C][2018-11-08T21:09:54]i000: Setting version variable 'installedExtensionVersion' to value '0.0.0.0' [1268:9A3C][2018-11-08T21:09:54]i000: Setting string variable 'NETFRAMEWORK45' to value '461814' [1268:9A3C][2018-11-08T21:09:54]i000: Setting version variable 'vsixInstallerVersion' to value '15.8.3252.51260' [1268:9A3C][2018-11-08T21:09:54]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true. [1268:9A3C][2018-11-08T21:09:54]i052: Condition 'NOT (WixBundleAction = 3 AND WixBundleUILevel = 1)' evaluates to true. [1268:9A3C][2018-11-08T21:09:54]i052: Condition 'NOT (WixBundleAction = 3 AND WixBundleUILevel = 1)' evaluates to true. [1268:9A3C][2018-11-08T21:09:54]i052: Condition '(WixBundleAction=3) AND (NOT WixBundleUILevel=1)' evaluates to false. [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: NetFx472Redist, state: Present, cached: None [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: ConnectedServiceUninstallQuiet, state: Present, cached: None [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: ConnectedServiceLegacyUninstallQuiet, state: Present, cached: None [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: VSExtensionVSIX, state: Absent, cached: None [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: TapDriverInstaller, state: Present, cached: Complete [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: AzureSphereCore, state: Absent, cached: Complete [1268:9A3C][2018-11-08T21:09:54]i101: Detected package: SlipService, state: Present, cached: Complete [1268:9A3C][2018-11-08T21:09:54]i199: Detect complete, result: 0x0 [1268:6A38][2018-11-08T21:09:58]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1 [1268:9A3C][2018-11-08T21:09:58]i200: Plan begin, 7 packages, action: Install [1268:9A3C][2018-11-08T21:09:58]w321: Skipping dependency registration on package with no dependency providers: NetFx472Redist [1268:9A3C][2018-11-08T21:09:58]w321: Skipping dependency registration on package with no dependency providers: ConnectedServiceUninstallQuiet [1268:9A3C][2018-11-08T21:09:58]w321: Skipping dependency registration on package with no dependency providers: ConnectedServiceLegacyUninstallQuiet [1268:9A3C][2018-11-08T21:09:58]w321: Skipping dependency registration on package with no dependency providers: VSExtensionVSIX [1268:9A3C][2018-11-08T21:09:58]i000: Setting string variable 'WixBundleLog_VSExtensionVSIX' to value 'C:\Users\Howard\AppData\Local\Temp\dd_VC_AzureSphere_20181108210953_000_VSExtensionVSIX.log' [1268:9A3C][2018-11-08T21:09:58]i000: Setting string variable 'WixBundleRollbackLog_VSExtensionVSIX' to value 'C:\Users\Howard\AppData\Local\Temp\dd_VC_AzureSphere_20181108210953_000_VSExtensionVSIX_rollback.log' [1268:9A3C][2018-11-08T21:09:58]i000: Setting string variable 'WixBundleRollbackLog_AzureSphereCore' to value 'C:\Users\Howard\AppData\Local\Temp\dd_VC_AzureSphere_20181108210953_001_AzureSphereCore_rollback.log' [1268:9A3C][2018-11-08T21:09:58]i000: Setting string variable 'WixBundleLog_AzureSphereCore' to value 'C:\Users\Howard\AppData\Local\Temp\dd_VC_AzureSphere_20181108210953_001_AzureSphereCore.log' [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: NetFx472Redist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: ConnectedServiceUninstallQuiet, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: ConnectedServiceLegacyUninstallQuiet, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: VSExtensionVSIX, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: TapDriverInstaller, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: AzureSphereCore, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register [1268:9A3C][2018-11-08T21:09:58]i201: Planned package: SlipService, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register [1268:9A3C][2018-11-08T21:09:58]i299: Plan complete, result: 0x0 [1268:9A3C][2018-11-08T21:09:58]i300: Apply begin [1268:9A3C][2018-11-08T21:09:58]i010: Launching elevated engine process. [1268:9A3C][2018-11-08T21:09:59]i011: Launched elevated engine process. [1268:9A3C][2018-11-08T21:09:59]i012: Connected to elevated engine. [974C:0CA0][2018-11-08T21:09:59]i358: Pausing automatic updates. [974C:0CA0][2018-11-08T21:09:59]i359: Paused automatic updates. [974C:0CA0][2018-11-08T21:09:59]i360: Creating a system restore point. [974C:0CA0][2018-11-08T21:09:59]i361: Created a system restore point. [974C:0CA0][2018-11-08T21:09:59]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{cabb9770-f768-4e92-ae24-fa54f1c3dafe}, options: 0x7, disable resume: No [974C:0CA0][2018-11-08T21:10:00]i000: Caching bundle from: 'C:\Users\Howard\AppData\Local\Temp{74B5B4FA-D109-4010-9F41-8858E644ECD9}.be\VS_Tools_Preview_For_Azure_Sphere.exe' to: 'C:\ProgramData\Package Cache{cabb9770-f768-4e92-ae24-fa54f1c3dafe}\VS_Tools_Preview_For_Azure_Sphere.exe' [974C:0CA0][2018-11-08T21:10:00]i320: Registering bundle dependency provider: {cabb9770-f768-4e92-ae24-fa54f1c3dafe}, version: 0.49.2.45617 [974C:0CA0][2018-11-08T21:10:00]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{cabb9770-f768-4e92-ae24-fa54f1c3dafe}, resume: Active, restart initiated: No, disable resume: No [974C:5FE8][2018-11-08T21:10:00]i305: Verified acquired payload: VSExtensionVSIX at path: C:\ProgramData\Package Cache.unverified\VSExtensionVSIX, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.0.49.2.45617\VSIXBootstrapper.exe. [974C:5FE8][2018-11-08T21:10:00]i305: Verified acquired payload: pay551FEFC3ACBF56526A9C44490BCD2E93 at path: C:\ProgramData\Package Cache.unverified\pay551FEFC3ACBF56526A9C44490BCD2E93, moving to: C:\ProgramData\Package Cache\VSIXBootstrapper.0.49.2.45617\Microsoft.VisualStudio.AzureSphere.Project.vsix. [974C:5FE8][2018-11-08T21:10:00]i304: Verified existing payload: pay7602F42AC7565F440FC0FA38138DECBA at path: C:\ProgramData\Package Cache\VSIXBootstrapper.0.49.2.45617\VSIXBootstrapper.exe. [974C:0CA0][2018-11-08T21:10:00]i052: Condition '(vsixInstallerVersion >= "15.7")' evaluates to true. [974C:0CA0][2018-11-08T21:10:00]i052: Condition '((vsixInstallerVersion >= "15.7") AND (vsixQuiet = "yes")) OR (WixBundleUILevel=2)' evaluates to true. [974C:0CA0][2018-11-08T21:10:00]i301: Applying execute package: VSExtensionVSIX, action: Install, path: C:\ProgramData\Package Cache\VSIXBootstrapper.0.49.2.45617\VSIXBootstrapper.exe, arguments: '"C:\ProgramData\Package Cache\VSIXBootstrapper.0.49.2.45617\VSIXBootstrapper.exe" /admin "Microsoft.VisualStudio.AzureSphere.Project.vsix" /shutdownprocesses /q' [974C:5FE8][2018-11-08T21:10:00]i304: Verified existing payload: AzureSphereCore at path: C:\ProgramData\Package Cache{93AD03C0-939C-4EA9-B7C1-8E8566437D9F}v2.0.2.45571\packages\AzureSphereCore\AzureSphereCore.msi. [974C:0CA0][2018-11-08T21:10:47]e000: Error 0x80070643: Process returned error: 0x643 [974C:0CA0][2018-11-08T21:10:47]e000: Error 0x80070643: Failed to execute EXE package. [1268:9A3C][2018-11-08T21:10:47]e000: Error 0x80070643: Failed to configure per-machine EXE package. [1268:9A3C][2018-11-08T21:10:47]i319: Applied execute package: VSExtensionVSIX, result: 0x80070643, restart: None [1268:9A3C][2018-11-08T21:10:47]e000: Error 0x80070643: Failed to execute EXE package. [974C:0CA0][2018-11-08T21:10:47]i351: Removing cached package: VSExtensionVSIX, from path: C:\ProgramData\Package Cache\VSIXBootstrapper.0.49.2.45617\ [974C:0CA0][2018-11-08T21:10:47]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{cabb9770-f768-4e92-ae24-fa54f1c3dafe}, resume: None, restart: None, disable resume: No [974C:0CA0][2018-11-08T21:10:47]i330: Removed bundle dependency provider: {cabb9770-f768-4e92-ae24-fa54f1c3dafe} [974C:0CA0][2018-11-08T21:10:47]i352: Removing cached bundle: {cabb9770-f768-4e92-ae24-fa54f1c3dafe}, from path: C:\ProgramData\Package Cache{cabb9770-f768-4e92-ae24-fa54f1c3dafe}\ [974C:0CA0][2018-11-08T21:10:47]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{cabb9770-f768-4e92-ae24-fa54f1c3dafe}, resume: None, restart initiated: No, disable resume: No [1268:9A3C][2018-11-08T21:10:48]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No
The extension shows installed. When trying to create Blinky, I get this error
@HowardEdidin Closing old issues. I am sorry we didn't get back to you on time. If there are still further questions or comments regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
You cannot Select Device Connectivity with Azure IoT from the list of connected services in VS. >>In Solution Explorer, you should now see azure_iot_utilities.h and azure_iot_utilities.c in your solution. They are not added
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.