On June 4, I sent another email to Urs:
I was able to see the differences of your version with the one from SF
at that time.
How I got there:
Please see the attached screenshot of the TortoiseGit/Show Log on the
file FDIncomeByFund.cs.
If you click on the version below your checkin, you can see the last
version from SF, Commit:7540def75c30ddf5c9b5caff839ea3bc8788b744
I have now done a clean checkout of sourceforge master, and done a
TortoiseGit Switch/Checkout on that Version
7540def75c30ddf5c9b5caff839ea3bc8788b744.
Then WinMerge diff on all .cs files of the two csharp directories,
including the subfolders. Sort by column with the comparison result.
There are only 2 files that are different: FDIncomeByFund.cs and
writesql.cs. writesql.cs is fine, since we need that change for the
varchar lengths.
The difference on FDIncomeByFund.cs has somehow happened, and you
should not have committed that, since you did not not consciously
change that file.
Please undo the change and commit that file. I will include it in the
patch I will send to you.
Compiling nant compilePetraClient now goes further.
[solution] Building 'Ict.Petra.Client.MPartner.Gui' [Debug] ...
[solution] u:\openpetraorg.omuk\csharp\ICT\Petra\Client\lib\MReporting\gui\MPartner\ExtractsByUser.cs(36,24):
Error CS0234: The t
ype or namespace name 'MReporting' does not exist in the namespace
'Ict.Petra.Shared' (are you missing an assembly reference?)
[solution] u:\openpetraorg.omuk\csharp\ICT\Petra\Client\lib\MReporting\gui\MPartner\ExtractsByUser.cs(44,35):
Error CS0234: The t
ype or namespace name 'Logic' does not exist in the namespace
'Ict.Petra.Client.MReporting' (are you missing an assembly reference
?)
[solution] u:\openpetraorg.omuk\csharp\ICT\Petra\Client\lib\MReporting\gui\MPartner\ExtractsByUser.cs(156,30):
Error CS0246: The
type or namespace name 'TRptCalculator' could not be found (are you
missing a using directive or an assembly reference?)
[solution] u:\openpetraorg.omuk\csharp\ICT\Petra\Client\lib\MReporting\gui\MPartner\ExtractsByUser.cs(172,29):
Error CS0246: The
type or namespace name 'TParameterList' could not be found (are you
missing a using directive or an assembly reference?)
[solution] u:\openpetraorg.omuk\csharp\ICT\Petra\Client\lib\MReporting\gui\MPartner\ExtractsByUser.Designer.cs(492,17):
Error CS0
246: The type or namespace name 'TUcoReportSorting' could not be found
(are you missing a using directive or an assembly reference
?)
This is now about your new report.
Ah, I did also a WinMerge comparison with filter *.csproj.
That shows that you modified
csharp\ICT\Petra\Client\lib\MPartner\gui\Ict.Petra.Client.MPartner.Gui.csproj
and added your new files
....\MReporting\gui\MPartner\ExtractsByUser.cs etc to that project.
Now I see what I could have noticed from the compiler error as well:
you have added those cs files to the wrong project. Please exclude
them from the Ict.Petra.Client.MPartner.Gui project, and add them to
project Ict.Petra.Client.MReporting.Gui.MPartner instead.
Then compilation should work.
(well, it did not at first, Solution Format of file Client.sln not
supported. needed to run nant fixProjectFiles)
Now I get the message:
[solution] Building 'Ict.Petra.Client.MReporting.Gui.MPartner' [Debug] ...
[solution] ExtractsByUser.Designer.cs(492,17): Error CS0246: The type
or namespace name 'TUcoReportSorting' could not be found (a
re you missing a using directive or an assembly reference?)
[solution] Project 'Ict.Petra.Client.MReporting.Gui.MPartner' failed!
I am have compared your ExtractsByUser.yaml file with
BriefAddressReport.yaml in the same directory, and noticed you have
missed the line
ucoReportSorting:
Type: Ict.Petra.Client.MReporting.Gui.TFrmUC_Sorting
Then again
nant generateWinform -D:file=MReporting/gui/MPartner/ExtractsByUser.yaml
Now the PetraClient does compile.
I have attached the patch file with the fixes.
Please ignore the changed csproj files, there was a problem with the
first bytes of the file. UTF BOF or something like that.
Please let me know if that does not solve your compilation problems.
You should commit your changes, push them to your repository on your dat drive.
Then try a pull from sourceforge again, to get to the latest version,
and if there are conflicts, resolve them and commit immediately, and
push to dat drive.
Then try if everything still compiles.