Comments (10)
Example of some Sitecore classes where errors are thrown
from synthesis.
These error were also thrown in my cs classes, but I added namespace "using Sitecore;" or by adding alias.. But since Synthesis.model.cs is an auto-generated class how to resolve this and get my build successful..?!
Am I'm missing something here..
from synthesis.
@PaulsonMac based off where the red squiggly lines are, it looks like whatever csproj
the Synthesis.Model.cs
file is in is missing a reference to Sitecore.Kernel
and Sitecore.ContentSearch
.
from synthesis.
Thanks very much for your reply :)
I already tried adding Sitecore.Kernel
and Sitecore.ContentSearch
as a reference to that project, but it is not adding these references but VS simply throws the below error :
from synthesis.
I also tried adding Sitecore.Kernel
and Sitecore.ContentSearch
as a nuget package, but same error persists
from synthesis.
Is it possible you use "sitecore" in your namespace?
from synthesis.
I can try to consider adding "Sitecore.xyz.xyz" as my project name. But before considering, I want to know whether it is not possible to use Synthesis unless we have "Sitecore." at the beginning of the namespace/project name..? If there is no other solution to fix this issue, then I can try considering it..
from synthesis.
But having "Sitecore." in my namespace always fixes the error. As described in this issue name, I'm not able to keep Customer/Partner name in the beginning of the namespace
from synthesis.
hey @PaulsonMac - I ping'd you on Sitecore slack a few days ago asking for a bit more information in a DM
from synthesis.
Hi Ben! I'm sorry.. this issue was fixed by my team leader. I wanted to close this issue then, but was quite busy..
I think I missed renaming the project name in some place.. So, this issue is fixed for me..
from synthesis.
Related Issues (20)
- "Multilist with Search" field type missing from standard configuration HOT 3
- Regenerate Now button goes to notfound page HOT 25
- IStandardTemplateItem.Add overload that takes a newItemID HOT 3
- [BUG] Synthesis tries to call Sitecore.UsedImplicitlyAttribute which is deprecated HOT 10
- Add flexibility with ResilientExecuteRenderer to allow customized exception behavior HOT 2
- Add ability to use TestHyperLink ToLinkField() and determine if the link type is external or internal
- Synthesis issue with sitecore jss 15.1 HOT 3
- Bug: HyperlinkField.Href not working for Media using Insert Link HOT 4
- Sitecore Forms disappear from form listing after Synthesis Solr search is run HOT 3
- Image in Editor adding width and height properties HOT 3
- IHyperLinkField RenderWithBody usage HOT 1
- PackageReference usage for Synthesis NuGet causes incorrect deployment for config files. HOT 1
- ContainsOr with an ItemReferenceListField doesn't work
- Access Denied message even though logged into Sitecore HOT 3
- Synthesis 9.1.0.2 in Sitecore 9.3 HOT 9
- Not able to rebuild models HOT 10
- Images do not render from Content Hub DAM HOT 5
- Unpublished datasources results in exception in debug mode HOT 11
- Sitecore namespace conflicts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synthesis.