Xafari Samples have errors

StatusIDPriorityType
Closed29288CriticalBug
ProfileReply
doorscomputersClient

Hi I tried to open the Xafari example located on the public folder but all have errors like
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'IManagedOperation' could not be found (are you missing a using directive or an assembly reference?) Xafari.Northwind C:\Users\Public\Documents\Xafari Framework v17.1.5011 Demos\Northwind\CS\Xafari.Northwind\Operations\Operation3.cs 33 N/A
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'XafariSecuritySystemRole' could not be found (are you missing a using directive or an assembly reference?) Xafari.Northwind C:\Users\Public\Documents\Xafari Framework v17.1.5011 Demos\Northwind\CS\Xafari.Northwind\Security\InheritedRole.cs 7 N/A
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'BC' does not exist in the namespace 'Xafari' (are you missing an assembly reference?) Xafari.Northwind C:\Users\Public\Documents\Xafari Framework v17.1.5011 Demos\Northwind\CS\Xafari.Northwind\Updater.cs 6 N/A
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'XafariModuleUpdater' could not be found (are you missing a using directive or an assembly reference?) Xafari.Northwind C:\Users\Public\Documents\Xafari Framework v17.1.5011 Demos\Northwind\CS\Xafari.Northwind\Updater.cs 11 N/A
Severity Code Description Project File Line Suppression State
Error CS0115 'CategoryAttributeLocalizer.ResourceName': no suitable method found to override Xafari.Northwind C:\Users\Public\Documents\Xafari Framework v17.1.5011 Demos\Northwind\CS\Xafari.Northwind\Localization\CategoryAttributeLocalizer.cs 13 N/A
Severity Code Description Project File Line Suppression State
Error CS0308 The non-generic type 'CategoryAttributeLocalizer' cannot be used with type arguments Xafari.Northwind C:\Users\Public\Documents\Xafari Framework v17.1.5011 Demos\Northwind\CS\Xafari.Northwind\Localization\CategoryAttributeLocalizer.cs 11 N/A
error CS0234: The type or namespace name 'BC' does not exist in the namespace 'Xafari' (are you missing an assembly reference?)

all Have the same errors on every example with the same type it is so many that I could not copy everything. What could be the cause , I just opened the samples first time upon installing.

Thanks!

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello,

This issue is not typical for our Demo Center samples. We recommend you reinstall the Xafari v 17.1.5011 and try again run the sample.

Let us know if you get the problem again.
Best regards,
Mariya.

doorscomputers

Thanks for the quick reply , I will do that.

doorscomputers

I did try to do a re-installation but the errors are still the same. Pls see attached file

Attached files:
MariyaVoytovichAgent

Thanks for the provided information. We are going to investigate it. Give us some time.

doorscomputers

May I kindly request for a new activation? Activation request info below. Thanks!

--Start--
y+bEj5f3mii7g94322WaNT202PlPVQGJcsvYp6Dqs+kCIvHxSJOH7SxilBkHmS/8v13VJz+GzXZ7svqcMftKNNg+UhQ5HVP9J1xBQb3TbiX0A/bwox5z1q0OqJ8/NEWg3Qc1alyspYXg40csvyhecO1fMjego+yVlNrBm5BeLDZ4Qs6OOnKZa1JdZHjk63Z04b8nfY3kiflJShrDljdDZQVNg2P8AaPuvNXqX+NOrnHL/uijQCpdOzUaKcdrG1/G6NczhJFYNeHrgZuVvxtpoEs7NIv22zefqslLixG+YsK2wCHWx+2XEuDfQTYyLqzCj5ysxuy0wLpabj1pRXIn+mlkNbFJexTtHKe6SZyGCkuNCJz/QlVjRSedPfaOXFCoc9jvZURgw3ly6nIoIOdDLWbsXu7pnMkD27NFVu3MyU6IAvsFHhZcPDT8DEuPGfXDCDpZZpwKzvROve4VIJDuLm7E77l37BKU2tFNyRjt+e3Vpufo1R6wn1Zjw6eefRFbW58ptP5KMvGvTuSUDjKFvXhrg+SbPfrX11fU6638YZlFGZjlhBI5H5T7sJoMArNVzxN+TU6/GjgFbR1uhu2KqrEU8QmEkUu9b/tlWUWmnZjvR/UylZ3GBqhPeb3ISuPvz8+4UP7UCOCiitl9n7TRoHxXWpie44p2cYbyv+aZCqi8c7v1mK5W6hsRkpOCSYo5SrXB3u0G23Bknla9kL1baZolH+0RXaZmChX6stIJgmyC2dgZMJsvuhH7oRdFrlQhjaeu/PqGwYPsS1evfqpjzlFBrXtKVgwZ1LIdKvH6xSFNoe47OFRn0hYUDBC4+IreLu8C0lUXTi5q9ctOBDjdDkop71ZWd94wxTpdqdehtxiWQo6bjNDGY68UQ9plxKITO0UhS9EpfM+ex6N6xTRw//Ssao5/09O/q46X8w0hqGbhxyZXCIIqiaWxwaDs5LlhFFtPkI68rrPFidtXrvtvcG8jo47VY3/ZWhyCndRwzv8sNuhnVlDGwBQamVQop33Y4uYX6L/33wLJIJ5vM1mOGAbG76OSlbZcTfBhRdMlqR3edqoIFxtWgiWcu11oBzpRpz32NRG++0gclJteJ+j4ZKuE096wlp/JqG25QHSbkShV6tYW3ce7Klgk7IcUvE09mCTvjMDXpmUm9O+9K0UQfh5VOs20pXD+BXuyLMlohnxqnpV8nHkkeNx1lxveb7N0FWj/TviW/xbIypXbXCEFOGNQokYkZVtlDiBcX19Z5g/W7gNKGeLpKmZJFXSkQkQiK/q0PcgeN/yL+6UejX2HHczuzLnvqI8OKlfq0fKO6ZdtvFXRKsVS7yl63tqsVqyB
--End--
doorscomputers

Hi, May I kindly follow up on the cause of the error, I already re-installed 3 times but I still encounter the same error.
Thanks!

MariyaVoytovichAgent

Hello, We could not get a mistake at home. Can I get additional information from you?
1. What version of the Xafari you install?
2. What version of Visual Studio are you using?
Thanks!

doorscomputers

VS 2017 and Xafari 17.1.5

MariyaVoytovichAgent

Hi.
Please, open folder C:\Windows\Microsoft.NET\assembly\GAC_MSIL. The folder must containst Xafari folders. For example, folder must contain folder "Xafari". Open folder "Xafari" if she exist.

In the folder must be folder with name "v4.0_17.1.5011.0__b5573042f1727a10", open her. The folder must comtainst file "Xafari.dll".
Let us know if file "Xafari.dll" not exist.

Thanks!

doorscomputers

Hi, I confirm that the file exist.

MariyaVoytovichAgent

Hello!
Now us need check folder C:\Program Files (x86)\Galaktika\Xafari Framework v17.1.5011\Framework\bin\. Open the folder in full screen.
Change the file display structure to "List" (in main menu -> view). Take a screenshot. Sample screenshot in the file "SampleScreenshotFolder"

Then, Open sample Northwind in visual studio. Take a screenshot. Sample screenshot in the file "ExampleScreenshotVisualStudio".

Attach screenshots to your answer.

doorscomputers

The 2 screenshot is not captured fully but I compared your screenshot and it is complete, I assure that.

MariyaVoytovichAgent

Hello!
Unfortunately, we could not reproduce the error.

Perhaps this error is only related to Visual Studio 2017, but at the moment we are not working closely with this version of Visual Studio and testing on this version of the demo did not take place.
Try to open the sample demo in another version of Visual Studio.
I can also recommend you:
1. Check the version of the Framework for Northwind modules. Open the sample demo in Visual Studio. Open the properties window for Xfari.Northwind. Value the target framework must be
installed on the .Net Framework 4. Because all Xafari assemblies use the .Net Framework 4.
Check all the other projects in the solution as well. (Example in file "Framework.jpg")
2. Change the value of the Specific Version property to False in the Reference Properties for Xafari assemblies. (Example in file "SpecificVersion.jpg")

Best regards,
Mariya.

doorscomputers

Thanks for trying to help, on the contrary to the framework version suggestion which is .net framework 4, it is by default version 4, but for the benefit of those using VS 2017, it should not be version 4, Please change it to version 5 or later and the errors will be gone.

× This ticket is closed.

Write US