Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange character in c# file

Status
Not open for further replies.

nwcomer

Programmer
Apr 9, 2007
6
GB
After getting the latest from source safe, some of my c# files having this character '?' added at the end of each line.
So when I build I get this error
Unexpected character '?'

What settings I need to change anywhere(I mean VSS OR IDE OR SOMETHING ELSE)?

This is how I see my code in visual studio.net

using System;??
using System.IO;??
using System.Globalization;??

Thanks
 
this seems like a source saft issue, not VS/C# issue.

diff any given file with this error to determine when the question marks were added. This will help narrow down the problem.

I have read there are alot of problem with source safe, as it's based on a file hierachy and not a relational database.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
My guess would also be a sourcesafe issue.

One question: What encoding are your source files saved as? If they're using the default (win-1252, I believe) you shouldn't have this problem.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top