I've created a new 'Blank Xaml App (Xamarin.Forms Shared)' app in Microsoft Visual Studio Enterprise 2015 version 14.0.25123.00 Update 2.
Immediately after creating the project, I was greeted with 217 errors.
Restarting Visual Studio removed most of those, but 35 still remain.
The first two errors are about Foundation and UIKit not being found. I believe these two might also cause the rest of the errors.
Does anyone have some ideas as to how to solve these?
Error CS0246 The type or namespace name 'Foundation' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 The type or namespace name 'UIKit' could not be found (are you missing a using directive or an assembly reference?)
If you are missing the reference to Xamarin.iOS, try re-adding it manually:
Under the Xamarin.iOS project, right click References > Add Reference...
In the references dialog, on the left hand side, click on Assemblies, then Framework. Search for Xamarin.iOS and select it to add the reference.
If the Xamarin.iOS assembly isn't listed, take a look under this path:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0
If the assembly is missing from that directory, try repairing the Xamarin installation - Windows Programs and Features > Xamarin > Repair.
Related
I am trying to debug a web app in VS Source Control. But, I am getting the error
The type or namespace name 'ceTe' could not be found (are you missing a using directive or an assembly reference?)
The referenced component 'ceTe.DynamicPDF.40' could not be found
On expanding the References folder in the Solution Explorer in Visual Studio, ceTe.DynamicPDF.40 is listed but marked with a yellow warning icon.
How do I fix this? I referred to this Refrenced Toolkit could not be found question but my problem is with the source control code. I do not have the related dll in my local repository of the project so I can't add it's reference.
Resolved this by copying over the respective dll file from the server.
We have a solution which has Wpf project that references caliburn.micro version 3.2.0. The solution builds fine locally with Visual Studio 2015. But the build server (TFS 2013 with MSBuild 14.0) is throwing exception that it cannot find the assembly.
AppBootstrapper.cs (4): The type or namespace name 'Caliburn' could
not be found (are you missing a using directive or an assembly
reference?)
ViewModels\EmcInventoryViewModel.cs (39): The type or namespace name
'IEventAggregator' could not be found (are you missing a using
directive or an assembly reference?)
Checked the build log file and got the following warning,
C:\Program Files
(x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets (1820):
Could not resolve this reference. Could not locate the assembly
"Caliburn.Micro, Version=3.0.3.0, Culture=neutral,
PublicKeyToken=8e5891231f2ed21f, processorArchitecture=MSIL". Check to
make sure the assembly exists on disk. If this reference is required
by your code, you may get compilation errors.
Tried different options like,
Updated to the latest version of Caliburn.Micro
Set the MsBuild Argument with /tv:14.0
No luck.
I can not run a project that built in another laptop with same version of visual studio.There is an error
"Error 4 The type or namespace name 'Ivi' could not be found (are you missing a using directive or an assembly reference?)"
How I add this to my laptop visual studio
error
Your compiler tells you, that you are missing some references. Most likely you are missing some assemblies.
Check under References if both assemblies are available. Do they have an yellow warning sign? If yes, visual studio can not resolve the path to the assembly or the assembly is just missing.
You have to provide some more details about your setup or configuration of the project to determine the situation.
Both Question and Solution included here.
When opening a Microsoft Windows Application MS VS2013 C# Professional in MS VS2015 C# Professional, the following error displayed:
Error CS0234 The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
In VS2015, under Solution Explorer, under References, for Microsoft.ReportViewer.Common and Assembly Microsoft.ReportViewer.WinForms, the paths were missing under their Properties. The paths are not editable.
To solve this problem, under References, delete Microsoft.ReportViewer.Common and Assembly Microsoft.ReportViewer.WinForms. Then re-add these references (found under Extensions). The paths were automatically entered, and the compiling errors disappeared.
The best way to include the Microsoft ReportViewer control in your project is to install it via the NuGet package manager. It should keep track of the references and their paths automatically.
I have a asp.net solution which consists of multiple class library whose dll' are been used in one web application.When I build and rebuild the class library I don't face any issue, later when I try to build and rebuild the solution few of my dll files gets deleted from bin.Tried adding reference path but in vein.
Warning : Could not resolve this reference. Could not locate the assembly "classlibrary2". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. classlibrary1
Error 10 The type or namespace name 'Classlibrary1' could not be found (are you missing a using directive or an assembly reference?)
Note:All projects are in same framework