Xamarin Live Player Errors - c#

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

Related

Autocount project won't build

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.

.NET Core Publish Compilation Errors

I have a .NET Core 2.2 project that builds in both Debug and Release configuration just fine. However, the build fails when I try and publish the project.
Startup.cs(26,16): Error CS0246: The type or namespace name 'IConfiguration' could not be found (are you missing a using directive or an assembly reference?)
Startup.cs(35,39): Error CS0246: The type or namespace name 'IServiceCollection' could not be found (are you missing a using directive or an assembly reference?)
Startup.cs(29,24): Error CS0246: The type or namespace name 'IConfiguration' could not be found (are you missing a using directive or an assembly reference?)
Controllers\ConsentController.cs(37,13): Error CS0246: The type or namespace name 'ILogger<>' could not be found (are you missing a using directive or an assembly reference?)
Controllers\ConsentController.cs(30,26): Error CS0246: The type or namespace name 'ILogger<>' could not be found (are you missing a using directive or an assembly reference?)
I've tried cleaning the solution. Anyone else seen similar behaviour?
Try this from terminal:
dotnet publish

Unity3D - error after migrate from Unity 2017.4.X to Unity 2019.2.2

I just migrate my old project from Unity 2017.4.30f to 2019.2.2
However, I got below errors :
Assets\Plugins\Easy Save 3\Scripts\Types\Unity Types\Component Types\ES3Type_EventSystem.cs(3,19): error CS0234: The type or namespace name 'EventSystems' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Assets\Plugins\UDP\UdpSupport\SampleScene\Scripts\GameManager.cs(2,19): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Assets\Plugins\UnityPurchasing\script\IAPButton.cs(9,30): error CS0246: The type or namespace name 'Button' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\UnityPurchasing\script\IAPButton.cs(46,16): error CS0246: The type or namespace name 'Text' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\UDP\UdpSupport\SampleScene\Scripts\GameManager.cs(15,13): error CS0246: The type or namespace name 'Dropdown' could not be found (are you missing a using directive or an assembly reference?)
I have tried to remove those component from package manager and reinstall it but still not solve the issue.
Any Idea ?
Thank You

When I published the web in vs2012," The type or namespace name 'xxx' could not be found

When I published the web in vs2012," The type or namespace name 'xxx' could not be found (are you missing a using directive or an assembly reference?)"
But when I generation solution, it's not wrong and it works.

TFS build - Getting error

I have configured tfs build definition for our project. And also i have added Nuget package to the solution.
When i tried to build the defination, i'm getting following error.
App_Start\BundleConfig.cs (7): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Global.asax.cs (10): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
App_Start\BundleConfig.cs (20): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
I don't know why i'm getting this error.
Could anyone please help me with this????
Check your Build definition -> Source Settings tab. You should add path to packages folder where referenced packages are stored.

Categories