Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5943419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:23:33+00:00 2026-05-22T16:23:33+00:00

I am following the tutorial from the book Pro C# 2010 and the .NET

  • 0

I am following the tutorial from the book “Pro C# 2010 and the .NET 4 Platform”. After I load the sample code from MyXamlPad project under Chapter 27 and try to run it, I got an error from the compiler as follows:

Error   1   The "GenerateResource" task failed unexpectedly.
System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
   at Microsoft.Build.Shared.NativeMethodsShared.InprocTracking.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarker)
   at Microsoft.Build.Utilities.FileTracker.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarkerResponseFile)
   at Microsoft.Build.Tasks.GenerateResource.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)   MyXamlPad


Reference:

http://www.apress.com/9781430225492
http://www.apress.com/downloadable/download/sample/sample_id/12/

What should I do to fix this problem? Or I just cannot run the WPF inside VS2010 and have to use the MSBUILD instead.

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:23:35+00:00Added an answer on May 22, 2026 at 4:23 pm

    Make sure you have only one v4.0*** folder (you can rename if you don’t wish to delete) in your C:\Windows\Microsoft.NET\Framework folder. That should do the trick.

    If you already have only one of these v4.0*** folders you can try editing the Microsoft.Common.targets file within that folder and removing TrackFileAccess=”$(TrackFileAccess)” and TrackerLogDirectory=”$(TrackerLogDirectory)” entries from the GenerateResource node around line 1850.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm following the sportsStore tutorial from the Apress Pro Mvc 2 Framework book. It's
I am following a tutorial from nettuts, specifically here: http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-11/ I am 3/4's of
Here is my following tutorial code from Learning PHP MYSQL and Javascript by OReilly.
Sorry if repost I’m new to JSP. I’m following a tutorial from a book,
I'm following through the tutorial from the book Agile Web Development with Rails and
I'm following the tutorial from the HeadFirst Python book. In chapter 7, I get
I was following the tutorial on Magma from the awesome Seaside book and at
I'm following a node.js tutorial from a book called Node Web Developments. Problem: In
I am following this tutorial from MSDN. There's something I saw in the code
I'm following the Mr. Nom tutorial from Beginning Android Game e-book, and in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.