By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,203 Members | 1,638 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,203 IT Pros & Developers. It's quick & easy.

Continuous integration partial succeed

P: n/a
So I have this problem. I'm currently involved in a team project that has a
nightly build on a build server and a continuous integration build on the
same server. We want to build our c# program without running StyleCop or
FxCop. Then We want FxCop and StyleCop to run seperately as created targets.
This way if they fail our build will say we have a partial success and if
those targets succeedwe have a total succeed. Please Help. Thank You
--
-ScottRadDev
Jul 30 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Good morning ScootRadDev. Welcome to Microsoft Newsgroup Support Service!
My name is Jialiang Ge [MSFT]. It's my pleasure to work with your on this
issue.

As you may have found according to your post "How to use FxCop and say
'build partial succeed'?" in the microsoft.public.serverappliance
newsgroup, the codeplex solution "SDC Tasks Library" can help us realize
the "continuous integration partial succeed" with code analysis.
http://www.codeplex.com/sdctasks/
I notice that you came across the error "'Microsoft.Sdc.Tasks.Tools.FxCop'
task could not be loaded from the Assembly" when you were using "SDC tasks
library". After several hours' tests and researches, I think I have found
out the possible cause and resolution:

---- CAUSE ----
The document of "SDC Tasks Library" suggested

<PropertyGroup>
<TasksPath>D:\BuildTools</TasksPath>
</PropertyGroup>
<Import Project="$(TasksPath)\Microsoft.Sdc.Common.tasks"/>

However, in the Microsoft.Sdc.Common.tasks, I find that all the UsingTasks
are defined in this way by default:

<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll"
TaskName="Microsoft.Sdc.Tasks.ActiveDirectory.Grou p.AddGroup"/>
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll"
TaskName="Microsoft.Sdc.Tasks.ActiveDirectory.Grou p.AddUser"/>
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll"
TaskName="Microsoft.Sdc.Tasks.ActiveDirectory.Grou p.Create"/>

The value of "$(TasksPath)Microsoft.Sdc.Tasks.dll" lacks a character '\' if
our TasksPath equals "D:\BuildTools"

In other words, this lack of '\' results in an incorrect assembly file
path, and caused the error "Microsoft.Sdc.Tasks.Tools.FxCop' task could
not be loaded from the Assembly" in the team build.

---- RESOLUTION ----

Replace all the occurrences of "$(TasksPath)" with "$(TasksPath)\".

ScootRadDev, please try the solution and let me know whether it works for
you. If you have any other concerns or questions, please DON'T hesitate to
tell me.

Regards,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 31 '08 #2

P: n/a
Hello ScottRadDev,

I am writing to check the status of the issue on your side. Would you mind
letting me know the result of the suggestions? If you need further
assistance, feel free to let me know. I will be more than happy to be of
assistance.

Have a great day!

Regards,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

Aug 4 '08 #3

P: n/a
Sorry it took so long to repley. Your suggestion worked. Thank you for your
help
--
-ScottRadDev
""Jialiang Ge [MSFT]"" wrote:
Hello ScottRadDev,

I am writing to check the status of the issue on your side. Would you mind
letting me know the result of the suggestions? If you need further
assistance, feel free to let me know. I will be more than happy to be of
assistance.

Have a great day!

Regards,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

Aug 12 '08 #4

P: n/a
You are welcome, ScottRadDev.

Have a great day!

Regards,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

Aug 13 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.