Welcome to MSDN Blogs Sign in | Join | Help

ClickOnce (RSS)

ClickOnce doc updates, tips and tricks.

InPlaceHostingManager: Why Does AssertApplicationRequirements() Throw a TrustNotGrantedException?

As you may remember , InPlaceHostingManager is a part of the ClickOnce API that enables a .NET application to download and install other ClickOnce applications. It's pretty straightforward to use - but there may be one area that trips you up. I was chatting
Posted by Jay A. Allen | 1 Comments
Filed under:

SQL Server Express, Windows Forms, and ClickOnce

I'm working on a project that will be included in a white paper, and needed to use SQL Server Express 2005 as a database engine. Being the "ClickOnce guy" on the Windows Forms doc team, I immediately wondered: How will I deploy this once it's ready? Fortunately,
Posted by Jay A. Allen | 0 Comments
Filed under: ,

Conflict Between ClickOnce and Kensington Mouseworks Causes ClickOnce Applications to Crash

The ClickOnce development team has just alerted us that the current versions of Kensington Mouseworks software have a bad problem in one of their driver DLLs that crashes all ClickOnce applications. The bug occurs in a DLL that is loaded with every Windows
Posted by Jay A. Allen | 1 Comments
Filed under:

ClickOnce: How to Dynamically Detect Data Directory Between Debug, Release, and Publish

Dynamically Detecting the Data Directory My Slideshow control ( which I discussed in a previous post ) looks in a data directory called images for the images it wishes to display. This adds a curious twist to application development and deployment. When

ClickOnce: Installing FrontPage Server Extensions 2002 on IIS 6.0 for Publishing

In order to test some ClickOnce deployments today, I had to configure a new Web server to allow ClickOnce publishing through Visual Studio. ClickOnce deployments can be x-copied to a Web server, so not having that auto-publish capability is not the end
Posted by Jay A. Allen | 5 Comments
Filed under:

ClickOnce Identities: What They Are, Why You Should Care

I haven't written much in the ClickOnce docs about the concept of a ClickOnce identity. Recent support inquiries have shown me that an understanding of this concept can help solve some very confusing problems. What is a ClickOnce Identity ? The identity
Posted by Jay A. Allen | 0 Comments
Filed under:

Debugging Partially Trusted ClickOnce Apps

Shawn over at the .NET Security Blog has a great tip about using gflags to debug a ClickOnce app that fails to execute correctly in partial trust. Check it!
Posted by Jay A. Allen | 0 Comments
Filed under:

ClickOnce: Using On Demand Assembly Download in Partial Trust

A while back, I posted some information on how to get on demand assembly download to work for ClickOnce applications . As MVP Corrado Cavalli noted to me privately, however, this technique will not work in partial trust - and yet, the download APIs themselves
Posted by WinFormsUE | 1 Comments
Filed under:

Deploying Satellite Assemblies On Demand in a ClickOnce Application

Need to deploy satellite assemblies for your ClickOnce app? One way to do it would be to generate a new deployment for each localized version of your app, and include only the satellite assembly required for each localized version. Needless to say, if
Posted by WinFormsUE | 3 Comments
Filed under:

Boneheaded .NET Error of the Day

[Can I say "boneheaded" on MSDN? If this post disappears in an hour, you'll know I've received an email from HR...] As a Programmer/Writer for Windows Forms, I develop code examples in both C# and Visual Basic.NET. Today, I was finishing up a code example

ClickOnce and Firefox

Saurabh Pant is posting tons of great information about ClickOnce these days. Today, he has a great article explaining why ClickOnce apps can't be launched from Firefox - and what the ClickOnce team plans to do about it.
Posted by WinFormsUE | 0 Comments
Filed under:

Specifying Individual Support URLs for ClickOnce Prerequisites

I just finished a bunch of work on the ClickOnce documents regarding Platform Detection, which ClickOnce uses to check that the operating system and installed CLR are of the appropriate version, and also that any controls required to be installed in the
Posted by WinFormsUE | 1 Comments
Filed under:

ClickOnce File Patching

Saurabh Pant, a PM on the Windows Forms team (and former ClickOnce tester) has some great info up on how ClickOnce uses file patching to streamline application update downloads . We'll be adding this to the official docs this week.
Posted by WinFormsUE | 0 Comments
Filed under:

InPlaceHostingManager: Install ClickOnce Applications Programmatically

System.Deployment.Application.InPlaceHostingManager lets you download ClickOnce applications using a programmatic API, making it perfect for managed SMS installs, or for creating a custom Windows Forms "dashboard" application that lets your customers
Posted by WinFormsUE | 1 Comments
Filed under:

Setting ClickOnce Content Types under IIS

We had some information in our original ClickOnce Troubleshooting doc about how to set content (MIME) types up in Internet Information Server if you didn't have .NET Framework installed. In a nutshell, when you fetch the .application file for a ClickOnce
Posted by WinFormsUE | 0 Comments
Filed under:
More Posts Next page »
 
Page view tracker