By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,896 Members | 1,712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,896 IT Pros & Developers. It's quick & easy.

problem converting simple VS 2003 C# project to VS 2005

P: n/a
(1) Is there a better place to pose the question below?

(2) I am starting to convert my enterprise solution from VS 2003 (.NET
v1.1.4322) to VS 2005 Professional (.NET v2.0.50727).
The entire solution uses the following technologies -
Windows Server 2003
Windows Mobile 2003
Windows XP Professional SP2
Windows 2000 Professional SP4
SQL Server 2000
Active Directory
ASP.NET Mobile
eVC++ 4.0
IE 6.0
Pocket IE

I am starting the process of converting the solution forward.
Source code is controlled with Microsoft Visual Studio.

I have installed VS 2005 Pro on the same (Windows 2000 SP4) development
workstation that hosts VS 2003 (1.1)

I want to start with an "easy" conversion - a C# project that is compiled
into a .dll used by the main ASP.NET Mobile project.
The C# project (including .csproj and .sln files) is under source control.

I fire up VS 2005, and select "File > Open Project..."
I then select the .csproj file associated with the project.
The Visual Studio Conversion Wizard appears.
The Wizard states that if the solution or project is under source control,
it will be checked out automatically during the conversion.
It also states that the correct source control plug in should be active.
(Under "Tools > Options..." "Plug-in Selection" "MicroSoft Visual SourceSafe"
is selected.)
It asks if I want a backup, I do (located on another volume far away from
the current project).
The summary states, in part -
If the solution or project is under source control, it will be checked out
automatically during the conversion. Be sure the correct Source Control Plug
In is active, and no files are exclusively checked out by other users.
I then select "Finish".
An error dialog appears -
Solution file 'C:\....\person.sln' cannot be converted because it is
read-only on disk. To convert a solution, change permissions on the solution
file to allow modification and re-open it."
Of course it is read only because it is checked in!
Why couldn't VS 2005 check the file out automatically during conversion as
What to do?
Exclude the .sln file from VSS?
Check out the .sln file so the "read-only" attribute is removed?
Manually "hack" the "read-only" attribute on the .sln file?
Dec 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.