473,326 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Continuous integration partial succeed

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
4 1471
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Sumith Bandula | last post by:
Hi all, I am using a simple php script to send a mail. <?php if (mail($to, $sub, $message, $from)) echo "sent mail successfully<br>\n"; ?> It GOES $to = "me@localhost.localdomain"
19
by: Nicolas Pernetty | last post by:
Hello, I'm looking for any work/paper/ressource about continuous system simulation using Python or any similar object oriented languages (or even UML theory !). I'm aware of SimPy for...
4
by: Dave Boyd | last post by:
Hi, I have two very similar forms each with a subform. The main form gets a few fields from the user and passes this back to a query that the subform is bound to. The requery is done when the...
1
by: Bit byte | last post by:
I have a larg(ish) project consisting of over 40 seperate projects, of which about 30 are C/C++ Dlls and the remainder (will be VB6 GUI applications). I have finally opted for VB6, after...
0
by: Dilip M | last post by:
This may not be the correct newsgroup but I couldn't see any group that seemed appropriate so I thought I'd ask here. My question is more regarding the philosophy of continuous integration. As...
8
by: Dave Potts | last post by:
Hi, I'm just starting a development project in Python having spent time in the Java world. I was wondering what tool advice you could give me about setting up a continuous integration...
1
by: Richard | last post by:
A shipment of material is received. The shipment contains several items. Each item is assigned an internal tracking number for auditing purposes and further processed. The tracking number is...
5
by: Hussein B | last post by:
Hi. Please correct my if I'm wrong but it seems to me that the major continuous integration servers (Hudson, CruiseControl, TeamCity ..) don't support Python based application. It seems they...
0
by: Jean-Paul Calderone | last post by:
On Tue, 29 Jul 2008 07:47:35 -0700 (PDT), Hussein B <hubaghdadi@gmail.comwrote: I haven't used CruiseControl or the other CIS you mention, but I suspect they can probably support Python programs....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.