Weird ClickOnce error

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
 
M

musosdev

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ClickOnce Error 1
Problem with a clickonce application 1
Install COM using ClickOnce 2
ClickOnce issues 3
ClickOnce deployment to Vista 64 bit problems 14
ClickOnce Skip 1
clickonce secure deployment 1
x64 2

Top