forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Silverfroft FTN, VS, and TFS interface bugs and Workarounds

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Suggestions
View previous topic :: View next topic  
Author Message
ebarbero



Joined: 01 Aug 2012
Posts: 20

PostPosted: Thu Aug 09, 2012 7:38 pm    Post subject: Silverfroft FTN, VS, and TFS interface bugs and Workarounds Reply with quote

Silverfroft FTN, VS, and TFS interface bugs and Workaround(s)

1- If you retrieve a Solution (containing a FTN Project) from TFS, VS will not be able to get all the files if they are in folders. Instead, VS will bring the first file in each folder, then give you errors for the rest.
Workaround: open Team Explorer/Source Control, select all the files, and bring them from TFS.

2- If you rename a .f95 file in a folder inside a FTN Project, VS will not do anything. No workaround that I know of.

2- If you delete a .f95 file in a folder inside a FTN Project, VS will not do anything.
Workaround: Difficulty: High. Skill: High. Risk: Moderate.
2.1. Check in the Solution to TFS to be sure you don't loose anything.
2.2. Delete the offending file manually in Explorer.
2.3. Use a tex editor to edit the .ftn95p file; delete these lines:
Code:

"FolderName\\FileName.f95"
{
"ProjRelPath" = "T"
"CustomCompilerOptions" = "0"
"CustomSwitches" = ""
"ExcludeFromBuild" = "F"
"FileGUID" = "{389386E4-25CF-4D3A-9557-D6D1A84CD770}"
}

2.4. Using Team Explorer/Source Control, select the .ftn95p file, right click, Check out for Edit. This will inform TFS that the .ftn95p file has been modified outside VS.
2.5. Repeat 2.4 for all the deleted files in the FTN Project. This will inform TFS that there is a file that was deleted albeit outside VS.
2.6. You should see now that .ftn95p and the files that you deleted manually are tagged as having pending changes. Check in all changes. Done.

3- If you create a folder in VS, under the FTN Project, VS will not create a folder in the project physical folder (the one you see with Win Explorer).
Workaround: create the folder in both VS and Explorer.

4- If you create a new .f95 file in a folder inside a FTN Project, by right click Add, New item, VS will not put the file in the corresponding physical folder but on the root of the FTN Project.
Workaround: Create a, possibly empty, file with a text editor in the physical folder where you want it. Then Add, Existing item, in VS

5- If you reference a FTN Extension Project from more than 1 C# library, VS crashes.
Workaround: Put all C# code in a single library.

6- I don't remember specifically why I did this, but it is necessary. Add this to your PATH:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\;C:\Program Files (x86)\Silverfrost\FTN95

7- While using TFS, the project file .ftn95p will be set to having pending changes as soon as you bring it from TFS, even when no change to it has been made. This fills up the TSF of copies of the same file. The file should have pending changes only if you made changes to the project, such as adding a piece of source code.
Workaround: Every time you plan to check in the project to TFS, compare the .ftn95p on the client (your computer0 and the server (TFS). If identical, click undo changes, so that an identical copy will not be uploaded to the TFS.
_________________
http://www.cadec-online.com/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Suggestions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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