PublicKey attribute in .NET Framework 3.5 SP1 Does not match that of file...

When building an installer in Visual Studio 2008 SP1 and including the bootstrapper installer for .NET Framework 3.5 SP1, you may get 2 warnings when building stating:

Warning 1 The value of the 'PublicKey' attribute in '.NET Framework 3.5' does not match that of file
'C:\Programmi\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35\dotNetMSP\x86\xxx.msu'.


Warning 2 The value of the 'PublicKey' attribute in '.NET Framework 3.5' does not match that of file
'C:\Programmi\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35\dotNetMSP\x64\xxx.msu'.

For some reason in the product.xml file for DotNetFX35SP1, the "xxx" files have a different PublicKey than all of the other files in the dotNetFX30 packages for the DotNetFX35SP1 bootstrapper. To fix the issue replace the "xxx" PublicKeys with one of the other keys (they are all the same).

ClickOnce : pubblicare su Apache

Configure your apache publish directory for ClickOnce applications

At the root directory of where you are publishing your ClickOnce application, create / edit a .htaccess file. (click here for the apache documentation on AddType) (if you still need help with apache I suggest the following book Apache: The Definitive Guide (3rd Edition) )
Add the following lines to it:

AddType application/x-ms-application application
AddType application/x-ms-manifest manifest
AddType application/octet-stream deploy

Leggi tutto...

[WPF] Hide the “Window Buttons” (minimize, restore and close) and the icon of a window

No “Red-X”? Then I can’t close the window! How to achieve this reaction in WPF applications.

Even if it is not always the user friendliest way, there are situation in which you do no want the user to close a window using the “red X” in the upper right corner of a window’s non client area (sometimes only called “Close Button” ;-) ).

In most cases this behavior is expected from Dialogs which usually do not have “Minimize” and “Maximize” buttons. So it’s a common practice to hide the whole so called “System Menu”, “Control Box” or “System Bar”.

Leggi tutto...

Site Search

Who's Online

Abbiamo 10 visitatori e nessun utente online



Visite agli articoli
banner mym
banner mym