Website asp.net 4.52, latest beta:
no Executable in this project
with older Version no Problems.
Hi,
I’m sorry to hear you ran into problems; unfortunately, I’m afraid we’ll need a bit more info to go on to narrow this down. Can we get the complete build log? Is this a “website” or a web project"? Does there error happen in any project or just tis specific one?
thanx,
marc
Hi Marc,
website, I think LINQ ist he reason.
At the time beeing, only in this project (means I did not test it on other projects, downgraded to working Elements Version)
Sorry, I am just a stupid user , where do I find the build log?
Cheers
Marcus
Mit freundlichen GrĂĽssen
Marcus van den Bergh
Geschäftsführer
asthenis GmbH
Visual Studio should have an “Output” panel somewhere.
Oh, that you mean :
------ Erstellen gestartet: Projekt: ODSeasyNet, Konfiguration: Debug Any CPU ------
Website wird validiert
Verzeichnis /ckeditor/adapters/ wird erstellt.
Verzeichnis /ckeditor/lang/ wird erstellt.
Verzeichnis /ckeditor/plugins/about/dialogs/ wird erstellt.
Verzeichnis /ckeditor/plugins/clipboard/dialogs/ wird erstellt.
Verzeichnis /ckeditor/plugins/colorbutton/lang/ wird erstellt.
Verzeichnis /ckeditor/plugins/colorbutton/ wird erstellt.
Verzeichnis /ckeditor/plugins/dialog/ wird erstellt.
Verzeichnis /ckeditor/plugins/floatpanel/ wird erstellt.
Verzeichnis /ckeditor/plugins/link/dialogs/ wird erstellt.
Verzeichnis /ckeditor/plugins/panel/ wird erstellt.
Verzeichnis /ckeditor/plugins/panelbutton/ wird erstellt.
Verzeichnis /ckeditor/ wird erstellt.
Verzeichnis /DataForms/ wird erstellt.
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(5141,1): Warnung W66: (W66) Method definition “method GetSicherImGesunden(Value: Object): System.Boolean” does not exactly match implementation “method Histologie.GetSicherImGesunden(Value: Object): Boolean”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\KonferenzortSuche.aspx.pas(34,17): Warnung H10: (H10) Local variable “resItems” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(4736,7): Warnung H10: (H10) Local variable “language” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(743,13): Warnung H11: (H11) Local variable “code” is assigned to but never read
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(768,13): Warnung H11: (H11) Local variable “code” is assigned to but never read
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(921,13): Warnung H11: (H11) Local variable “HER2” is assigned to but never read
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(922,13): Warnung H11: (H11) Local variable “ANDERE” is assigned to but never read
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(4891,6): Warnung H10: (H10) Local variable “i” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Histologie.aspx.pas(4893,6): Warnung H11: (H11) Local variable “emptyparam” is assigned to but never read
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Krebsregister.aspx.pas(1131,1): Warnung W66: (W66) Method definition “method loadResend(Diagnose_id: System.Int32; INST_ID: System.Int32)” does not exactly match implementation “method DataForms_Krebsregister.loadResend(Diagnose_id: Int32; INST_ID: System.Int32)”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Group.aspx.pas(41,1): Warnung W66: (W66) Method definition “method SaveData(sender: System.Object; e: System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs)” does not exactly match implementation “method DataForms_Group.SaveData(sender: Object; e: ObjectDataSourceMethodEventArgs)”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\DokumentAnKis.aspx.pas(45,5): Warnung H10: (H10) Local variable “vPageResult” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\TumorkonferenzFilter.aspx.pas(44,1): Warnung W66: (W66) Method definition “method LoadFromSession: System.Boolean” does not exactly match implementation “method DataForms_TumorkonferenzFilter.LoadFromSession: Boolean”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Patient_Zustimmung.aspx.pas(99,1): Warnung W66: (W66) Method definition “method GetDatum(Val: System.Object): System.String” does not exactly match implementation “method Patient_Zustimmung.GetDatum(Val: System.Object): String”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Systemtherapie.aspx.pas(430,1): Warnung W66: (W66) Method definition “method protolist_SelectedIndexChanged(sender: Object; e: EventArgs)” does not exactly match implementation “method Systemtherapie.protolist_SelectedIndexChanged(sender: System.Object; e: System.EventArgs)”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\TumorkonferenzFilter.aspx.pas(50,19): Warnung H0: (H0) Expression will always evaluate to “True”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Diagnosen.aspx.pas(3254,1): Warnung W66: (W66) Method definition “method blLeukamieWHO_Click(sender: System.Object; e: System.Web.UI.WebControls.BulletedListEventArgs)” does not exactly match implementation “method DataForms_Diagnosen.blLeukamieWHO_Click(sender: Object; e: BulletedListEventArgs)”
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\DiagnoseSuche.aspx.pas(38,17): Warnung H10: (H10) Local variable “resItems” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Diagnosen.aspx.pas(3102,5): Warnung H10: (H10) Local variable “trprimabgeschlossen” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Diagnosen.aspx.pas(3553,8): Warnung H10: (H10) Local variable “qryFachBereich” is not used
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Diagnosen.aspx.pas(3211,5): Warnung H14: (H14) This statement cannot be reached
C:\Delphian2013\Prism2013\ODSeasyNet\DataForms\Diagnosen.aspx.pas(3194,7): Warnung H14: (H14) This statement cannot be reached
(0,0): Fehler E253: (E253) Error while generating executable: System.NotSupportedException: Die angegebene Methode wird nicht unterstĂĽtzt.
Validierung abgeschlossen
========== Build: 0 erfolgreich oder aktuell, 1 fehlerhaft, 0 ĂĽbersprungen ==========
Do not think this will help.
I think the problem might be here, this works in fine in previous versions of Oxygene:
if (istMetastasenFall) then
begin
if (meldungen.Where(x -> Assigned(x.Tumorzuordnung) and x.Tumorzuordnung.Tumor_ID = diagnosemeldung.Tumorzuordnung.Tumor_ID).Count = 0) then
begin
gesendeteDiagnose.Add(eineMarkierung);
end;
end;
Result with beta:
After brackets around behind „and“
if (meldungen.Where(x -> Assigned(x.Tumorzuordnung) and (x.Tumorzuordnung.Tumor_ID = diagnosemeldung.Tumorzuordnung.Tumor_ID)).Count = 0) then
begin
gesendeteDiagnose.Add(eineMarkierung);
end;
result:
Commenting the code above out does not help, E253 appears.
But there is more LINQ in that (huge) project.
Mit freundlichen GrĂĽssen
Marcus van den Bergh
Geschäftsführer
asthenis GmbH
Ah yes! we did fix a big where operator precedence was wrong, but didn’t err (just gave the wring result) think, something like "if someBoolean or x = "test" then
. this should require parenthesis around the equality operation (and now does).
It looks like your’s is a related corner case, this [a] never should have compiled (but did), [b] didn’t work properly, and [c] certainly should give a cleaner error than what you’re getting, now. Let me see if I can reproduce the System.NotSupportedException here, if not, a full testcase (which we will treat confidential of course) would be appreciated.
in either case, adding () is the proper fix.
Sadly, it does not reproduce in a small test case. this code:
namespace ConsoleApplication457;
uses
System.Linq;
type
Program = class
public
class method Main(args: array of String): Int32;
begin
// add your own code here
writeLn('The magic happens here.');
var istMetastasenFall := true;
var meldungen := new System.Collections.Generic.List<Foo>;
var diagnosemeldung := new Foo;
if (istMetastasenFall) then
begin
if (meldungen.Where(x -> assigned(x.Tumorzuordnung) and x.Tumorzuordnung.Tumor_ID = diagnosemeldung.Tumorzuordnung.Tumor_ID).Count = 0) then // E62 Type mismatch, cannot assign "String" to "Boolean"
begin
//gesendeteDiagnose.Add(eineMarkierung);
end;
end;
end;
end;
Foo = class
public
Tumorzuordnung: Bar;
end;
Bar = class
public
Tumor_ID: String;
end;
end.
gives me the proper expected (and new) error;
and changing it to
if (meldungen.Where(x -> assigned(x.Tumorzuordnung) and( x.Tumorzuordnung.Tumor_ID = diagnosemeldung.Tumorzuordnung.Tumor_ID)).Count = 0) then
works.
Hi Marc,
ok. Giving you the entire project is no option, as it is
a) Huge
b) Confidential
Is there any other way I can help you?
I have to do this from other computer where Oxygene beta is installed, but I may not have time every day.
Mit freundlichen GrĂĽssen
Marcus van den Bergh
Geschäftsführer
asthenis GmbH
Signiert durch RSA (2048 Bits) und QR-Code:
Hinweis: Diese Mail enthält eine digitale Signatur, die unter Unständen von Ihrem E-Mail Clienten als Anhang identifiziert wird, wenn der Client das Auswerten von Signaturen nicht unterstützt. Bitte ignorieren Sie die Signatur in diesem Fall.
Can someone from us remote debug ? (teamviewer or equivalent)?
Hi Carlo,
of course. But I have to prepare this computer with Teamviewer.
The Notebook is completely “naked” in terms of communication outside.
Would Cisco WebEx be OK for you as well?
Veel groeten aan Nederland
Marcus
Mit freundlichen GrĂĽssen
Marcus van den Bergh
Geschäftsführer
asthenis GmbH
Signiert durch RSA (2048 Bits) und QR-Code:
Hinweis: Diese Mail enthält eine digitale Signatur, die unter Unständen von Ihrem E-Mail Clienten als Anhang identifiziert wird, wenn der Client das Auswerten von Signaturen nicht unterstützt. Bitte ignorieren Sie die Signatur in diesem Fall.
Not sure if webEx lets me interact with your desktop. But I’m generally good with anything. Maybe we can set some time tomorrow? I see we’re in the same country/timezone so that will help. I’m working from 7 till 15:00 tomorrow.
Hi Carlo,
WebEx would be best solution for us.
No prob working on my computer with it.
Send me you mail address and I will send you invitation.
I am in a Conference tomorrow until 12:00h.
Is 13:00 h OK for you?
Cheers
Marcus
As you wish
Hi,
Updated Errormessage from beta 71:
Schweregrad Code Beschreibung Projekt Datei Zeile UnterdrĂĽckungszustand
Fehler (E253) Error while generating executable: System.NotSupportedException: Die angegebene Methode wird nicht unterstĂĽtzt. bei Mono.Cecil.Cil.InstructionOffset.get_Offset() bei Mono.Cecil.Pdb.NativePdbWriter.DefineScope(ScopeDebugInformation scope, MethodDebugInformation info, MetadataToken& import_parent) bei Mono.Cecil.Pdb.NativePdbWriter.DefineScope(ScopeDebugInformation scope, MethodDebugInformation info, MetadataToken& import_parent) bei Mono.Cecil.Pdb.NativePdbWriter.Write(MethodDebugInformation info) bei Mono.Cecil.Symbols.CombinedWriter.Write(MethodDebugInformation info) bei Mono.Cecil.Cil.CodeWriter.WriteResolvedMethodBody(MethodDefinition method) bei Mono.Cecil.Cil.CodeWriter.WriteMethodBody(MethodDefinition method) bei Mono.Cecil.MetadataBuilder.AddMethod(MethodDefinition method) bei Mono.Cecil.MetadataBuilder.AddMethods(TypeDefinition type) bei Mono.Cecil.MetadataBuilder.AddType(TypeDefinition type) bei Mono.Cecil.MetadataBuilder.AddTypes() bei Mono.Cecil.MetadataBuilder.BuildTypes() bei Mono.Cecil.MetadataBuilder.BuildModule() bei Mono.Cecil.MetadataBuilder.BuildMetadata() bei Mono.Cecil.ModuleWriter.BuildMetadata(ModuleDefinition module, MetadataBuilder metadata) bei Mono.Cecil.ModuleWriter.Write(ModuleDefinition module, Disposable1 stream, WriterParameters parameters) bei Mono.Cecil.ModuleWriter.WriteModule(ModuleDefinition module, Disposable
1 stream, WriterParameters parameters) bei Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters) bei E.b(Stream a)
Cheers
Marcus
cool, thanx. that should help, on Monday…
I’ve uploaded a new build. Can you try that one?’
Hi Carlo,
thats quick.
Give me a couple of hours
Mit freundlichen GrĂĽssen
Marcus van den Bergh
Geschäftsführer
asthenis GmbH
Signiert durch RSA (2048 Bits) und QR-Code:
Hinweis: Diese Mail enthält eine digitale Signatur, die unter Unständen von Ihrem E-Mail Clienten als Anhang identifiziert wird, wenn der Client das Auswerten von Signaturen nicht unterstützt. Bitte ignorieren Sie die Signatur in diesem Fall.
I won’t know 100% certain (as I can’t test it here); but this should get you going.