CodeAccessSecurity policies problem

Hi,

    We have configured the C# solution file to the Teamcity and we choosen the Msbuild as a build runner. We have implemented the NunitTasks in the Msbuild script file and When ever we want execute the test cases from the  Teamcity. The test results showing the, the execution of the dll is ignored.
Please let me know your suggestions and solutions.

Thanks
kiran

9 comments
Comment actions Permalink

Could you please attach a part of your msbuild script running your tests.

Are there any ignored .dll when you do not specify test categories?

0
Comment actions Permalink

Hi,

    Thanks for your reply. Here i am attaching my msbuild script file. I am also attaching the screenshot of the result page and build log file.



Attachment(s):
Integrity.JPG
buildlog.txt
msbuild.txt
0
Comment actions Permalink

Could you please try running tests from some local folder.

0
Comment actions Permalink

I have tried to execute the testcases from localfolder, its executing succesfully and i am not seeing any problem.

Here i am attaching the screenshot.



Attachment(s):
test2.JPG
0
Comment actions Permalink

Hi,

      I have tried execute from local folder and i didn't see any problem .Here i am attaching the screenshot of execution status.



Attachment(s):
test2.JPG
0
Comment actions Permalink

Please check .NET framework system configuration to allow running assemblies from remote paths with full trust.

0
Comment actions Permalink

Hi,

     I have verified the .Net framework 2.0 configuration  and i configured the assemblies to run from the remote paths with the full trust option. After, i have tried to executed the test cases and its executing succesfullly. But, we have to do manually configure the assemblies in all the build agents machines, earlier i have tried this solution and its work fine.

Could you please let me know,Is there any way to configure the assemblies through Teamcity or not.

0
Comment actions Permalink

Consuder creating special build configuration that will update build agent configuration. You will need to run this configuration only once.

On the other hand, you may simply include that reconfiguration as a step of your build(s).

0
Comment actions Permalink

Thanks for your reply and i will follow your suggestion and one more time i am saying "Thanks a lot for your quick reply and its help me very lot for the configuring the project to Teamcity"

Thanks
kiran

0

Please sign in to leave a comment.