none
Issues with schemas in source Control RRS feed

  • Question

  • Now that i have added my BT project to source control I am getting these errors on my schemas when I compile. Why?

    Error 9 Unable to delete file "C:\MyFolder\BIZTALK\MyBody.xsd.cs". Access to the path 'C:\MyFolder\BIZTALK\MyBody.xsd.cs' is denied.      MyProject

    Wednesday, August 24, 2011 6:29 PM

Answers

  • Hi

    The xsd.cs should not be under sourcecontrol as those files are generated each time the project is build. Remove the files from sourcecontrol and delete them on the disc. 

     


    Torben Christiansen http://snatchedmoments.blogspot.com/
    Wednesday, August 24, 2011 6:40 PM

All replies

  • Hi

    The xsd.cs should not be under sourcecontrol as those files are generated each time the project is build. Remove the files from sourcecontrol and delete them on the disc. 

     


    Torben Christiansen http://snatchedmoments.blogspot.com/
    Wednesday, August 24, 2011 6:40 PM
  • Its better, you put .cs files in the exclusion list from within the BizTalk Projects.

    Cheers,

    Bali


    --------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Wednesday, August 24, 2011 6:40 PM
  • as a quick solution you can just check-out entire solution from source control. This should let you complie the project.

    You get those error as you check-in those files and usually (at least TFS is doing this) all check-in files are makred as read-only so you can not change then without changing the attribute first.



    Mariusz Gorzoch
    Blog : http://mariusz.gorzoch.pl
    Twitter : http://twitter.com/MariuszGorzoch
    Wednesday, August 24, 2011 8:19 PM
  • Make sure your BizTalk project is building properly before check-in. I would suggest make sure that .cs not checked out by others.


    Thanks, Raja MCTS BizTalk Server 2010 If this answers your question please mark it accordingly
    Thursday, August 25, 2011 1:03 PM
  • To Add to this you can build your project in release mode and then checkin. This will not create the .cs files.
    --------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Thursday, August 25, 2011 1:07 PM