'Autodesk.Forge' package with Net 6.0 - autodesk-forge

When adding package 'Autodesk.Forge into my VSCode project I get the below error.
error: There are no versions available for the package 'Autodesk.Forge'.
I'm following this tutorial with .NET 6 & VSCode.
https://tutorials.autodesk.io/tutorials/hubs-browser/setup
using Autodesk.Forge;
The type or namespace name 'Autodesk' could not be found (are you missing a using directive or an assembly reference?)

Related

I try read files of directory on blob container use asp.net 4.6.1

Error CS0234 The type or namespace name 'Retry' does not exist in the namespace 'Microsoft.WindowsAzure.Storage.RetryPolicies' (are you missing an assembly reference?)

Why Is There Errors on forgeSample When I Copied And Pasted The Section As-Is?

On this page:
OAuthController.cs
I added the section of code from the page. However I get the following errors:
I removed the reference to my personal location and changed it to mine.
1>------ Build started: Project: forgeSample, Configuration: Debug Any
CPU ------
1>C:\Users\mine\source\repos\forgeSample\forgeSample\Controllers\forgeSampleController.cs(1,7,1,15):
error CS0246: The type or namespace name 'Autodesk' could not be found
(are you missing a using directive or an assembly reference?)
1>C:\Users\mine\source\repos\forgeSample\forgeSample\Controllers\OSSController.cs(1,7,1,15):
error CS0246: The type or namespace name 'Autodesk' could not be found
(are you missing a using directive or an assembly reference?)
1>C:\Users\mine\source\repos\forgeSample\forgeSample\Controllers\OSSController.cs(2,7,2,15):
error CS0246: The type or namespace name 'Autodesk' could not be found
(are you missing a using directive or an assembly reference?)
1>C:\Users\mine\source\repos\forgeSample\forgeSample\Controllers\forgeSampleController.cs(50,65,50,70):
error CS0246: The type or namespace name 'Scope' could not be found
(are you missing a using directive or an assembly reference?)
I was going along fine until this point.
Make sure you have installed the Autodesk.Forge Nuget Package as stated in the initial Create a server step, as it seems your IDE cannot find the Autodesk namespace.

Data does not exist in the namespace System

Can anyone throw any light on the following error importing System.Data:
/home/baloo/HellooCSharp/HellooCSharp/HellooCSharp.cs(14,14): Error CS0234: The type or namespace name `Data' does not exist in the namespace `System'. Are you missing `System.Data' assembly reference? (CS0234) (HellooCSharp)
Build command:
Building: HellooCSharp (Debug|x86)
Performing main compilation...
/usr/bin/mcs /noconfig "/r:/usr/lib/mono/4.5/mscorlib.dll" -nostdlib "/out:/home/baloo/HellooCSharp/HellooCSharp/bin/Debug/HellooCSharp.exe" "/r:/usr/lib/mono/4.5/System.dll" "/r:/usr/lib/mono/4.5/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG" /t:exe "/home/baloo/HellooCSharp/HellooCSharp/Properties/AssemblyInfo.cs" "/home/baloo/HellooCSharp/HellooCSharp/HellooCSharp.cs"
Compilation failed: 2 error(s), 0 warnings
The assembly ca be found in /usr/lib/mono/4.5, which has been duly configured in the build assembly folders preferences dialog. [Edit: mcs compiles the test code fine with this added to the command line.]
Fedora 23, mono-core and -data rpm version 4.0.5. [Edit: MonoDevelop Version 5.9.7 (build 9)]
Hint: Are you missing `System.Data' assembly reference?
You need to reference System.Data in order for it to be found/resolved.
Importing System does not import System.Data
To resolve this you just need to do edit edit references and check the system.Data.

Add date picker for WP8 in Cordova

I'm trying to call the native WP8 datepicker in a Cordova project.
Do I need a plugin for that?
The plugin should be only for WP8, for IOS and Android I want to use the native input.
I tried this one 'https://github.com/hypermurea/phonegap-wp8-datepicker-plugin' but it fails on compilation with the following error:
(Plugins\com.hypermurea.phonegap.wp8-datetimepicker-plugin\DateTimePickerTask.cs(83,17): error CS0246: The type or namespace name 'NavigationInTransition' could not be found (are you missing a using directive or an assembly reference?) [C:\Projectos\VS\NoesisWrapper\NoesisWrapper\bld\Debug\platforms\wp8\NoesisWrapper.csproj]
1>Plugins\com.hypermurea.phonegap.wp8-datetimepicker-plugin\DateTimePickerTask.cs(84,17): error CS0246: The type or namespace name 'NavigationOutTransition' could not be found (are you missing a using directive or an assembly reference?) [C:\Projectos\VS\NoesisWrapper\NoesisWrapper\bld\Debug\platforms\wp8\NoesisWrapper.csproj]
1>Plugins\com.hypermurea.phonegap.wp8-datetimepicker-plugin\DateTimePickerTask.cs(85,17): error CS0246: The type or namespace name 'IDateTimePickerPage' could not be found (are you missing a using directive or an assembly reference?) [C:\Projectos\VS\NoesisWrapper\NoesisWrapper\bld\Debug\platforms\wp8\NoesisWrapper.csproj])
I'm using VS2015 v14.0.22609.0, and added the WPToolkit to the project via NuGet.
You need to install windows phone toolkit. Please install it as mentioned in below link:
https://www.nuget.org/packages/WPtoolkit

owin Identity in visual studio 2013

var authenticationManager = HttpContext.Current.GetOwinContext().Authentication;
im using vs2013 and this line of code isnt working
it says
Error 1 'System.Security.Principal.IPrincipal' does not contain a definition for 'GetOwinContext' and no extension method 'GetOwinContext' accepting a first argument of type 'System.Security.Principal.IPrincipal' could be found (are you missing a using directive or an assembly reference?)
The AuthenticationManager class resolves to System.Net namespace
I just created an entire tutorial on adding this from Visual Studio 2012 at httpJunkie.com But yes, You need Microsoft.Owin.Host.SystemWeb and it can be found at NuGet.Org
https://www.nuget.org/packages/Microsoft.Owin.Host.SystemWeb/2.0.2
Or installed via package Manager Console:
PM> Install-Package Microsoft.Owin.Host.SystemWeb