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
Please sign in to leave a comment.
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?
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
Could you please try running tests from some local folder.
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
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
Please check .NET framework system configuration to allow running assemblies from remote paths with full trust.
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.
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).
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