I’ve written a C# utility for our product.
The current product uses a Database project in Visual Studio 2010. This DB Project generates our database scripts.
We are removing the DB Project in our next release so I’ve written a BuildScript utility.
This utility is written in C# and connects to TFS.
I read some text files and these files list the Stored Procedures that have changed.
I then create a SQL script which would be used by our installer.
Everything works fine. But now I’m to the point where I need my application to check-in the update or newly created scripts.
But I can’t check in changes without a work item
Error received - Check-In Policy Violation: Please associate a work item to the changeset
How do I have the C# applications check in code programmatically into TFS?
This utility will be called as part of our nightly build process for our product right before the install media is created.
Thanks,
Joe
Joe Pacelli