SlideShare a Scribd company logo
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.

More Related Content

What's hot

Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipse
nga
 
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 architecture
Synapseindiappsdevelopment
 
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
Gunjan 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 12
Sanjeev Sharma
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setupChina Bigs
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
katayoon_bz
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Ed Zel
 
Getting started with ibm worklight tips
Getting started with ibm worklight tipsGetting started with ibm worklight tips
Getting started with ibm worklight tips
bupbechanhgmail
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Avinash Nandakumar
 
Eclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoEclipse vs Netbean vs Railo
Eclipse vs Netbean vs Railo
Mohd Safian
 
Java vs .Net
Java vs .NetJava vs .Net
Java vs .Net
Tejasvi Rastogi
 
Eclipse - Single Source;Three Runtimes
Eclipse - Single Source;Three RuntimesEclipse - Single Source;Three Runtimes
Eclipse - Single Source;Three Runtimes
Suresh Krishna Madhuvarsu
 
MonkeyTalk Documentation
MonkeyTalk DocumentationMonkeyTalk Documentation
MonkeyTalk Documentation
Vivek Pansara
 
ID E's features
ID E's featuresID E's features
ID E's features
wajahat Gul
 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1
RubaNagarajan
 
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 coding
Hari 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 Eclipse
Coen De Roover
 

What's hot (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
 

Viewers also liked

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 CERCLA
Shoshana Schiller
 

Viewers also liked (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
 

Similar to 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 NDK
Kirill 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 Development
IJERD 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.pptx
GevitaChinnaiah
 
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
Hari K
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
Binary Studio
 
DSDP Mobile Tools for Java Webinar
DSDP Mobile Tools for Java WebinarDSDP Mobile Tools for Java Webinar
DSDP Mobile Tools for Java Webinar
gustavoeliano
 
The seven pillars of aspnet
The seven pillars of aspnetThe seven pillars of aspnet
The seven pillars of aspnet
Nethaji 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 notes
WE-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).pdf
AliEndris3
 
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
IBM 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.pdf
RebaMaheen
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
RebaMaheen
 
Advance Android Application Development
Advance Android Application DevelopmentAdvance Android Application Development
Advance Android Application Development
Ramesh Prasad
 
Overview
OverviewOverview
Overview
Joanne Scouler
 
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
AbdullahNadeem78
 

Similar to 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
 

Recently uploaded

Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 

Recently uploaded (20)

Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 

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.