Click here to Skip to main content
15,891,976 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: (untagged)
Allo, I have a series of .sql files in a project that Visual Studio 2010 is complaining about. How can I exclude the error checking on these files?
Posted
Updated 30-Oct-13 3:27am
v3
Comments
Kschuler 29-Oct-13 17:03pm    
What do you mean complaining about? If it's a warning, just ignore it. If it's stopping you from compiling then is there any way you can change the file extension?
Jack Vanderhorst 30-Oct-13 9:11am    
I have no earthly idea, the question was from 3 years ago so I just wanted it cleaned up / closed.
Kschuler 30-Oct-13 9:14am    
So you solved it or got around it? Maybe just change the title to say it's been solved so others know.
Jack Vanderhorst 30-Oct-13 9:23am    
titled changed

and why do you need .sql files to be part of the project any way? Can't you exclude the files by right clicking at the file and selecting Exclude File?
 
Share this answer
 
1. The .sql files are included as Resources and accessed at runtime, I need them
2. I also want them kept under source control along with the project
3. The .sql files are not for sql server, the errors being reported are irrelevant
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900