If you ever get this error in your Build machine while building a Silverlight application through TFS:
“The imported project “C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets” was not found. Confirm that the path in the
You need to install Silverlight 4 Tools for Visual Studio 2010 on your build machine.
Renato Bento
Thank you,
this really helped me out!
I was on a hard path trying to parse this parameters as a XmlDoc.
Jorge Sanchez
Hey I being using your code to accomplish the same thing but I never work with TFS before, I think I got it to the part that I could pass the ProjectFilePath and NewAssemblyName, but I not sure how to pass the Workspace InArgument do you have an example of how do I specify this on MsBuild?
BTW i also change
var workspace = context.GetValue(this.Workspace);
to
var workspace = (Workspace)context.GetValue(Workspace);
is this correct?
Thank you very much
poker terbaik
THANKS!!
Poker Sentosa
Love is the most beautiful of God’s grace, I bow and pray to God, and finally I found the most beautiful grace that is You.