Error message “Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC”

Try going to the Publish tab in the project properties and then select the Application Files button. Then set the following properties: File Name of stdole.dll Publish status to Include Download Group to Required After that you need to republish your application. If the reference has CopyLocal=true, then the reference will be published with the … Read more

What alternatives are there to ClickOnce? [closed]

Squirrel: It’s like ClickOnce, but it works. Squirrel is both a set of tools and a library, to completely manage both installation and updating your desktop Windows application, written in either C# or any other language (that is, Squirrel can manage native C++ applications). Squirrel uses NuGet packages to create installation and update packages, which … Read more

How to display ClickOnce Version number on Windows Forms

Add an assembly reference to System.Deployment to your project. Import the namespace in your class file: VB.NET: Imports System.Deployment.Application C#: using System.Deployment.Application; Retrieve the ClickOnce version from the CurrentVersion property. You can obtain the current version from the ApplicationDeployment.CurrentDeployment.CurrentVersion property. This returns a System.Version object. Note (from MSDN): CurrentVersion will differ from UpdatedVersion if a … Read more

Best way to deploy Visual Studio application that can run without installing

It is possible and is deceptively easy: “Publish” the application (to, say, some folder on drive C), either from menu Build or from the project’s properties → Publish. This will create an installer for a ClickOnce application. But instead of using the produced installer, find the produced files (the EXE file and the .config, .manifest, … Read more

Unable to apply publish properties for item X

It appears that the issue is related to ClickOnce. Navigate to the project, right click on it and click on properties. Go to the Publish tab and click on Application Files. Check the ‘Show all files’ checkbox and scroll through the list of files. Eventually, you will come across the file that has a yellow … Read more

“ClickOnce does not support the request execution level ‘requireAdministrator.'”

Edit: This comment gives a good answer, too. Click once appears to get enabled whenever you click “Publish”, whether you want it to or not! If you are using “requireAdministrator” then it appears that you cannot use ClickOnce, and therefore cannot “Publish” your project. Original: Turns out that under the Security tab, “Enable ClickOnce security … Read more

Error deploying ClickOnce application – Reference in the manifest does not match the identity of the downloaded assembly

There was an issue with Visual Studio 2008 which is solved by not embedding the default manifest – one of the comments on that article suggests the problem still exists in Visual Studio 2010. In project properties -> Application tab -> Resources -> checkbox Icon and manifest, the setting “Embed manifest with default settings” caused … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)