Please help me I am getting lots of resource errors
'Resource.Attribute' does not contain a definition for
'mediaRouteSettingsDrawable'
'Resource.Color' does not contain a definition for 'design_textinput_error_color'
'Resource.Dimension' does not contain a definition for 'design_fab_content_size'
'Resource.Dimension' does not contain a definition for 'design_navigation_padding_top_default'
Like this I have 150 errors not sure what is causing this. If I delete them from Resource.Designer it emulator starts in the next build it again comes with all the errors.
Please help me.
I found the issue the problem is with the FFImageLoading package which is causing issues with new version of Xamarin forms
Related
I have finally come across something that no one else seemed to have come across (at least from what I can tell). I trying to build an F# type provider using TypeProviders.SDK.
As soon as I build the solution I get the error: "FS0810, Property 'CultureName' cannot be set, \LemonadeProvider\paket-files\fsprojects\FSharp.TypeProviders.SDK\src\ProvidedTypes.fs" on line 2090 and again at 3162 in the design time project of the solution.
I do not think this is useful but the Test project also fails as it can not find the LemonadeProvider.Runtime.dll. I am assuming this will get created when the Runtime project will build successfully.
PS: As of right now I am just tring to build the provided template, I have not changed the code or added anything to it. Hence I have not attached any code, but please feel free to ask for it.
The corresponding issue is https://github.com/fsprojects/FSharp.TypeProviders.SDK/issues/353
Known workarounds
Change minimum target to net461. Replace all instances of net45 with net461, except for in netfx.props, where you can just delete the lines referencing net45* frameworks (I suspect the removal of those lines isn't strictly speaking necessary).
I did this workaround but am now facing these kinds of errors: (like 2000 of them)
C:\Users\user\source\repos\HelloWorldProvider\paket-files\fsprojects\FSharp.TypeProviders.SDK\src\ProvidedTypes.fs(34,7): error FS0074: The type referenced through 'System.Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard'. [C:\Users\user\source\repos\HelloWorldProvider\src\HelloWorldProvider.DesignTime\HelloWorldProvider.DesignTime.fsproj]
I found out that the issue lied with the ProvidedTypes.fs and ProvidedTypes.fsi files created by the SDK.
The issue was solved for me when I replaced the files with the ones found in 'SDK-dsyme-patch-7' which provided compatibility for different .Net environments which was missing from the original SDK. There might be other differences but this is the one I found and it fixed the problem for me.
The files can be found under '/src/' in the dsyme patch.
The code I am referring to is as follows and has been added twice to the ProvidedTypes.fs:
#if NETSTANDARD
asmName.CultureName <- System.Globalization.CultureInfo.InvariantCulture.Name
#else
asmName.CultureInfo <- System.Globalization.CultureInfo.InvariantCulture
#endif
asmName
I am not aware if there is a new SDK that has solved the problem. But at the time when the question was asked, this is what worked for me.
Sometimes some class methods or fields marked erroneous(that red underline) by IDE, but the project successfully compiled and executed(no error or warning).
If I hold mouse pointer on this erroneous sections I got this tool tip : "'TSomeClass' does not contain a member named 'SomeMethod'" or "Undeclared identifier 'SampleIdentifier'".
Is that a kind of IDE bug or am I wrong somewhere?
That feature is called Error Insight and is known not to work reliably. AFAIK you can't fix that. If it bothers you enough you'll have to disable it.
This is an old question, but I found it when searching for a similar issue. I have a large project group with over a dozen packages, and Error Insight was broken for only one of them. The issue appeared after upgrading to Delphi 10 Seattle.
In Project Options | Delphi Compiler, make sure "Use MSBuild externally to compile" is false. This fixed the Error Insight behavior in my project.
i'm working on a project that uses mvc in dotnet. i have to develop the remaining code given to me.I made a copy of the Maincode and tried to run it ;i'm getting this error when i tried to run with breakpoints.
This is the error i'm getting.
i googled and i got a answer saying to refresh the reference i did that too, but its not helping. what can be the problem.
this is the error i'm getting, a screen shot from web.
http://www.google.co.in/imgres?um=1&sa=N&hl=en&biw=1024&bih=621&tbm=isch&tbnid=MuZffsIBSR3nhM:&imgrefurl=https://stackoverflow.com/questions/8506618/no-source-available-error-with-ninject-when-debugging-code&docid=yGGstg8JC99hAM&imgurl=http://i.stack.imgur.com/nlWbT.png&w=1107&h=480&ei=GotmUf2yNYWKrgeam4DYBw&zoom=1&ved=1t:3588,r:3,s:0,i:91&iact=rc&dur=1437&page=1&tbnh=148&tbnw=341&start=0&ndsp=12&tx=91&ty=96
Are you sure your reference to Niniject in web project references is OK? Because it seems like author of the code used sources of ninject (placed in c:\projects\ninject\...) instead of library or nuget package (i dont know why). Try remove that reference and add Ninject as nuget package and see what happens.
I am building a project in Delphi 5. I have successully builded the project and genrated the output exe. Till this state everything works fine. Now I am using testing automation tool 'TestComplete' on the generated the exe. But in TestComplete only Published properties are visible. I am unable to see the private and public properties. TestComplete documentation suggested a way to build the exe with Debug option checked. For that i modified the setting in Project--> Options --> Linker --> Exe and DLL options --> Include TD32 Debug Info is checked and trying to build the project but I am getting an "[Fatal Error]Internal error: DBG2439". I tried closing the delphi and opening the project again. Also I tried deleting all DCUs. But getting same error everytime.
Can Anybody help me on this. Thanks For the help.
Testcomplete link or reference: http://support.smartbear.com/viewarticle/29770/
Got one link while googling but didnt understand steps. can anyone help me to understand. Its really appriciated.
https://groups.google.com/forum/?fromgroups#!msg/borland.public.delphi.ide/PDJUVyFbfQ8/huCmBa3eCVIJ
Finally able to resolve the error. :)
The dbg3439 and dbg 2499 error was due to ResourceString declaration after subprocedure.
Please refer the link for more help:
https://groups.google.com/forum/?fromgroups#!msg/borland.public.delphi.ide/PDJUVyFbfQ8/huCmBa3eCVIJ
Thanks to all..
I haven't touched any of my Blackberry projects for about 2 weeks now. Today I had to make some modifications, but when I tried to compile and run my code I got an error message like the following (this has been simplified):
JavaBuilder handling CoreException
org.eclipse.core.runtime.CoreException: File not found: C:\Program Files\etc etc etc\ClassName.class
And this error pops up for every single one of the files in my project.
I'm not a Java professional by any means, but I'm pretty sure this has something to do with my build path. What do I have to do? I did a system restore a little while back don't know if that has anything to do with this.
Thanks a lot.
Problem solved. For some reason alot of the folders in my project's folder were duplicated (ie: mainpackage, mainpackage(2)), so each one of my class files had a twin. Eclipse didn't tell me this, instead it just decided to say "I can't find the files" even though they were there. Not a very useful error message.
So I deleted mainpackage(2) and now it runs fine.
Thanks again for the help.