Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
QuestionExRichTextBox Pin
Star.jon24-Apr-13 21:45
Star.jon24-Apr-13 21:45 
AnswerRe: ExRichTextBox Pin
Marco Bertschi24-Apr-13 22:10
protectorMarco Bertschi24-Apr-13 22:10 
GeneralRe: ExRichTextBox Pin
Star.jon25-Apr-13 20:32
Star.jon25-Apr-13 20:32 
GeneralRe: ExRichTextBox Pin
Star.jon25-Apr-13 20:35
Star.jon25-Apr-13 20:35 
GeneralRe: ExRichTextBox Pin
Marco Bertschi25-Apr-13 21:49
protectorMarco Bertschi25-Apr-13 21:49 
Questionhow to detect SoundEffect stoped in xna Pin
payjo24-Apr-13 15:15
payjo24-Apr-13 15:15 
Questionsetup error in c# Pin
User349024-Apr-13 4:11
User349024-Apr-13 4:11 
AnswerRe: setup error in c# Pin
Keith Barrow24-Apr-13 5:05
professionalKeith Barrow24-Apr-13 5:05 
zebra88 wrote:
Error 27 File 'log4net.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86' C:\Users\user\Documents\Visual Studio 2010\Projects\WindowsFormsApplication3\Insurance Management Setup\Insurance Management Setup\Insurance Management Setup.vdproj Insurance Management Setup

Why this is happening is described in the error message: you are trying to deploy the AMD (AMD64) targeted dll against a Generic x86 (x86) application.


zebra88 wrote:
What is the solution ??

Personally, I'd start by downloading the Log4Net Source and building alongside the app so it always builds against the same version as the app. You could also get the generic version of the dll and deploy that, but as you require 32-bit deployment as well it might get messy.

As for 32/64 bit deployment, the simplest thing to do is to set up both 32 and 64 bit versions of your build configuration and swapping to produce 32 and 64-bit versions of your MSIs. You could also consider two installer projects for each, but it depends on your circumstances. If you want a single installer where the user chooses which version as part of the installation process, then that is beyond my ken I'm afraid.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
“One of the greatest problems of our time is that many are schooled but few are educated”


Sir Thomas More (1478 – 1535)

QuestionCallBack to consumer using RESTful / MVC / WCF Pin
jexes23-Apr-13 22:51
jexes23-Apr-13 22:51 
QuestionProgramming a Symbol Handheld Scanner Pin
bob18123-Apr-13 20:57
professionalbob18123-Apr-13 20:57 
AnswerRe: Programming a Symbol Handheld Scanner Pin
Pete O'Hanlon23-Apr-13 21:29
mvePete O'Hanlon23-Apr-13 21:29 
AnswerRe: Programming a Symbol Handheld Scanner Pin
Joe Woodbury24-Apr-13 8:19
professionalJoe Woodbury24-Apr-13 8:19 
Questionprinting students grades after finding them in files.. Pin
Magda634723-Apr-13 9:30
Magda634723-Apr-13 9:30 
AnswerRe: printing students grades after finding them in files.. Pin
Eddy Vluggen23-Apr-13 9:36
professionalEddy Vluggen23-Apr-13 9:36 
QuestionWhich one is overriding and which one is overloading Pin
Arun kumar Gautam23-Apr-13 2:55
Arun kumar Gautam23-Apr-13 2:55 
AnswerRe: Which one is overriding and which one is overloading Pin
Keith Barrow23-Apr-13 3:07
professionalKeith Barrow23-Apr-13 3:07 
AnswerRe: Which one is overriding and which one is overloading Pin
ZurdoDev23-Apr-13 9:08
professionalZurdoDev23-Apr-13 9:08 
AnswerRe: Which one is overriding and which one is overloading Pin
Clifford Nelson24-Apr-13 14:23
Clifford Nelson24-Apr-13 14:23 
AnswerRe: Which one is overriding and which one is overloading Pin
Arun kumar Gautam24-Apr-13 19:22
Arun kumar Gautam24-Apr-13 19:22 
GeneralRe: Which one is overriding and which one is overloading Pin
Keith Barrow24-Apr-13 23:29
professionalKeith Barrow24-Apr-13 23:29 
GeneralRe: Which one is overriding and which one is overloading Pin
Arun kumar Gautam25-Apr-13 1:57
Arun kumar Gautam25-Apr-13 1:57 
GeneralRe: Which one is overriding and which one is overloading Pin
Keith Barrow25-Apr-13 2:05
professionalKeith Barrow25-Apr-13 2:05 
GeneralRe: Which one is overriding and which one is overloading Pin
Arun kumar Gautam25-Apr-13 20:24
Arun kumar Gautam25-Apr-13 20:24 
GeneralRe: Which one is overriding and which one is overloading Pin
Keith Barrow25-Apr-13 22:16
professionalKeith Barrow25-Apr-13 22:16 
AnswerRe: Which one is overriding and which one is overloading Pin
Clifford Nelson25-Apr-13 16:27
Clifford Nelson25-Apr-13 16:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.