Hi I am trying to implement Unit test cases in Unity for my project using testrunner. I have created the test folder for edit mode. In the test folder there is the assembly definition file.In the assembly definition file you have to give reference to where the scripts are created.
In the scripts folder I have created the assembly definition file by right-clicking in the scripts folder->Create->Assembly definition.But the moment I create this file,problems start arising like :
Assets\Scripts\ExplodeViewLabels.cs(4,7): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)
Assets\Scripts\LandingGear.cs(5,7): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)
Assets\Scripts\SceneController.cs(3,17): error CS0234: The type or namespace name 'MixedReality' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
and much more the screenshot I am attaching here
I tried overcoming the error by giving reference to the assembly definition file in the scripts as Unity.TextMeshPro and then click apply. The error for textMeshPro was done but other errors still persists like
Assets\Scripts\SceneController.cs(3,17): error CS0234: The type or namespace name 'MixedReality' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
and much more. I tried to give whatever reference I had with Microsoft.MixedReality, like the ones I have indicated in this screenshot. I addded all the three which I have indicated in the red box in the screenshot but there is no use.
Go to your SceneController.cs script and see which using statements you have. I think probably you're missing assembly definitions to the actual package(s) you're using in the script. Assembly definitions are kind of a pain to use and it's not enough to have SOME of the files included.
I'm working on an autocount project that should deploy in autocount 1.8 but when I try to build it I get the following errors:
The type or namespace name 'LicenseStatusArgs' could not be found (are you missing a using directive or an assembly reference?) in plugininit.cs
The type or namespace name 'AccountantColumnChangedEventArgs' does not exist in the namespace 'BCE.AutoCount.Option' (are you missing an assembly reference?) in options.cs
The type name 'FormShownEventArgs' does not exist in the type 'BCE.AutoCount.MainEntry.FormMain' in option.cs and mainformscript.cs
Is this because of a licensing issue? I apologize if this isn't the right place to put this kind of question.
I have created the default Xamarin project, works fine connected to a Mac -> build -> view in simulator on Mac, but when I try and run the Live Payer from Visual Studio I get the following errors:
\Services\MockDataStore.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\App.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Services\MockDataStore.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\ViewModels\AboutViewModel.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\ViewModels\BaseViewModel.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\ViewModels\ItemsViewModel.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\MainPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\MainPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\AboutPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\AboutPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemDetailPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemDetailPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemsPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemsPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\NewItemPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
And on and on it goes, these files are all in the Shared project.
Anyone have issue similar?
Thanks
Matt
If it's any consolation, I have exactly the same problem. Here's what I've done to try and resolve the issue, currently with partial success:
Deinstall/reinstall Visual Studio 2017 Community Preview
Deinstall/install Visual Studio Community - the current release
Created a new Windows 10 VM and installed Visual Studio Community 2017 current release
Based on action point #3, I don't believe the cause if anything specific to my installation however I'm then surprised that the issue is not more widespread.
UPDATE (18th Dec): I downloaded an existing example project (https://developer.xamarin.com/samples/mobile/LivePlayer/LiveView/) and had some success. The app now runs on my phone via Live Player however I now get a MONO debugger error, which I'm currently investigating.
as of now :
Custom Renderers are not supported.
Effects are not supported.
Custom Controls with Custom Bindable Properties are not supported.
Embedded resources are not supported (ie. embedding images or other resources in a PCL).
Third party MVVM frameworks are not supported (ie. Prism, Mvvm Cross, Mvvm Light, etc.)
https://learn.microsoft.com/en-us/xamarin/tools/live-player/limitations
Are other people having as much trouble with the Bot framework as I am?
I'm just trying to follow the steps in Debug an Azure Bot Service bot so that I can edit and run my code locally and then push it up to the cloud. After a long struggle, I run the 'debughost.cmd' file and I get told that it's not able to resolve 'Bot'!
the exact error is
D:\projects\PROJECT\messages\EchoDialog.csx(3,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
D:\projects\HelpfulCoa\messages\EchoDialog.csx(4,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
run.csx(9,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
run.csx(10,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
The code is just the Echo sample, and I'm doing my best to just follow the myriad of fragile steps in the docs.
Any else run into this? Is there a solution?
This is a known issue with the Function Bot service.
https://github.com/Azure/azure-functions-host/issues/992
azure functions with nuget packages that have different versions of the same dependency
You need to change the .net framework version to >=4.6. This error comes when the .net framework is 4.5. Microsoft.Bot.Builder version 3.8.0 works with it.
I have created unit test project in VS12 and installed package 'SeleniumBasicAuthWrapper' from NuGet.
When I add
using SeleniumBasicAuth;
and try to build project I get following error message:
Error 2 The type or namespace name 'SeleniumBasicAuth' could not be
found (are you missing a using directive or an assembly reference?)