ClickOnce error: Value does not fall within the expected range
You can try this: rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache
You can try this: rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache
You need to use application scoped, rather than domain scoped, isolated storage. This can be done by using one of IsolatedStorageFileStream’s overloaded constructors. Example: using System.IO; using System.IO.IsolatedStorage; … IsolatedStorageFile appScope = IsolatedStorageFile.GetUserStoreForApplication(); using(IsolatedStorageFileStream fs = new IsolatedStorageFileStream(“data.dat”, FileMode.OpenOrCreate, appScope)) { … However, now you will run into the issue of this code only working … Read more
I seemed to have found an evolution of the answer from @John Hunter that is much simpler, add this to the csproj. <ItemGroup> <Content Include=”Bin\**\*.rpt” /> </ItemGroup> This will then make visual studio automatically view all *.rpt files in that folder as part of the solution. You could go with *.* to accumulate everything. This … Read more
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
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
To find the folder location, you can just run the app, open the task manager (CTRL-SHIFT-ESC), select the app and right-click|Open file location.
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
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