Red Gate forums :: View topic - Delete deprecated XML File System.String[] from repository
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Delete deprecated XML File System.String[] from repository

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
isme



Joined: 12 Jun 2012
Posts: 76
Location: Edinburgh

PostPosted: Tue Nov 13, 2012 11:52 am    Post subject: Delete deprecated XML File System.String[] from repository Reply with quote

I'm using SQL Compare to script out a new object into version control.

I compared a database to my local scripts folder and selected one stored procedure for 'deployment'.

The Files tab lists two file actions:

Quote:
Modify fileRedGateDatabaseProperties.xml
Create file Stored Procedures\dbo.uspWidgetDelete.sql


The Warnings tab lists two informational messages:

Quote:
Severity: Information
Title: If using source control please add new XML file C:\fakepath\WidgetDB\RedGateDatabaseProperties.xml to the repository
----------------------------------------------------
Severity: Information
Title: If using source control you can delete deprecated XML File System.String[] from the repository
----------------------------------------------------


I understand the first message. The RedGateDatabaseProperties.xml file should always be part of the repository.

I don't understand the second message. There is no file called System.String[] in the repository. Coincidentally, System.String[] is the name of a .NET type.

What does the second message mean?


Last edited by isme on Tue Nov 13, 2012 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
isme



Joined: 12 Jun 2012
Posts: 76
Location: Edinburgh

PostPosted: Tue Nov 13, 2012 1:36 pm    Post subject: Reply with quote

I think the deprecated file is RedGateDatabaseInfo.xml.

Perhaps the second informational message should instead look like this:

Quote:
Severity: Information
Title: If using source control you can delete deprecated XML File C:\fakepath\WidgetDB\RedGateDatabaseInfo.xml from the repository
----------------------------------------------------


Am I correct to assume that RedGateDatabaseProperties.xml is a replacement for RedGateDatabaseInfo.xml?

Perhaps just one informational message explaining that one file is to replace the other would be more helpful.

My local scripts folder is also an svn working copy. I used the svn status command to show all the changes made by SQL Source Control. The output looks like this:

Quote:
C:\fakepath\WidgetDB>svn status
! RedGateDatabaseInfo.xml
? Stored Procedures\dbo.uspWidgetDelete.sql
? RedGateDatabaseProperties.xml


The output shows that SQL Compare created two new files, Stored Procedures\dbo.uspWidgetDelete.sql and RedGateDatabaseProperties.xml, and deleted one file, RedGateDatabaseInfo.xml.

The .sql file represents the change I intended to make, and the .xml files are metadata for the Red Gate tools.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Fri Nov 16, 2012 11:48 am    Post subject: Reply with quote

Thanks for your submission. I have logged bug SC-6112 with our development team.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Fri Nov 16, 2012 12:17 pm    Post subject: Reply with quote

I just created a new link to source control and it creates RedGateDatabaseInfo.xml, so this should be the current file. I can't find any references to the "Properties" file in any past support cases or anywhere else.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group