Manually copying C# project templates, snippets, and example projects
In some situations, the Sage CRM C# project templates, snippets, and example projects supplied with the Sage CRM .NET SDK may be missing from Microsoft Visual Studio when you create a new C# project. This is because the template files Sage CRM Basic Template.zip and Sage CRM Entity Template.zip may be copied to the incorrect folder on your computer when you install the Sage CRM .NET SDK.
To fix this issue, find the template files Sage CRM Basic Template.zip and Sage CRM Entity Template.zip on your computer and manually copy them to the correct folder:
%UserProfile%\Documents\<Visual Studio version>\Templates\ProjectTemplates\Visual C#
Where <Visual Studio version> is the Visual Studio version you are using.
To make the C# project templates, Visual Studio example projects, and code snippets available in the Visual Studio user interface, you may need to manually copy them to the following locations in your user profile folder (%userprofile%):
- C# templates: %userprofile%\Documents\<Visual Studio version>\Templates\ProjectTemplates\Visual C#
- Visual Studio example projects: %userprofile%\Documents\<Visual Studio version>\Projects
- Client-side and COM JavaScript snippets: %userprofile%\Documents\<Visual Studio version>\Code Snippets\JavaScript\My Code Snippets
- HTML snippets for setting up ASP pages: %userprofile%\Documents\<Visual Studio version>\Code Snippets\Visual Web Developer\My HTML Snippets