vuforia augmented reality with unity3d - c#

error image form visual studio
i download Vuforia Core Samples
and download last version vurforia sdk
and i have Unity 2017.3.0b4 with vuforia
and i use visual studio enterprise 2017 to edit scripts
what the solution for these errors?
The type or namespace name 'ReconstructionBehaviour' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'PropBehaviour' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'SurfaceBehaviour' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ReconstructionBehaviour' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'Prop' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'Surface' could not be found (are you missing a using directive or an assembly reference?)
error image form visual studio

Activate Vuforia in the XR Settings under Player Settings. Refer Link.
Edited:
1. Be sure to install Vuforia AR Support from the Download Assistant or XR Settings
2. Activate Vuforia AR Support in XR Settings
3. Then import the samples

Related

UnityMars - ARKit BodyTracking

I have the following dependencies:
XR legacy input helpers 2.1.9
XR plugin management 4.0.7
AR foundation 2.1.19
AR subsystems 2.1.19
ArKit Face Tracking 1.0.14
ArKit XR plugin 2.1.19
Unity Mars 1.4.1
Unity Mars AR foundation 1.4.1
Unity Mars NAV Mesh 1.4.1
And get the following Console CS1061/ CS0246 Errors:
Library\PackageCache\com.unity.mars-ar-foundation-providers#1.4.1\Runtime\Scripts\ARFoundationMeshProvider.cs(220,61): error CS1061: 'XRMeshSubsystem' does not contain a definition for 'GetFaceClassifications' and no accessible extension method 'GetFaceClassifications' accepting a first argument of type 'XRMeshSubsystem' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.mars-ar-foundation-providers#1.4.1\Runtime\Scripts\ARFoundationMeshProvider.cs(156,39): error CS1061: 'XRMeshSubsystem' does not contain a definition for 'SetClassificationEnabled' and no accessible extension method 'SetClassificationEnabled' accepting a first argument of type 'XRMeshSubsystem' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.mars-ar-foundation-providers#1.4.1\Runtime\Scripts\ARFoundationMeshProvider.cs(43,73): error CS0246: The type or namespace name 'ARMeshClassification' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.mars-ar-foundation-providers#1.4.1\Runtime\Scripts\ARFoundationMeshProvider.cs(42,73): error CS0246: The type or namespace name 'ARMeshClassification' could not be found (are you missing a using directive or an assembly reference?)
Please help me out of these errors.
One image is build with error with my model & in another one when i'm not build with the my model it gave the same error IDE trouble

Type Support does not exist after upgrade to Xamarin.Forms 5

I've updated Xamarin.Forms Nuget package from 4.8.0.1560 to 5.0.0.1874. After this I got the following errors:
The type or namespace name 'Support' does not exist in the namespace
'Xamarin.Android' (are you missing an assembly reference?)
The type or namespace name 'Net' does not exist in the namespace
'MyProject.Android' (are you missing an assembly reference?)
The type or namespace name 'Graphics' does not exist in the namespace
'MyProject.Android' (are you missing an assembly reference?)
The type or namespace name 'App' does not exist in the namespace
'MyProject.Android' (are you missing an assembly reference?)
I've deleted bin and obj folders, clean and rebuild solution, but nothing.
Any suggestion?
The steps required to upgrade an app from Xamarin.Forms 4.x to 5.x are provided by Microsoft, here:
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/troubleshooting/questions/forms5-migration

The type or namespace name 'NUnit' could not be found | Unity

i have next errors:
The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'UnitySetUpAttribute' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'UnitySetUp' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'TestAttribute' could not be found (are you missing a using directive or an assembly reference?)
More under a page:
enter image description here
Code:
https://pastebin.com/5zTjwPZw
How fix it?
I had the same issue in a custom package after updating to 2020.2.3f1.
In the case of packages (or if you are using assemblies), they now seem to enforce that Editor's only assemblies should be marked as such in the Platforms section of the inspector:
Test code needs to be under Editor, so it compiles to the Assembly-CSharp-Editor-*.dll which has references to the nunit dlls.
I find this particularly confusing given a quick inspection of Assembly-CSharp-*.csproj will show the nunit.framework listed as a reference, and the fact that it will also build if you point msbuild at the generated solution within vscode (whilst simultaneously failing a Unity 'refresh').

Setup build system for ASP.NET MVC application without visual studio

How to setup build system without visual stduio for .NET MVC web application?
Actually i have installed the following items on build server,
Latest .NET framework
Microsoft Visual Studio shell (isolated)
MSBuild tools
Visual Studio C++ build tools & Web Deployment build tools
Latest WiX Toolset
while running build getting the following errors,
Errors:
error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
error CS0246: The type or namespace name 'HttpConfiguration' could not be found (are you missing a using directive or an assembly
reference?)
error CS0234: The type or namespace name 'Http' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
error CS0246: The type or namespace name 'ApiController' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'ActionFilterAttribute' could not be found (are you missing a using directive or an assembly
reference?)
error CS0641: Attribute 'AttributeUsage' is only valid on classes derived from System.Attribute
error CS0246: The type or namespace name 'HttpActionExecutedContext' could not be found (are you missing a
using directive or an assembly reference?)
rror CS0246: The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
Did i miss anything to be installed on the Build System prior to start build?
Guide me to over come these errors.
Update:
I resolved the above errors by installing MVC4 framework. But i am still having other below issue for VP8 & WebM projects.
error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props"
was not found. Confirm that the path in the declaration is
correct, and that the file exists on disk.

Error about Google Drive in .Net

I try to learn how to do Google Drive application.I looked in this site (https://developers.google.com/drive/quickstart-cs). When I add reference for google drive,I used Manage Nuget Packages.I searched Google.Apis and installed it.When I clean and build solution,there are some errors.These are
Error 1 The type or namespace name 'DotNetOpenAuth' could not be found
(are you missing a using directive or an assembly reference?)
Error 2 The type or namespace name 'OAuth2' does not exist in the
namespace 'Google.Apis.Authentication' (are you missing an assembly
reference?)
Error 3 The type or namespace name 'OAuth2' does not exist in the
namespace 'Google.Apis.Authentication' (are you missing an assembly
reference?)
Error 4 The type or namespace name 'Services' does not exist in the
namespace 'Google.Apis' (are you missing an assembly reference?)
Error 5 The type or namespace name 'IAuthorizationState' could not be
found (are you missing a using directive or an assembly reference?)
Error 6 The type or namespace name 'NativeApplicationClient' could not
be found (are you missing a using directive or an assembly
reference?)
Can anyone help me?
Had similar build error when following the https://developers.google.com/drive/quickstart-cs
example in a MVC project. This example builds and executes fine in a Console application.
Found a different code example for OAuth 2.0 in a MVC application (section: Web applications (ASP.NET MVC))
https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth
or also
https://code.google.com/p/google-api-dotnet-client/source/browse/Drive.Sample/?repo=samples
DotNetOpenAuth.OAuth2 I find by nuget

Categories

Resources