UnityMars - ARKit BodyTracking - c#

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

Related

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.

.NET framework System.Windows.Form on non Windows OS

So, I MUST use C# for a uni course, just like I MUST use MSSQL Server, the big problem is that I'm running Ubuntu. I followed this guide, I mean it's from microsoft right? Can't get any of System.Windows.Form working, neither SqlDataAdapter and many more(like 99.65% of the libraries).
Anyone encountered this issue before? Or you just created a VM and waited a week for Visual to install?
This is what I get when I run dotnet run
Program.cs(4,22): error CS0234: The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) [/home/potra/Desktop/School/School/DBMS/Test/Test.csproj]
Program.cs(8,28): error CS0246: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) [/home/potra/Desktop/School/School/DBMS/Test/Test.csproj]
Program.cs(10,17): error CS0246: The type or namespace name 'DataGridView' could not be found (are you missing a using directive or an assembly reference?) [/home/potra/Desktop/School/School/DBMS/Test/Test.csproj]
Program.cs(11,17): error CS0246: The type or namespace name 'DataGridView' could not be found (are you missing a using directive or an assembly reference?) [/home/potra/Desktop/School/School/DBMS/Test/Test.csproj]
Program.cs(12,17): error CS0246: The type or namespace name 'SqlDataAdapter' could not be found (are you missing a using directive or an assembly reference?) [/home/potra/Desktop/School/School/DBMS/Test/Test.csproj]
The build failed. Please fix the build errors and run again.
The latest .NET Core, 2.1 Preview 2, does not include System.Windows.Forms.
If you'd like to use a native Ubuntu runtime, Mono supports WinForms and SqlClient.
For more information, the .NET documentation explains how .NET is implemented.

vuforia augmented reality with unity3d

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

SignedCms alternative in .NET Core

Does an alternative to System.Security.Cryptography.Pkcs.SignedCms class exist in .NET Core? Or do I have to dig into BouncyCastle, like they do in WinRT case? Is there an alternative of SignedCMS in WinRT?
FYI in case it helps. It seems that support for SignedCms and other essential .NET classes for S/MIME are available via this NUGET package:
System.Security.Cryptography.Pkcs
I.e. before I added this NUGET package to my Visual Studio 2017 (VS2017) .NET Core project, I received these compilation errors:
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'CmsRecipientCollection' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'X509IssuerSerial' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'EnvelopedCms' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'SignedCms' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'SignerInfoCollection' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'ContentInfo' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'CmsRecipient' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'RecipientInfo' could not be found (are you missing a using directive or an assembly reference?)
Error CS0103 The name 'SubjectIdentifierType' does not exist in the current context
Error CS0246 The type or namespace name 'SignerInfo' could not be found (are you missing a using directive or an assembly reference?)
Error CS1579 foreach statement cannot operate on variables of type 'SignerInfoCollection' because 'SignerInfoCollection' does not contain a public instance definition for 'GetEnumerator'
Error CS0246 The type or namespace name 'CmsSigner' could not be found (are you missing a using directive or an assembly reference?)
After I added the NUGET package, I could compile successfully.
No, there's no equivalent to SignedCms in .NET Core at this time.
You're quite welcome to create an issue on https://github.com/dotnet/corefx/issues to indicate that it's a type that you would like to be brought over.

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