DevExpress.XtraEditors.LookUpEdit not found - devexpress

When trying to upgrade from v2009 1.2 to v2009 3.3, I get the following error:
"The type 'DevExpress.XtraEditors.LookUpEdit' is defined in an assembly that is not referenced. You must add a reference to assembly 'DevExpress.XtraEditors.v9.1, Version=9.1.2.0"
However, I can see the LookUpEdit in the version 3.3. Am I missing something? Please help.

Related

attribute barrierMargin (aka com.example.myapp:barrierMargin) not found

After updating xamarin.forms version to 5.0.2244 facing attribute barrierMargin (aka com.example.myapp:barrierMargin) not found myapp.Android\obj\Debug\100\lp\112\jl
res\layout\material_timepicker_dialog.xml 39 and build failed.
We got the same error after updating Xamarin.Forms from version 5.0.0.1931 to 5.0.0.2337:
material_timepicker_dialog.xml(39): [APT2260] attribute barrierMargin (aka com.example.myapp:barrierMargin) not found.
Xamarin.Android.Aapt2.targets(157, 3): [APT2061] failed linking file resources.
After updating Xamarin.AndroidX.ConstraintLayout from version 1.1.3.2 to 2.1.1.2 we could not reproduce this error.

The type or namespace name 'Web' does not exist in the namespace 'System'

I am building a project in .NET Core where I need to use the Framework Assembly System.Web.Extension. I install the assembly via Reference -> Add Reference -> System.Web.Extension 4.0.0.0. After it installed it appears under DNX 4.5.1 -> FrameworkAssemblies. Package restoration was successful as well.
Following entry is added in project.json file as expected.
"frameworkAssemblies": {"System.Web.Extensions": "4.0.0.0"}
But when I am trying to compile the project using dnu build, following error appears!
D:\Projects\ColemanApi\src\ColemanApi\Controllers\ValuesController.cs(7,14): DNXCore,Version=v5.0 error CS0234: The type or namespace name 'Web' does not exist in the namespace 'System' (are you missing an assembly reference?)
D:\Projects\ColemanApi\src\ColemanApi\Controllers\ValuesController.cs(51,27): DNXCore,Version=v5.0 error CS0246: The type or namespace name 'JavaScriptSerializer' could not be found (are you missing a using directive or an assembly reference?)
I was following this post but it does not have a solution for .net 5 or I don't know how to Copy Local in .net 5 as I did not see any Properties option in Assembly's fly-out menu.
Please see attached image:
And here is a screenshot of the compilation error:
Somebody please help. I am totally screwed up!
UPDATE
I ran dnu list and it shows the System.Web.Extensions is resolved. Please see the screenshot below:
Thanks in advance.
If it does, is there any alternative solution to deserialize a JSON string without removing "dnxcore50"?
JSON.Net provides this functionality. If you want to use this on Core...
https://github.com/JamesNK/Newtonsoft.Json/issues/618#issuecomment-186441534
There won't be any progress until .NET Core RC2. When it is released I'll create a netstandard build and release a new version of Json.NET.

Undefined class constant 'FOLLOW_SYMLINKS

after installing symfony 2.6 and when executing an error message is displayed:
FatalErrorException in DirectoryResource.php line 82:
Error: Undefined class constant 'FOLLOW_SYMLINKS'
the error is in the bundle: kriswallsmith
Please help me.
thank you in advance
Which versio of PHP are you running under? 5.2?
This sounds awfully similar to this issue report: https://github.com/caefer/sfImageTransformExtraPlugin/issues/5
The class constant, FOLLOW_SYMLINKS, is part of the RecursiveDirectoryIterator, which according to the PHP.net manual page, was added in 5.3.1 and also 5.2.11. At least version 5.3.9 is usually recommended or required by various frameworks because of various issues in prior versions.
The package is "kriswallsmith/assetic"

TFS OData missing reference on BasicAuthToken and BasicAuthCredential

I am trying to set up an OData service for a company Team foundation server. I have used a few versions but this one seems to be missing a reference that I can not locate anywhere. The 2 classes that i seem to be missing definitions for are - BasicAuthToken and BasicAuthCredential both are throwing an error -
The type or namespace name 'BasicAuthToken' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'BasicAuthCredential' could not be found (are you missing a using directive or an assembly reference?)
Does anyone know where these can be referenced? The Odata service can be downloaded HERE!
I've got the same problem. My solution:
On ODataTFS.Model:
switch the target framework to 4.5
replace all teamfoundation* references to version 12. The Microsoft.TeamFoundation ver 12 don't exists, remove it.
add Microsoft.TeamFoundation.VersionControl.Common.Integration (ver 12)
add Microsoft.VisualStudio.Services.Common (ver 12)
On ODataTFS.Web:
switch the target framework to 4.5
replace all teamfoundation* references to version 12.
After that you can use only the ctrl+'.' to resolve the build errors.

asp.net mvc 4 website is refusing to build on teamcity

I have a Windows Server 2003 box with teamcity that I use as a build/deployment server. I checked in a new asp.net mvc 4 project and it is crapping out with the following errors:
App_Start\BundleConfig.cs(2, 18): error CS0234: The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Controllers\AccountController.cs(8, 7): error CS0246: The type or namespace name 'DotNetOpenAuth' could not be found (are you missing a using directive or an assembly reference?)
Global.asax.cs(7, 18): error CS0234: The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Models\AccountModels.cs(4, 45): error CS0234: The type or namespace name 'Schema' does not exist in the namespace 'System.ComponentModel.DataAnnotations' (are you missing an assembly reference?)
App_Start\BundleConfig.cs(9, 44): error CS0246: The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
I've already installed asp.net mvc 4 on that box, restarted the machine and tried everything else without any luck.
Any ideas?
For me, my CI server (TeamCity) wouldn't take MVC 4 via the Web Platform Installer. Dunno why.
So I checked the TC build logs logs for the yellow warnings, looking for references its trying to resolve.
For each one, I then looked for the corresponding NuGet package in the project/solution and reinstalled it. This sets it up with package restore so that TeamCity/MSBuild restores it during build.
For example:
Update-Package WebGrease -Reinstall
The MVC project template, although it uses NuGet packages, they're not wired-into the whole package restore mechanism for some reason, so reinstalling them forces this. Effectively, I suppose you're installing MVC 4 via its constituent packages.
Luke
A few things I would look in to:
Make sure that your NuGet packages are being pulled down appropriately during the build. Documentation
Make sure that the project is not still referencing the old MVC 3 assemblies somewhere. Perhaps a nant/msbuild build script is copying the old assemblies somewhere?
I am not sure if this will be helpful. But I had same problem. What I was trying to do is using EnableNuGetPackageRestore I was trying to restore it and some where it was causing problem (Restoring nuget packages from Test project rather than MVC project. I am not sure why but if I found out I will surely update thread). What I did is I followed blog from http://blog.jetbrains.com/teamcity/2013/08/nuget-package-restore-with-teamcity/. Adding one more build step NuGet Installer helped me fix issue. (Caution: If you are using internal nuget package server than you need to specify same in Sources). Please let me know if you have still problem and I can be of any help. Happy Building !!

Resources