

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://https://stuga.dokit.app/wiki/Special:URIResolver/'>
	<!ENTITY category 'http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://stuga.dokit.app/wiki/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://stuga.dokit.app/wiki/Special:ExportRDF/Changing_Version_Control_to_Visual_Studio">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-05-26T11:08:45+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Changing_Version_Control_to_Visual_Studio">
		<rdf:type rdf:resource="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ATutorials"/>
		<rdf:type rdf:resource="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ASoftware"/>
		<rdfs:label>Changing Version Control to Visual Studio</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://stuga.dokit.app/wiki/Special:ExportRDF/Changing_Version_Control_to_Visual_Studio"/>
		<swivt:page rdf:resource="https://stuga.dokit.app/wiki/Changing_Version_Control_to_Visual_Studio"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">en</swivt:wikiPageContentLanguage>
		<property:Complete rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Draft</property:Complete>
		<property:Description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">How to change the version control software from Sourcetree to the inherent system on Visual Studio</property:Description>
		<property:Difficulty rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Hard</property:Difficulty>
		<property:Duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double">1</property:Duration>
		<property:Duration-2Dtype rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hour(s)</property:Duration-2Dtype>
		<property:Introduction rdf:datatype="http://www.w3.org/2001/XMLSchema#string">In March 2022 the password policy of the system behind SourceTree / Bitbucket and Atlassian changed - [https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231 link]. This meant all machine would need a complex password login change for the SourceTree program used for version control of the PLC code.


This was not straight-forward to resolve, so the decision was made to change the version control system to the one that is packaged with the Visual Studio system by default. This is a better method anyway, but it needs the "TcXaeShell" installed.

&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...The TcXaeShell is simply a newer version of Visual Studio that includes Source control, rebadged for TwinCAT3&lt;/div&gt;
&lt;/div&gt;</property:Introduction>
		<property:IsTranslation rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:IsTranslation>
		<property:Language rdf:datatype="http://www.w3.org/2001/XMLSchema#string">en</property:Language>
		<property:Main_Picture rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TcAeShell_Icons.jpg</property:Main_Picture>
		<property:SourceLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">none</property:SourceLanguage>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Delete the versionControl folder completely 

&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...This prevents confusion in the future of where the project exists&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update the Version Control column on the [https://stugaltd.monday.com/boards/304269981 board] to "VisualStudio" to log the completion of this task</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Right click on TwinCAT service in the task bar
#If TcXaeShell is installed you will see the gold Icon with the cog inside


There is a Visual Studio icon here instead, you will need to install TcXaeShell.  

Procedure is [https://stuga.dokit.app/wiki/Upgrading_Visual_Studio_to_Beckhoff_TCXAEShell here] 

&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Open Team Explorer
#Clone a new Git Repository
#URL to clone: https://bitbucket.org/StugaMachinery/tc3Multi
#Click on the destination setup
#Create a new folder under the machine build folder called "source"
#Click 'Clone'</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[Archiving a TwinCAT Project]]</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[Creating Backup of TwinCAT Mapping]]

&lt;br/&gt;&lt;div class="icon-instructions caution-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-exclamation-triangle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...This is really, really important to do&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Atlassian Username is StugaMachinery

Password is stored in the file 


G:\IT Department\SourceTree BitBucket App Password.txt

&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...Sometimes, the password credentials are already stored and the password entry is not necessary&lt;/div&gt;
&lt;/div&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Right click the PLC_Reset Project
#Select Change Project
#Navigate to the repository you have created in Step 6 c:\TwinCAT\Stuga\BuildNo\source\PLC_Reset\PLC_Reset.plcproj
#Repeat for the tc3Multi project</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">If so, this is probably due to the PLC project having no "Instance":

# Build the solution
# Import the mappings file taken in step 2

&lt;br/&gt;&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...The "Instance" is created when the PLC project is built. This has all the IO definitions in it (ie axes, outputArray, inputArray, etc) If it does not exist, the IO cannot be linked. Once built, you can then import the old links back in again&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Check the PLC Projects are called 


tc3Multi 

PLC_Reset


If they have a number after them (as in picture, they will need to be '''renamed first'''</property:Step_Content>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Open TwinCAT Shell</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Open the Machine Solution File</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Delete the versionControl Folder</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update Control Systems Log</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Ensure TcXAEShell is installed</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Enter Git Credentials (if required)</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Move The PLC_Reset and tc3Multi Project</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Take a backup of the current build project</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Backup the Mappings information</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Check if the IO links have disappeared</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Clone the Repository</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Ensure the PLC Project Names are Compatible</property:Step_Title>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Visual Studio</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Source</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Version</property:Tags>
		<property:Has_query rdf:resource="&wiki;Changing_Version_Control_to_Visual_Studio-23_QUERYee7a61aae48f1c3f91d8e4d7736360be"/>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2022-09-12T12:15:03Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2459835.0104514</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Changing Version Control to Visual Studio</swivt:wikiPageSortKey>
		<property:Comments rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Comments>
		<property:Page_creator rdf:resource="&wiki;Utilisateur-3AGareth_Green"/>
		<property:Approved rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:Approved>
		<property:IsReview rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:IsReview>
		<property:I_did_it rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:I_did_it>
		<property:Favorites rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Favorites>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Changing_Version_Control_to_Visual_Studio-23_QUERYee7a61aae48f1c3f91d8e4d7736360be">
		<swivt:masterPage rdf:resource="&wiki;Changing_Version_Control_to_Visual_Studio"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<property:Query_depth rdf:datatype="http://www.w3.org/2001/XMLSchema#double">1</property:Query_depth>
		<property:Query_format rdf:datatype="http://www.w3.org/2001/XMLSchema#string">plainlist</property:Query_format>
		<property:Query_size rdf:datatype="http://www.w3.org/2001/XMLSchema#double">3</property:Query_size>
		<property:Query_string rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[:Dokit:DocOptions]] [[DokitEPIEnable::yes]]</property:Query_string>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Changing Version Control to Visual Studio# QUERYee7a61aae48f1c3f91d8e4d7736360be</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:Class rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ATutorials" />
	<owl:Class rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ASoftware" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AComplete" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADescription" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADifficulty" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADuration" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADuration-2Dtype" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AIntroduction" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AIsTranslation" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ALanguage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AMain_Picture" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ASourceLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AStep_Content" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AStep_Title" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ATags" />
	<owl:ObjectProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AHas_query" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AComments" />
	<owl:ObjectProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3APage_creator" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AApproved" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AIsReview" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AI_did_it" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AFavorites" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#masterPage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_depth" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_format" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_size" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_string" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>