using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
using System.Deployment;

namespace RegisteryCheck
{
    class Program
    {
        static void Main(string[] args)
        {
            ApplicationDeployment ab = new 

            

        }
    }
}

Recommended Answers

All 4 Replies

Member Avatar for nssltd

Please could you tell me exactly what you are aiming to do?

Member Avatar for nssltd

Also are you sure you havent got an error
here

ApplicationDeployment ab = new

doesnt it need to be

ApplicationDeployment ab = new ApplicationDeployment
Member Avatar for saravind84

Try using the namespace System.Deployment.Application; instead of
using System.Deployment;

using System.Deployment.Application;
Member Avatar for nssltd

I agree with saravind84. using System.Deployment.Application should work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.