Weird ClickOnce error

  • Thread starter Thread starter musosdev
  • Start date Start date
M

musosdev

Hi

I've just been playing around with ClickOnce in Visual Studio 2008
(Publish..). It seems to work however I'm getting some odd behaviour.

My project has been developed on a 64bit platform, but has always been
targetted for x86. When I've come to "deploy" using ClickOnce, it works fine
on my 64-bit XP machine (same box as development, different partition), but
on another machine (also 64bit) I get the following error during the
prerequisites check...

"This version of the .NET Framework 2.0 (x86) is not supported on a 64-bit
operating system. Contact your software vendor"

I don't understand how it works on one machinem, but not another, both
64-bit, and both from the same deployment package on the same network share.

Any ideas?! Thanks
 
Robin

Thanks for the ideas.

I tried what you suggested, setting the project properties and then the
Build stuff. Same problem.

However, it seems as though it's ClickOnce. When you run the network share
installation, it says it requires a PreRequisite of the .NET Framework (x86)
- and it says x86 even if your Build is set the x64. Slightly confusing.

Installing .NET 2.0 x64 redist cured the problem.

You'd think ClickOnce would be able to tell the difference!

Thanks for the help though!
 
Back
Top