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
User
Description
Posted 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
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".
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")
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.