22 October 2012

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

When you try to compile a project in visual studio and get this message

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters



All you need is to correct an error that VS created (and I do not know how)
He has written a number of times in the "Deployment Path"

"$ SharePoint.Project.FileNameWithoutExtension $ _ $ SharePoint.Feature.FileNameWithoutExtension $"



Instead of one in "Deployment Path"
It should be like this

"YourValue_ $ SharePoint.Feature.FileNameWithoutExtension $"

Yours,
Roi
 

11 October 2012

Image not rendered at RichImageF​ield

Who has not sat for hours on code and trying to figure out a problem.

This happens to me from time to time.

This time I will share with you in case of building PageLayout allows adding an image (RichImageField).

Microsoft's programmers apparently thought that the "order" is important.
Also does not make any sense.

That's what comes of trying to add RichImageField and rendered no image.
We are in " " instead of a image.

Now if we reduce the RichImageField down (in my case under RichHtmlField)...

Everything works fine.

Microsoft programmer with a sense that I do not understand - can someone explain to me?

I hope I helped,
Roi