Click here to Skip to main content
15,922,630 members
Home / Discussions / C#
   

C#

 
QuestionRe: c# or c++ image processing? Pin
led mike29-Apr-09 5:36
led mike29-Apr-09 5:36 
Questiondll security flaw Pin
ferroariel28-Apr-09 3:30
ferroariel28-Apr-09 3:30 
Question[Message Deleted] Pin
bhargava240928-Apr-09 3:01
bhargava240928-Apr-09 3:01 
AnswerRe: 3D Auto Cadd viewer Pin
musefan28-Apr-09 3:05
musefan28-Apr-09 3:05 
AnswerRe: 3D Auto Cadd viewer Pin
Simon P Stevens28-Apr-09 3:49
Simon P Stevens28-Apr-09 3:49 
General[Message Deleted] Pin
bhargava240930-Apr-09 2:02
bhargava240930-Apr-09 2:02 
GeneralRe: 3D Auto Cadd viewer Pin
Simon P Stevens30-Apr-09 2:50
Simon P Stevens30-Apr-09 2:50 
QuestionSolid Works Image To My C# Project Pin
bhargava240928-Apr-09 2:58
bhargava240928-Apr-09 2:58 
AnswerRe: Solid Works Image To My C# Project Pin
musefan28-Apr-09 3:03
musefan28-Apr-09 3:03 
GeneralRe: Solid Works Image To My C# Project Pin
bhargava240930-Apr-09 2:24
bhargava240930-Apr-09 2:24 
GeneralRe: Solid Works Image To My C# Project Pin
bunyaminasd24-Nov-09 21:25
bunyaminasd24-Nov-09 21:25 
Questionhow we reterive image from sql database using browse button Pin
shomic.goyal28-Apr-09 2:44
shomic.goyal28-Apr-09 2:44 
AnswerRe: how we reterive image from sql database using browse button Pin
jaipurguy128-Apr-09 2:47
jaipurguy128-Apr-09 2:47 
AnswerRe: how we reterive image from sql database using browse button Pin
musefan28-Apr-09 2:53
musefan28-Apr-09 2:53 
GeneralRe: how we reterive image from sql database using browse button Pin
shomic.goyal28-Apr-09 3:04
shomic.goyal28-Apr-09 3:04 
GeneralRe: how we reterive image from sql database using browse button Pin
musefan28-Apr-09 3:07
musefan28-Apr-09 3:07 
AnswerRe: how we reterive image from sql database using browse button Pin
nagendra.vk28-Apr-09 5:43
nagendra.vk28-Apr-09 5:43 
QuestionProblem to display Master-Details rows. Pin
hdv21228-Apr-09 2:41
hdv21228-Apr-09 2:41 
QuestionFormula Translation Pin
punitxsmart28-Apr-09 1:56
punitxsmart28-Apr-09 1:56 
AnswerRe: Formula Translation Pin
CPallini28-Apr-09 1:58
mveCPallini28-Apr-09 1:58 
GeneralRe: Formula Translation Pin
punitxsmart28-Apr-09 2:09
punitxsmart28-Apr-09 2:09 
GeneralRe: Formula Translation Pin
CPallini28-Apr-09 2:12
mveCPallini28-Apr-09 2:12 
QuestionMSBuild / Microsoft.Build... nyaaargh! Pin
Wenff28-Apr-09 1:32
professionalWenff28-Apr-09 1:32 
AnswerRe: MSBuild / Microsoft.Build... nyaaargh! Pin
SeMartens28-Apr-09 1:41
SeMartens28-Apr-09 1:41 
AnswerRe: MSBuild / Microsoft.Build... nyaaargh! Pin
Wenff29-Apr-09 6:00
professionalWenff29-Apr-09 6:00 
Hah! Victory Big Grin | :-D
It appears that if you add logging, you find out what the problem is...
// Instantiate a new Engine object
Engine engine = new Engine();

// Instantiate a new FileLogger to generate build log
FileLogger logger = new FileLogger();

// Set the logfile parameter to indicate the log destination
logger.Parameters = @"logfile=" + strlogFile;

// Register the logger with the engine

engine.RegisterLogger(logger);

// Build a project file
bool success = engine.BuildProjectFile(strProjectFile);

//Unregister all loggers to close the log file
engine.UnregisterAllLoggers();

if (success)
    MessageBox.Show("Build succeeded.");
else
    MessageBox.Show(@"Build failed. View " + strLogFile + " for details");

Using the above code, I was able to view the log of the issue:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.WinFX.targets(64,7): error MSB4127: The "GetWinFXPath" task could not be instantiated from the assembly "PresentationBuildTasks, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

This issue in turn needs the following config file settings to be added:
<configuration>
    <configSections>
        <section name="msbuildToolsets" type="Microsoft.Build.BuildEngine.ToolsetConfigurationSection, Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </configSections>
    <startup>
        <supportedRuntime version="v2.0.50727" safemode="true"/>
        <requiredRuntime version="v2.0.50727" safemode="true"/>
    </startup>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="3.5.0.0"/>
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
    <!-- To define one or more new toolsets, add an 'msbuildToolsets' element in this file. -->
</configuration>

My project builds! Cool | :cool:

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.