Questions tagged [visual-studio]

For Sitecore-specific questions related to Sitecore development in Visual Studio. This tag is not meant for general Visual Studio question, but rather only for those questions that specifically relate to Sitecore

Filter by
Sorted by
Tagged with
0
votes
2answers
43 views

Using TDS and Visual Studio for development, Command-line Git for version control

Does TDS have to have access to the version control server? My development environment is in a VM with no network access. I use Visual Studio in there and then push the changes to version control from ...
2
votes
0answers
39 views

Migrating Helix-based csproj to VS 2017 format: Published files go to wrong place

As part of a migration to Sitecore 9.1.1 we are updating our solution to not only be VS2017 compatible, but trying to take advantage of migrating away from both packages.config and the VS2015 csproj ...
5
votes
2answers
88 views

How to view history of yml files (before they have pending changes)

Is there any way in regular Visual Studio (2017) to view the history of individual yml (unicorn serialization) files? Once you have changed a serialized Sitecore item it appears under the 'Changes' ...
1
vote
1answer
86 views

Why can't I install Sitecore.Kernel v9.1.1 via Nuget?

I am upgrading an old VS project that was built using Sitecore 7.2. I have changed the target .NET Framework to 4.7.1. Now I am trying to install Sitecore.Kernel v9.1.1 via Nuget. However when I ...
1
vote
1answer
83 views

Sitecore Rocks icons not loading in “Set Icon…” menu

I can't select an icon from Sitecore Rocks "Set Icon.." menu, as the selection windows is always empty - previously it working fine. I already tried restarting VS, Sitecore and my PC. Thanks!
1
vote
1answer
56 views

TDS creating duplicate properties for component in TdsCodeGen.cs

For some reason, TDS has started creating duplicate properties for one of my "constants" partial classes as well as the associated interface in my TdsCodeGen.cs. It's only doing it for one component. ...
2
votes
2answers
212 views

Error while trying to connect to Sitecore using VS 2015

I'm trying to connect to my single-instance of Sitecore hosted on Azure using Visual Studio 2015 (with the Sitecore Rocks plugin). I get this error message saying 'Welcome to Sitecore, do you want to ...
0
votes
2answers
172 views

TDS 500 error, how do I test my TDS connection for more specific errors?

Getting an HTTP 500 error in Team Development for Sitecore when syncing or doing any operation. How do I test my TDS connection for more specific errors?
0
votes
1answer
310 views

Unable to compile and deploy Sitecore.Commerce.SDK project

I am following Sitecore documentation for installing Sitecore Commerce 8.2.1. I am done with almost all the steps required except the part Deploy the Commerce Engine. As mentioned there, if I unzipped ...
1
vote
1answer
71 views

Developing a Module as a Visual Studio Project: how to copy the relevant files upon build? How to organise the VS Project?

I developed a Sitecore Control in its own separate Visual Studio Project. In order for it to work, it needs (among other things) to have some of its files copied to the Startup Project. I have been ...
2
votes
0answers
101 views

TDS File Replacement for folders not working

My TDS project has 2 Source Web Projects selected in Properties, WebProj1 and WebProj2 and I want to use TDS File Replacement to deploy some front end folders that to the website root. After I am ...
2
votes
1answer
370 views

How to fix the Global.asax warnings in a Sitecore 9 (Update-1) Visual Studio solution?

In the Sitecore® Experience Solution Developer Course you learn to set up a Visual Studio solution for Sitecore 8 by doing the following steps: Create a new ASP.NET Web Application using the Empty ...
5
votes
3answers
4k views

Excluding files like web.config when using publishing in VS 2017

I am trying to find out how to exclude files when using the publishing feature in VS (2017 to be exact). The documentation is not great, but it seems adding <ItemGroup> <Content ...
10
votes
2answers
1k views

System.EntryPointNotFoundException when loading Sitecore 9.0

On Sitecore 9.0, when I attempt to load any URL, I get an Owin startup exception with the following details: System.EntryPointNotFoundException: The following errors occurred while attempting to load ...
1
vote
0answers
89 views

TDS Package Bundling does not work with NuGet Package Generation

I am attempting to separate and version the Helix Foundation Layer modules into its own solution. I am using TDS/VS2017/Sitecore_8.1U2. Based on documentation, I would like to generate an Update ...
1
vote
1answer
310 views

Sitecore Rocks Installation seems corrupted. What to do?

Having recently moved my development environment to another machine, I discovered that Sitecore Rocks no longer works as before; in particular, I cannot access the "Design Template" menu under Tasks: ...
3
votes
1answer
416 views

Why I am getting these issues with Sitecore Helix Visual Studio Templates (Anders Laub) on Visual Studio 2017?

I've installed the Sitecore Helix Visual Studio Templates from Anders Laub (laub plus co) and created an empty Helix project running Visual Studio 2017 in Administrator mode. Once I add a new Project,...
4
votes
2answers
1k views

TDS project not loading while migrating solution from VS 2013 to VS 2017

I am in the process of migrating my solution from VS 2013 to VS 2017. I installed the correct version of TDS (TDS 5.6.0.15 for VS 2017) and when trying to open the solution in VS 2017, TDS projects ...
2
votes
1answer
332 views

Sitecore Rocks stuck in the “Add New Item” menu whilst connecting using Good Old Web Sevice? [closed]

I am using Visual Studio Professional 2013, and Sitecore 8.1. My project is configured using the Good Old Web Service. Whenever I try to add a new item, all I get in the dialog where I'm supposed to ...
3
votes
1answer
423 views

Sitecore Commerce Demo (Sitecore.Demo.Retail) - problem with gulp / MSBuild 15

EDIT: more details I'm working on converting the Sitecore.Demo.Retail project from VS 2015 (.NET core preview) to VS 2017 and latest .NET Core. The solution now builds perfectly fine in Visual ...
9
votes
1answer
1k views

Working on Habitat with VS 2017

Set up the habitat solution all nice and smooth. However when trying to run the gulp task to get unicorn to sync I get a bunch of errors like this in the gulp output: error MSB4019: The imported ...
0
votes
2answers
526 views

Sitecore 8.2 Glass.Mapper strange intellisense errors in cshtml files

I'm having a lot of trouble getting our solution working in VS 2015 using the latest version of Glass. As suggested previously I have checked all projects and they now all have consistent DLL version ...
2
votes
1answer
101 views

TDS File Replacement per user

I am using TDS File Replacement to manage configs. I would like to be able to do this per user, so each user can set up their environment however they wish. Right now, each user would need his or her ...
5
votes
3answers
523 views

Why do we need global.asax in Sitecore VS solution?

I'm just going through the Sitecore documentation for setting up a Visual Studio project. One of the steps is to update the global.asax file in your solution: In the Visual Solution folder, copy ...
3
votes
1answer
187 views

Field names in content editor are wrong (multiple colons and no capitalisation) but fine in VS

I have a situation where I have a template and thus content items of that template whereby the field names seem to have problems in the content editor but not in visual studio. Notice below that ...
4
votes
2answers
320 views

Adding Views - VS Adds Scaffolding and NuGets

Can people suggest a good way to add views to a project in Visual Studio? The standard MVC way adds scaffolding (Folders named for controllers) and NuGet packages (MVC, Razor, WebPages, etc...) I'm ...