SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Intel® AppUpSM developer program
Part of the Intel® Software Network


Originally published as a blog by Bob Duffy at :
http://appdeveloper.intel.com/en-us/blog/2010/07/16/air-appup-what-developer-needs-know




Five Steps to Add AppUp .NET SDK to
Microsoft Visual Studio*
Intel® AppUp developer program announces .NET SDK & IDE Plug-in for Microsoft Visual Studio
The AppUp developer program launched support for .NET applications by releasing the .NET SDK, along with an IDE
Plug-In for Visual Studio 2008. This plug-in reduces development time to integrate the AppUp SDKs and builds the
MSI needed to submit your application for distribution and sales via the Intel® AppUpSM Center. The IDE Plug-in sup-
ports both the C/C++ and .NET SDK for Microsoft Windows* when using Visual Studio 2008.


                                                   With the .NET SDK and support now            the Intel AppUpTM SDK Plug-in 1.0 for
                                                   available for the Intel AppUp developer      Visual Studio 2008 software installed
                                                   program, here’s a brief overview of the      and the Intel AppUpTM SDK code included,
                                                   SDK’s technical components, along with       you can test and debug your application
                                                   five quick steps how to add the.NET SDK      without requiring the full client or
                                                   to Visual Studio 2008. With the .NET         access to hardware.
                                                   SDK and support now available for the
                                                   Intel AppUp developer program, here’s        4. How to add the Intel AppUp .NET
                                                   a brief overview of the SDK’s technical      SDK in Microsoft Visual Studio 2008
                                                   components, along with five quick steps
                                                                                                Step 1: In Visual Studio, right click on
                                                   how to add the.NET SDK to Visual Studio      Reference and use Add Reference
                                                   2008.                                        from the shortcut menu to add the
                          Download the
                                                                                                library to the project. [FIgUrE A]
  AppUp .NET SDK & IDE Plugin                      1. Supported languages:
                                                   The SDK supports the following
                       for Visual Studio           languages and Microsoft Windows*
                                                   graphical APIs:
                                                    • C# for WPF (Windows Presentation
                                                      Foundation) applications
                                                    • C# for WinForms (Windows Forms)
                                                      applications
                                                    • Visual Basic for WPF applications
 Intel® AppUpSM developer program                   • Visual Basic for WinForms applications

               Provides developers with            2. Supported Runtimes:
   everything they need to create and               1. Microsoft .NET Framework 3.5 is only
   sell their apps to users of millions of           supported.
                                                    2. Applications that target .NET frame-
Intel® Atom™ processor-based devices.
                                                     work 4.0 will be rejected in Validation.

                                                   3. Intel AppUp™ Software Debugger:
                                                   The Intel AppUp™ Software Debugger is
                                                   a utility that emulates the Application
                                                   Services of the Consumer Client. With
                                                                                                [FIgUrE A]
                                                                                                                                           1
Intel® AppUpSM developer program
Part of the Intel® Software Network




Step 2: Declare SDK Namespace and                  Sample code for Visual Basic Winforms                If TypeOf ex Is AdpErrorException Then
Integrate with the .NET SDK:                       applications:
                                                                                                        ‘ TO DO: add your logic to handle the
In the declaration section at the start of         Declare the SDK namespace com.intel.              errors during initialization
the C# source file, define com.intel.adp as        adp using the Imports Statement shown
                                                                                                        MsgBox(ex.Message)
a namespace. This frees you from having            below.
to add it as a prefix for SDK calls in your                                                             System.Environment.Exit(1)
                                                     ///
application. See the sample below:                                                                     ElseIf TypeOf ex Is AdpWarningException
                                                     Imports com.intel.adp                           Then
  ///
                                                     ///                                               ‘ TO DO: add your logic to handle the
  using com.intel.adp;                                                                               warnings
                                                     Private Sub Form1_Load(ByVal sender
  ///                                                As System.Object, ByVal e As System.               MsgBox(ex.Message)
                                                     EventArgs) Handles MyBase.Load
                                                                                                        End If
Below is the sample code for C#.                       Try
                                                                                                      End Try
Paste in the Following code in the
                                                       Dim app As New AdpApplication(New
Initialization section:                              AdpApplicationId(&H11111111, &H11111111,
                                                                                                     End Sub

  try                                                &H11111111, &H11111111))

                                                       ‘ Note: replace “&H11111111, &H11111111,    Step 3: Intel Appup Software Debugger:
  {
                                                     &H11111111, &H11111111” with the actual       The Intel Appup Software Debugger is
    AdpApplication app =                             application ID                                only supported for Visual Studio 2008.
  new AdpApplication(new
  AdpApplicationId(0x11111111, 0x11111111,             ‘ once you obtain it from Intel AppUp(SM)   The Intel Appup Software Debugger al-
  0x11111111, 0x11111111));                          Developer Program web portal                  lows you to test and debug your applica-
                                                       ‘ To test Expired ID, use AdpConstants.
                                                                                                   tion without requiring the full client or ac-
    /// Note: replace “0x11111111, 0x11111111,
  0x11111111, 0x11111111” with the actual            ADP_EXPIRED_APPLICATIONID                     cess to hardware. Below is the screenshot.
  application ID                                                                                   [FIgURE B]
                                                       Catch ex As AdpException
    /// once you obtain it from Intel AppUp(SM)
  Developer Program web portal

  }

  catch (AdpException e)

  {
        if (e is AdpErrorException)

        {

     // TO DO: add your logic to handle the
  errors during initialization

            MessageBox.Show(e.Message, “Error”);

            System.Environment.Exit(1);

        }

        else if (e is AdpWarningException)

        {

    // TO DO: add your logic to handle the
  warnings

     MessageBox.Show(e.Message,
  “Warning”);

        }

  }


                                                   [FIgURE B]
                                                                                                                                                 2
Intel® AppUpSM developer program
Part of the Intel® Software Network




Click on “Start the Intel Appup Software Debugger”. You will see the below window:

                                                                                     INTEl APPUPSM DEVEloPER
                                                                                     PRogRAM INCENTIVES THAT
                                                                                     MICRoSoFT .NET DEVEloPERS
                                                                                     CAN TAKE ADVANTAgE oF:

                                                                                     INTEl AToM DEVEloPER
                                                                                     MIllIoN DollAR FUND
                                                                                     Through this fund, we support
                                                                                     software developers and
                                                                                     companies creating new
                                                                                     experiences through applications
                                                                                     for Intel® Atom™
                                                                                     processor-based netbooks.

                                                                                     INTEl APPUP
                                                                                     DEVEloPER CHAllENgE
                                                                                     The contest is designed to
                                                                                     encourage breakthrough
                                                                                     applications that fundamentally
                                                                                     change the user experience on a
                                                                                     netbook featuring an Intel Atom
                                                                                     processor. There are cash prizes
                                                                                     and a 2011 Chevy* Volt* to be won.

Debug your application. If the Intel AppUpTM SDK code is included you will see the
                                                                                     lEgENDS
below window:
                                                                                     Want application visibility? The
                                                                                     Legends program is a way to share
                                                                                     the story behind the applications.
                                                                                     get your app in and submit your
                                                                                     story. Become a Legend.

                                                                                     INTEl BlACK BElT DEVEloPER
                                                                                     SoFTWARE DEVEloPER
                                                                                     Share your knowledge and earn
                                                                                     recognition for your contributions.




                                                                                                                           3
Intel® AppUpSM developer program
Part of the Intel® Software Network




Step 4:
Replace “0x11111111, 0x11111111, 0x11111111, 0x11111111” with the actual application
ID once you obtain it from Intel AppUp(SM) Developer Program web portal and recompile           INTEl APPUP DEVEloPER
the program.                                                                                    PRogRAM – gETTINg STARTED

Step 5: Create an Installation Package:                                                         The getting Started guide is the
Create a “silent install” .MSI package that meets the Intel AppUpSM Developer Program           good place to begin. Find tools and
packaging requirements. These requirements ensure that applications provide a                   tips to start developing.
good user experience during installation and Uninstallation. For a list of packaging
                                                                                                  Developer guidelines
requirements, refer to (http://appdeveloper.intel.com/en-us/article/packaging-
requirements). For tips on packaging applications for Windows, refer to (http://                  Validation Process
appdeveloper.intel.com/en-us/article/how-creating-your-msi-instal...). You must wrap the          Submitting an Application
AdpLibrary.dll library file into your application installer. The installer must copy the .dll     Developer Challenge
file into the same folder where the application’s main executable is copied.
                                                                                                  Porting to AppUp – resources
Note for VS 2010 developers:                                                                      & guides
Intel Appup .NET SDK is tested only against Visual Studio 2008. However, if you are a
Visual Studio 2010 developer you need to make sure your target .NET frame work is set
to 3.5. Below are the steps
1. Change the .NET Target Framework from 4.0 to 3.5
Changing Target .NET Framework for C#:      [FIgUrE E]

     A. On the Project menu, click ProjectName Properties.
     B. Click the Application tab.
     C. In the Target Framework list, select .NET Framework 3.5.




Changing Target .NET Framework for VB [FIgUrE F]
    A. On the Project menu, click ProjectName Properties.
    B. Click the Compile tab.
    C. Click Advanced Compile Options.
    D. In the Target Framework (all configurations) list, select .NET Framework 3.5.

                                                                                                                                      4
Intel® AppUpSM developer program
Part of the Intel® Software Network




                                                                                           lEARN MoRE ABoUT DEVEloPER
                                                                                           ToolS AND RESoURCES AT:

                                                                                            Intel® Software Dispatch –
                                                                                            Delivering the latest advances
                                                                                            in software technologies, de-
                                                                                            veloper tools and resources and
                                                                                            best practices.
                                                                                            Intel® Software Network
                                                                                            Intel® Software Development
                                                                                            Products




                                                                                       More .NET SDK Resources
                                                                                       •     New AppUp Support for .NET
                                                                                       •     Download the .NET SDK
                                                                                       •     learn more about the .NET SDK
                                                                                             for AppUp
                                                                                       •     Brian Burrows reviews the SDK
                                                                                             & new IDE Plug-in
2. Click on Publish->Prerequisites. Make sure Microsoft .NET Framework 4.0 is un-
checked.                                                                               •     Download the Visual Studio
                                                                                             AppUp IDE Plug-in (.MSI file)
3. When creating the MSI using Visual Studio 2010 Setup project make sure you target
to .NET framework 3.5. Right Click Setup Project->Prerequisites and uncheck Micro-     •     Building an MSI for AppUp
soft .NET Framework 4.0 in the Prerequisites.                                                (updated for .NET)




                                                                                                                              5
Intel® AppUpSM developer program
Part of the Intel® Software Network




About the Author



         FPO


Praveen Kundurthy

Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Vivamus pellentesque
consequat congue. Pellentesque
ullamcorper, felis eget consectetur
rutrum, quam metus vestibulum diam,
a fermentum orci diam sit amet ipsum.
Phasellus non lorem vitae dui vehicula
interdum. Sed consequat, augue volutpat
tempor blandit, tellus erat viverra lacus,
ac luctus tortor augue vel neque. Nullam
aliquet augue eget risus consectetur in
feugiat arcu semper. Vestibulum vulputate
diam id leo placerat adipiscing.
Nullam posuere elementum nisl non
sollicitudin. Vivamus ligula magna, dapibus
id dictum nec, viverra eget urna. Nam quis
consectetur quam. Nunc ac nisl at velit
ornare pulvinar. Pellentesque commodo
commodo erat a sodales. Nulla ac leo
lorem. Quisque pretium sollicitudin velit,
ac facilisis est dapibus sit amet. Morbi
elementum nunc vel turpis tristique
sodales.




Copyright © 2010 Intel Corporation. All rights reserved.
Intel® AppUpSM Developer Program | November 2010


*Other names and brands may be claimed as the property of others.


Additional Notes and Known Restrictions:
• As of October 2010, the submission section of the AppUp developer program site will not include a selection for .NET. You can instead select Win
  dows as with C/C++ submissions and include your .MSI as normal. The submission portal will be updated with a .NET option later 2010.
• As of October 2010, the .NET SDK works with version 3.5 of .NET applications. Using version 4.0 may have an issue with this SDK and could fail
  validation. It is recommended that applications use version 3.5 to ensure application validation and a good consumer experience.

Mais conteúdo relacionado

Mais procurados

Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipsenga
 
Part 6 debugging and testing java applications
Part 6 debugging and testing java applicationsPart 6 debugging and testing java applications
Part 6 debugging and testing java applicationstechbed
 
SynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps deployment framework architectureSynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps deployment framework architectureSynapseindiappsdevelopment
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
Dev ops for cross platform mobile modeveast 12
Dev ops for cross platform mobile   modeveast 12Dev ops for cross platform mobile   modeveast 12
Dev ops for cross platform mobile modeveast 12Sanjeev Sharma
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setupChina Bigs
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialkatayoon_bz
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialEd Zel
 
Getting started with ibm worklight tips
Getting started with ibm worklight tipsGetting started with ibm worklight tips
Getting started with ibm worklight tipsbupbechanhgmail
 
Eclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoEclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoMohd Safian
 
MonkeyTalk Documentation
MonkeyTalk DocumentationMonkeyTalk Documentation
MonkeyTalk DocumentationVivek Pansara
 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1RubaNagarajan
 
Developing applications using Embedded Rich Client Platform (eRCP)
Developing applications using Embedded Rich Client Platform (eRCP)Developing applications using Embedded Rich Client Platform (eRCP)
Developing applications using Embedded Rich Client Platform (eRCP)Gorkem Ercan
 
Introduction to android coding
Introduction to android codingIntroduction to android coding
Introduction to android codingHari Krishna
 
A logic foundation for template-based program transformation in Eclipse
A logic foundation for template-based program transformation in EclipseA logic foundation for template-based program transformation in Eclipse
A logic foundation for template-based program transformation in EclipseCoen De Roover
 

Mais procurados (20)

Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipse
 
Part 6 debugging and testing java applications
Part 6 debugging and testing java applicationsPart 6 debugging and testing java applications
Part 6 debugging and testing java applications
 
SynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps deployment framework architectureSynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps deployment framework architecture
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Dev ops for cross platform mobile modeveast 12
Dev ops for cross platform mobile   modeveast 12Dev ops for cross platform mobile   modeveast 12
Dev ops for cross platform mobile modeveast 12
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setup
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Getting started with ibm worklight tips
Getting started with ibm worklight tipsGetting started with ibm worklight tips
Getting started with ibm worklight tips
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Eclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoEclipse vs Netbean vs Railo
Eclipse vs Netbean vs Railo
 
Java vs .Net
Java vs .NetJava vs .Net
Java vs .Net
 
Eclipse - Single Source;Three Runtimes
Eclipse - Single Source;Three RuntimesEclipse - Single Source;Three Runtimes
Eclipse - Single Source;Three Runtimes
 
MonkeyTalk Documentation
MonkeyTalk DocumentationMonkeyTalk Documentation
MonkeyTalk Documentation
 
ID E's features
ID E's featuresID E's features
ID E's features
 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1
 
Developing applications using Embedded Rich Client Platform (eRCP)
Developing applications using Embedded Rich Client Platform (eRCP)Developing applications using Embedded Rich Client Platform (eRCP)
Developing applications using Embedded Rich Client Platform (eRCP)
 
Introduction to android coding
Introduction to android codingIntroduction to android coding
Introduction to android coding
 
A logic foundation for template-based program transformation in Eclipse
A logic foundation for template-based program transformation in EclipseA logic foundation for template-based program transformation in Eclipse
A logic foundation for template-based program transformation in Eclipse
 

Destaque

Gie, Dalam Panggung Pergerakan Mahasiswa
Gie, Dalam Panggung Pergerakan MahasiswaGie, Dalam Panggung Pergerakan Mahasiswa
Gie, Dalam Panggung Pergerakan MahasiswaRobby Angryawan
 
Discovery in Deep: Corporate Preservation and Identification of Evidence
Discovery in Deep:  Corporate Preservation and Identification of EvidenceDiscovery in Deep:  Corporate Preservation and Identification of Evidence
Discovery in Deep: Corporate Preservation and Identification of EvidenceShoshana Schiller
 
Rcc new briefing 10 21-10
Rcc new briefing 10 21-10Rcc new briefing 10 21-10
Rcc new briefing 10 21-10Kris Benjamin
 
Recent Developments in CERCLA
Recent Developments in CERCLARecent Developments in CERCLA
Recent Developments in CERCLAShoshana Schiller
 

Destaque (7)

New Dot Net SDK
New Dot Net SDKNew Dot Net SDK
New Dot Net SDK
 
Gie, Dalam Panggung Pergerakan Mahasiswa
Gie, Dalam Panggung Pergerakan MahasiswaGie, Dalam Panggung Pergerakan Mahasiswa
Gie, Dalam Panggung Pergerakan Mahasiswa
 
Discovery in Deep: Corporate Preservation and Identification of Evidence
Discovery in Deep:  Corporate Preservation and Identification of EvidenceDiscovery in Deep:  Corporate Preservation and Identification of Evidence
Discovery in Deep: Corporate Preservation and Identification of Evidence
 
Rcc new briefing 10 21-10
Rcc new briefing 10 21-10Rcc new briefing 10 21-10
Rcc new briefing 10 21-10
 
Recent Developments in CERCLA
Recent Developments in CERCLARecent Developments in CERCLA
Recent Developments in CERCLA
 
Producto Piletas
Producto PiletasProducto Piletas
Producto Piletas
 
A Tale of Two Ports
A Tale of Two PortsA Tale of Two Ports
A Tale of Two Ports
 

Semelhante a Five Steps to Add AppUp .NET SDK to Microsoft Visual Studio

Getting started with the NDK
Getting started with the NDKGetting started with the NDK
Getting started with the NDKKirill Kounik
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Sentinel Solutions Ltd
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxGevitaChinnaiah
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manualHari K
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core introBinary Studio
 
DSDP Mobile Tools for Java Webinar
DSDP Mobile Tools for Java WebinarDSDP Mobile Tools for Java Webinar
DSDP Mobile Tools for Java Webinargustavoeliano
 
The seven pillars of aspnet
The seven pillars of aspnetThe seven pillars of aspnet
The seven pillars of aspnetNethaji Naidu
 
tybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notesWE-IT TUTORIALS
 
Event Driven programming(ch1 and ch2).pdf
Event Driven programming(ch1 and ch2).pdfEvent Driven programming(ch1 and ch2).pdf
Event Driven programming(ch1 and ch2).pdfAliEndris3
 
UrbanCode Deploy course and product overview slides
UrbanCode Deploy course and product overview slidesUrbanCode Deploy course and product overview slides
UrbanCode Deploy course and product overview slidesIBM Rational software
 
Docker on Google App Engine
Docker on Google App EngineDocker on Google App Engine
Docker on Google App EngineDocker, Inc.
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdfRebaMaheen
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdfRebaMaheen
 
Advance Android Application Development
Advance Android Application DevelopmentAdvance Android Application Development
Advance Android Application DevelopmentRamesh Prasad
 
Lecture-1&2.pdf Visual Programming C# .net framework
Lecture-1&2.pdf Visual Programming C# .net frameworkLecture-1&2.pdf Visual Programming C# .net framework
Lecture-1&2.pdf Visual Programming C# .net frameworkAbdullahNadeem78
 

Semelhante a Five Steps to Add AppUp .NET SDK to Microsoft Visual Studio (20)

New Dot Net SDK
New Dot Net SDKNew Dot Net SDK
New Dot Net SDK
 
Getting started with the NDK
Getting started with the NDKGetting started with the NDK
Getting started with the NDK
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manual
 
10 gui 14
10 gui 1410 gui 14
10 gui 14
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
 
DSDP Mobile Tools for Java Webinar
DSDP Mobile Tools for Java WebinarDSDP Mobile Tools for Java Webinar
DSDP Mobile Tools for Java Webinar
 
The seven pillars of aspnet
The seven pillars of aspnetThe seven pillars of aspnet
The seven pillars of aspnet
 
tybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notes
 
Event Driven programming(ch1 and ch2).pdf
Event Driven programming(ch1 and ch2).pdfEvent Driven programming(ch1 and ch2).pdf
Event Driven programming(ch1 and ch2).pdf
 
The Seven Pillars Of Asp.Net
The Seven Pillars Of Asp.NetThe Seven Pillars Of Asp.Net
The Seven Pillars Of Asp.Net
 
UrbanCode Deploy course and product overview slides
UrbanCode Deploy course and product overview slidesUrbanCode Deploy course and product overview slides
UrbanCode Deploy course and product overview slides
 
Docker on Google App Engine
Docker on Google App EngineDocker on Google App Engine
Docker on Google App Engine
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdf
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
 
Advance Android Application Development
Advance Android Application DevelopmentAdvance Android Application Development
Advance Android Application Development
 
Overview
OverviewOverview
Overview
 
Lecture-1&2.pdf Visual Programming C# .net framework
Lecture-1&2.pdf Visual Programming C# .net frameworkLecture-1&2.pdf Visual Programming C# .net framework
Lecture-1&2.pdf Visual Programming C# .net framework
 

Último

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Five Steps to Add AppUp .NET SDK to Microsoft Visual Studio

  • 1. Intel® AppUpSM developer program Part of the Intel® Software Network Originally published as a blog by Bob Duffy at : http://appdeveloper.intel.com/en-us/blog/2010/07/16/air-appup-what-developer-needs-know Five Steps to Add AppUp .NET SDK to Microsoft Visual Studio* Intel® AppUp developer program announces .NET SDK & IDE Plug-in for Microsoft Visual Studio The AppUp developer program launched support for .NET applications by releasing the .NET SDK, along with an IDE Plug-In for Visual Studio 2008. This plug-in reduces development time to integrate the AppUp SDKs and builds the MSI needed to submit your application for distribution and sales via the Intel® AppUpSM Center. The IDE Plug-in sup- ports both the C/C++ and .NET SDK for Microsoft Windows* when using Visual Studio 2008. With the .NET SDK and support now the Intel AppUpTM SDK Plug-in 1.0 for available for the Intel AppUp developer Visual Studio 2008 software installed program, here’s a brief overview of the and the Intel AppUpTM SDK code included, SDK’s technical components, along with you can test and debug your application five quick steps how to add the.NET SDK without requiring the full client or to Visual Studio 2008. With the .NET access to hardware. SDK and support now available for the Intel AppUp developer program, here’s 4. How to add the Intel AppUp .NET a brief overview of the SDK’s technical SDK in Microsoft Visual Studio 2008 components, along with five quick steps Step 1: In Visual Studio, right click on how to add the.NET SDK to Visual Studio Reference and use Add Reference 2008. from the shortcut menu to add the Download the library to the project. [FIgUrE A] AppUp .NET SDK & IDE Plugin 1. Supported languages: The SDK supports the following for Visual Studio languages and Microsoft Windows* graphical APIs: • C# for WPF (Windows Presentation Foundation) applications • C# for WinForms (Windows Forms) applications • Visual Basic for WPF applications Intel® AppUpSM developer program • Visual Basic for WinForms applications Provides developers with 2. Supported Runtimes: everything they need to create and 1. Microsoft .NET Framework 3.5 is only sell their apps to users of millions of supported. 2. Applications that target .NET frame- Intel® Atom™ processor-based devices. work 4.0 will be rejected in Validation. 3. Intel AppUp™ Software Debugger: The Intel AppUp™ Software Debugger is a utility that emulates the Application Services of the Consumer Client. With [FIgUrE A] 1
  • 2. Intel® AppUpSM developer program Part of the Intel® Software Network Step 2: Declare SDK Namespace and Sample code for Visual Basic Winforms If TypeOf ex Is AdpErrorException Then Integrate with the .NET SDK: applications: ‘ TO DO: add your logic to handle the In the declaration section at the start of Declare the SDK namespace com.intel. errors during initialization the C# source file, define com.intel.adp as adp using the Imports Statement shown MsgBox(ex.Message) a namespace. This frees you from having below. to add it as a prefix for SDK calls in your System.Environment.Exit(1) /// application. See the sample below: ElseIf TypeOf ex Is AdpWarningException Imports com.intel.adp Then /// /// ‘ TO DO: add your logic to handle the using com.intel.adp; warnings Private Sub Form1_Load(ByVal sender /// As System.Object, ByVal e As System. MsgBox(ex.Message) EventArgs) Handles MyBase.Load End If Below is the sample code for C#. Try End Try Paste in the Following code in the Dim app As New AdpApplication(New Initialization section: AdpApplicationId(&H11111111, &H11111111, End Sub try &H11111111, &H11111111)) ‘ Note: replace “&H11111111, &H11111111, Step 3: Intel Appup Software Debugger: { &H11111111, &H11111111” with the actual The Intel Appup Software Debugger is AdpApplication app = application ID only supported for Visual Studio 2008. new AdpApplication(new AdpApplicationId(0x11111111, 0x11111111, ‘ once you obtain it from Intel AppUp(SM) The Intel Appup Software Debugger al- 0x11111111, 0x11111111)); Developer Program web portal lows you to test and debug your applica- ‘ To test Expired ID, use AdpConstants. tion without requiring the full client or ac- /// Note: replace “0x11111111, 0x11111111, 0x11111111, 0x11111111” with the actual ADP_EXPIRED_APPLICATIONID cess to hardware. Below is the screenshot. application ID [FIgURE B] Catch ex As AdpException /// once you obtain it from Intel AppUp(SM) Developer Program web portal } catch (AdpException e) { if (e is AdpErrorException) { // TO DO: add your logic to handle the errors during initialization MessageBox.Show(e.Message, “Error”); System.Environment.Exit(1); } else if (e is AdpWarningException) { // TO DO: add your logic to handle the warnings MessageBox.Show(e.Message, “Warning”); } } [FIgURE B] 2
  • 3. Intel® AppUpSM developer program Part of the Intel® Software Network Click on “Start the Intel Appup Software Debugger”. You will see the below window: INTEl APPUPSM DEVEloPER PRogRAM INCENTIVES THAT MICRoSoFT .NET DEVEloPERS CAN TAKE ADVANTAgE oF: INTEl AToM DEVEloPER MIllIoN DollAR FUND Through this fund, we support software developers and companies creating new experiences through applications for Intel® Atom™ processor-based netbooks. INTEl APPUP DEVEloPER CHAllENgE The contest is designed to encourage breakthrough applications that fundamentally change the user experience on a netbook featuring an Intel Atom processor. There are cash prizes and a 2011 Chevy* Volt* to be won. Debug your application. If the Intel AppUpTM SDK code is included you will see the lEgENDS below window: Want application visibility? The Legends program is a way to share the story behind the applications. get your app in and submit your story. Become a Legend. INTEl BlACK BElT DEVEloPER SoFTWARE DEVEloPER Share your knowledge and earn recognition for your contributions. 3
  • 4. Intel® AppUpSM developer program Part of the Intel® Software Network Step 4: Replace “0x11111111, 0x11111111, 0x11111111, 0x11111111” with the actual application ID once you obtain it from Intel AppUp(SM) Developer Program web portal and recompile INTEl APPUP DEVEloPER the program. PRogRAM – gETTINg STARTED Step 5: Create an Installation Package: The getting Started guide is the Create a “silent install” .MSI package that meets the Intel AppUpSM Developer Program good place to begin. Find tools and packaging requirements. These requirements ensure that applications provide a tips to start developing. good user experience during installation and Uninstallation. For a list of packaging Developer guidelines requirements, refer to (http://appdeveloper.intel.com/en-us/article/packaging- requirements). For tips on packaging applications for Windows, refer to (http:// Validation Process appdeveloper.intel.com/en-us/article/how-creating-your-msi-instal...). You must wrap the Submitting an Application AdpLibrary.dll library file into your application installer. The installer must copy the .dll Developer Challenge file into the same folder where the application’s main executable is copied. Porting to AppUp – resources Note for VS 2010 developers: & guides Intel Appup .NET SDK is tested only against Visual Studio 2008. However, if you are a Visual Studio 2010 developer you need to make sure your target .NET frame work is set to 3.5. Below are the steps 1. Change the .NET Target Framework from 4.0 to 3.5 Changing Target .NET Framework for C#: [FIgUrE E] A. On the Project menu, click ProjectName Properties. B. Click the Application tab. C. In the Target Framework list, select .NET Framework 3.5. Changing Target .NET Framework for VB [FIgUrE F] A. On the Project menu, click ProjectName Properties. B. Click the Compile tab. C. Click Advanced Compile Options. D. In the Target Framework (all configurations) list, select .NET Framework 3.5. 4
  • 5. Intel® AppUpSM developer program Part of the Intel® Software Network lEARN MoRE ABoUT DEVEloPER ToolS AND RESoURCES AT: Intel® Software Dispatch – Delivering the latest advances in software technologies, de- veloper tools and resources and best practices. Intel® Software Network Intel® Software Development Products More .NET SDK Resources • New AppUp Support for .NET • Download the .NET SDK • learn more about the .NET SDK for AppUp • Brian Burrows reviews the SDK & new IDE Plug-in 2. Click on Publish->Prerequisites. Make sure Microsoft .NET Framework 4.0 is un- checked. • Download the Visual Studio AppUp IDE Plug-in (.MSI file) 3. When creating the MSI using Visual Studio 2010 Setup project make sure you target to .NET framework 3.5. Right Click Setup Project->Prerequisites and uncheck Micro- • Building an MSI for AppUp soft .NET Framework 4.0 in the Prerequisites. (updated for .NET) 5
  • 6. Intel® AppUpSM developer program Part of the Intel® Software Network About the Author FPO Praveen Kundurthy Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus pellentesque consequat congue. Pellentesque ullamcorper, felis eget consectetur rutrum, quam metus vestibulum diam, a fermentum orci diam sit amet ipsum. Phasellus non lorem vitae dui vehicula interdum. Sed consequat, augue volutpat tempor blandit, tellus erat viverra lacus, ac luctus tortor augue vel neque. Nullam aliquet augue eget risus consectetur in feugiat arcu semper. Vestibulum vulputate diam id leo placerat adipiscing. Nullam posuere elementum nisl non sollicitudin. Vivamus ligula magna, dapibus id dictum nec, viverra eget urna. Nam quis consectetur quam. Nunc ac nisl at velit ornare pulvinar. Pellentesque commodo commodo erat a sodales. Nulla ac leo lorem. Quisque pretium sollicitudin velit, ac facilisis est dapibus sit amet. Morbi elementum nunc vel turpis tristique sodales. Copyright © 2010 Intel Corporation. All rights reserved. Intel® AppUpSM Developer Program | November 2010 *Other names and brands may be claimed as the property of others. Additional Notes and Known Restrictions: • As of October 2010, the submission section of the AppUp developer program site will not include a selection for .NET. You can instead select Win dows as with C/C++ submissions and include your .MSI as normal. The submission portal will be updated with a .NET option later 2010. • As of October 2010, the .NET SDK works with version 3.5 of .NET applications. Using version 4.0 may have an issue with this SDK and could fail validation. It is recommended that applications use version 3.5 to ensure application validation and a good consumer experience.