Background:
I have a C# client side app consuming a service resource. When I set it up I name the client side api for the service resource. (For example: CoreLibraryUserAuthentication)
Then Visual Studio goes to make the files for the service reference. One of them is the .datasource file. It ends up being:
MyProjectThatIs26CharsLong.CoreLibraryUserAuthentication.32CharServiceNmeThatIAmConsuming.datasource
That, combined with a fairly long path (159 Chars) leads to a really long file name and path (261 chars). This is over the limit of what TFS will allow. (The issue is really more complex that this, having to do with history and migration of the project, but going into that is more detail than is needed.)
What I need:
A way to rename that datasource file to something more reasonable. Is there a way to do that?
Do you really need that file? Direct binding to UI is not great for WCF wich provides raw DTO. Add that file in ignore list in you version control or just delete it.
Sometimes a problem doesn't have to be solved at all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With