OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded: - c#

I started to develop Asp.net Core web API with the VS code. But when I typing the code Intellisense/Suggestions not working properly. I saw in some resource on the internet while they are typing using Microsoft.,
EntityFrameworkCore showing as a suggestion. But In my case, it's not showing. In the OmniSharp log showing following error to me.
Starting OmniSharp server at 4/5/2019, 3:37:16 PM
Target: c:\Dotnet Core\NgWebApi
OmniSharp server started.
Path: C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\OmniSharp.exe
PID: 13684
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 15.0 - "C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\msbuild\15.0\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to 'C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\msbuild\15.0\Bin\MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 15.0 - "C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\msbuild\15.0\Bin"
CscToolExe = csc.exe
CscToolPath = C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\msbuild\15.0\Bin\Roslyn
MSBuildExtensionsPath = C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\msbuild
MSBuildToolsPath = C:\Users\Acer\.vscode\extensions\ms-vscode.csharp-1.18.0\.omnisharp\1.32.11\msbuild\15.0\Bin
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'c:\Dotnet Core\NgWebApi'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
No solution files found in 'c:\Dotnet Core\NgWebApi'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Dotnet Core\NgWebApi\NgWebApi.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in 'c:\Dotnet Core\NgWebApi'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Dotnet Core\NgWebApi\NgWebApi.csproj
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location 'c:\Dotnet Core\NgWebApi' on host 17188.
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'c:\Dotnet Core\NgWebApi\NgWebApi.csproj'.
c:\Dotnet Core\NgWebApi\NgWebApi.csproj(1,1)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found. c:\Dotnet Core\NgWebApi\NgWebApi.csproj
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List`1& projects, Boolean throwOnFileNotExistsError)
at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(ILoggingService loggingService, BuildEventContext buildEventContext)
at Microsoft.Build.Evaluation.Project.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings)
at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings)
at Microsoft.Build.Evaluation.Project.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings)
at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary`2 globalProperties, String toolsVersion)
at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore(String filePath)
at OmniSharp.MSBuild.ProjectLoader.BuildProject(String filePath)
at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load(String filePath, ProjectLoader loader)
at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject(String projectFilePath, Func`1 loader)
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: c:\Dotnet Core\NgWebApi\NgWebApi.csproj
I re-installed the VS Code and C# , C# Extention to solve this problem, but it's still occurring. I think the reason was to not showing Intellisense/Suggestions the project is not properly loaded. Can anyone tell me how to avoid this error and how to solve Intellisense/Suggestions not showing the issue.

Solved (cross checked on Ubuntu 16.04 and CentOS 7):
In the VS Code menu, go into File / Preferences / Settings.
In the "Search settings" window, type omnisharp.path
Click on "Edit in settings.json" link.
Add (or edit) like this: "omnisharp.path": "latest"
(from: https://github.com/OmniSharp/omnisharp-vscode/issues/2965)

I solved this issue by doing the following on VSCode:
Go to settings. (Code -> Preferences -> Settings on Mac)
Search "omnisharp".
Find the section "Omnisharp: Use Global Mono," and set it to "always."
Find the section "Omnisharp: Path," and click "Edit in settings.json." Change "omnisharp.path" as "omnisharp.path": latest".
Reload the window.

I found another solution since none of the other solutions were working for me and i was searching for hours.(07/08/2021):
I got the same error with .NET, .NET Core or .NET Framework, here are some screenshots of the errors:
In the error output, it says to install the Developer Pack for this framework version. You can find the version in the .csproj file:
By installing the .NET Framework of this version on the dotnet microsoft site: .NET Framework download list
i fixed the error after reloading VSCode and got my Intellisense working for Unity.
TLDR:
My fix was too install .NET Framework version 4.7.1

To solve this I did several things. First of all, I downgrade OmniSharp version by installing their beta version. download the .vsix file for that release to my machine. Used the following steps to install the .vsix into Visual Studio Code.
Open Visual Studio Code and select View->Extensions from the menu to display the Extensions pane
By clicking the ... at the top-right corner of the Extensions pane and select "Install from VSIX..." on the menu.
Located the .vsix the file I downloaded and Opened it
Then restart vs code
But the problem still occurred, so then I downgraded the .Net core SDK v2.2.202 version to 2.1.202 and the problem is solved.
Updated: Had to face the same issue again after reinstalling VS Code, resolve by.
In the visual studio code menu, go into File > Preferences > Settings. or Press Ctrl+++,
In the Search Setting field, Type omnisharp.path
Click on Edit in settings.json.
in there Add / Edit like this,
{
"omnisharp.path": "latest"
}
If your settings.json already had entries in it, put a comma behind the last one and add the line like this:
{
"workbench.colorTheme": "Solarized Light",
"omnisharp.path": "latest"
}
Finally, save the settings.json
You'll see a prompt: "OmniSharp configuration has changed. Would you like to relaunch the OmniSharp server with your changes?" Click the "Restart OmniSharp" button to reload it.
In the Output window, you can see updates while the latest version downloads

I solved this by upgrading my Mono project version
https://www.mono-project.com/

For the recent version of Omnisharp just uncheck the useModernNet in VS code C# extension setting as shown in the screenshot.

Solved: Check if Visual Studio Build Packages is installed, if so uninstall it. As soon as uninstall VScode will work fine and intellisense feature will be back.
Good luck!

I was also facing the same issue. If none of the above solutions worked then you can try the one below.
While going through the logs, I realized the real problem:
"The SDK 'Microsoft.NET.Sdk' specified could not be found."
I installed latest stable Mono from here (6.8.0):
https://www.mono-project.com/download/stable/
Then opened ~bash_profile and exported framework path of mono:
export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current
Works fine for me. Hope it works for you too.

This started happening after the latest Windows10 update.
Re-installed .NET Core Runtime and everything's fine now.

If you are running on an older .NET project (<.NET 6), setting useModernNet to false will allow OmniSharp to target the right .NET framework version.
In settings.json:
"omnisharp.useModernNet": false
Alternatively, this can be done through VS Code's settings pane: File>Preferences>Settings and search for omnisharp.useModernNet and untick the checkbox for Omnisharp: Use Modern Net.

I've had both VSCode and Visual Studio installed on my mac. Uninstalling Visual Studio with this official guide solved the issue.

Another reason this might fail, is when you have Visual Studio 2019 16.7 or below installed, as OmniSharp reqiures MsBuild from 16.8.
Updating Visual Studio using the Visual Studio installer resolved that issue for me, while I was using a replacement machine, that lay dormant for a while now.

If you installed the SDKusing snap / ubuntu software.. that is what caused the same error for me. I answered my own similar question here

Actually the omnisharp path doesn't work for me. I'm on mac. What i did eventually is to download an early version of .net, not the latest 5.
https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-3.0.103-macos-x64-installer

In my case creating C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages folder solved the problem

In my particular case, I was able to solve the Attempted to update project that is not loaded: problem by running dotnet restore across my solution.
It seems I was missing my dependencies.

Related

An item with the same key has already been added MAUI C#

When I try to run my program in release mode, it give this error:
Severity Code Description Project File Line Suppression State
Error XAGJS7004 System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Xamarin.Android.Tasks.TypeMapGenerator.GenerateRelease(Boolean skipJniAddNativeMethodRegistrationAttributeScan, List`1 javaTypes, String outputDirectory, ApplicationConfigTaskState appConfState)
at Xamarin.Android.Tasks.GenerateJavaStubs.WriteTypeMappings(List`1 types, TypeDefinitionCache cache)
at Xamarin.Android.Tasks.GenerateJavaStubs.Run(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.GenerateJavaStubs.RunTask()
at Microsoft.Android.Build.Tasks.AndroidTask.Execute() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidTask.cs:line 17 MauiApp1 C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.440\tools\Xamarin.Android.Common.targets 1438
It is strange because in debug mode it works fine and I can't find any answer online.
Window snippet
There is fore sure some incompatibility between MAUI and .NET7, but you can set your project to use previous NET6 version following few steps:
Discover installed SDKs and keep note of the exact version 6
dotnet --info
SDKs list
Move to project folder and create a global.json file, it sets the NET SDK to be used. Be sure to set the installed SDK version:
dotnet new globaljson --sdk-version 6.0.301 --roll-forward disable
Restore workloads required by your project:
dotnet workload restore
Open project in Visual Studio, confirm to reload the project if requred.
Now your project will be built using NET6 SDK.
I solved it by uninstalling .net7, I found on Maui's github page people with the same problem and I think it will be fixed in the future.
It remains a shame Maui is not yet ready for .net7
Had the same problem, working on debug, this exception on release.
I solved it by: Clean Maui solution -> delete bin and obj -> Close Visual Studio -> Rebuild -> Working
Hope this helps if you didn't try

Unity3D on Ubuntu 19.10 with vscode and C# extension : get an error and the autocomplete doesn't working

I'm a web developer (symfony <3 ;) C# and microsoft technologies are new for me ! ) and during the covid containment I want create a simple game with the game engine unity
On Ubuntu 19.10, I downloaded unity Hub v2.3.0 (https://unity3d.com/get-unity/download)
From unity hub, I installed unity3D v2019.3.7f1 (the lastest stable) with some options (Linux & WebGL & windows build support)
And I created a simple 2D game
All works like a charm, I can open my project and run my new game without any error in the unity3D console
From Unity, when I create a c# script, the file can be opened by my (very simple) text editor gedit. Now I want to install the cross-os IDE visualcode thanks thats I'll get some usefull extensions and autocompletion code when I'll edit my unity scripts.
So, I installed vscode via apt install (I followed this official guide : https://code.visualstudio.com/docs/setup/linux)
My version of vscode is :
After some web search, I understand I must install the .NET framework (maybe I'm wrong ?)
My dotnet version (from a terminal : dotnet --version) is 3.1.201
Next I configured the unity parameter for change the default text editor :
External Script Editor : code
code refer to the path /usr/bin/code, the executable of vscode
External Script Editor Args : "$(ProjectPath)" -g "$(File)":$(Line):$(Column)
value by default, I changed nothing
I created a simple c# script from unity, I opened the file and vscode opened automatically (yeah !). And from vscode I added two public variables (the bool 'a' and the Rigidbody2D 'b')
I saved my script and go to unity app, the variables a and b are visible on the interface :
All works !
But now, I want have the autocomplete code from vscode. So, I installed the vscode c# extensions. But when the installation finished, this message appears :
The whole of log is :
Starting OmniSharp server at 4/2/2020, 8:10:51 PM
Target: /home/okli/UnityProjects/SampleGame/SampleGame.sln
OmniSharp server started.
Path: /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/run
PID: 15372
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on ubuntu 19.10 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 16.4 - "/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to '/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 16.4 - "/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin"
CscToolExe = csc.exe
MSBuildToolsPath = /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin
CscToolPath = /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Roslyn
BypassFrameworkInstallChecks = true
MSBuildExtensionsPath = /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/home/okli/UnityProjects/SampleGame'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in '/home/okli/UnityProjects/SampleGame/SampleGame.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/home/okli/UnityProjects/SampleGame/Assembly-CSharp.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/home/okli/UnityProjects/SampleGame'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/home/okli/UnityProjects/SampleGame' on host 14406.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /home/okli/UnityProjects/SampleGame/Assembly-CSharp.csproj
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.Timeline.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Animation.Runtime.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.PixelPerfect.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.VSCode.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.SpriteShape.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.TextMeshPro.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Path.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'UnityEngine.UI.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.Timeline.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Animation.Triangle.Runtime.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'PsdPlugin.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.CollabProxy.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.Rider.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.Mathematics.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Psdimporter.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.InternalAPIEngineBridge.001.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Sprite.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Common.Runtime.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Tilemap.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.SpriteShape.Runtime.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.PixelPerfect.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Animation.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.Mathematics.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.TextMeshPro.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.2D.Common.Editor.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'Unity.InternalAPIEditorBridge.001.csproj' does not exist.
[warn]: OmniSharp.MSBuild.ProjectLoader
The referenced project 'UnityEditor.UI.csproj' does not exist.
[fail]: OmniSharp.MSBuild.ProjectLoader
The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file '/home/okli/UnityProjects/SampleGame/Assembly-CSharp.csproj'.
/home/okli/UnityProjects/SampleGame/Assembly-CSharp.csproj
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.Timeline.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Animation.Runtime.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.PixelPerfect.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.VSCode.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.SpriteShape.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.TextMeshPro.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Path.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'UnityEngine.UI.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.Timeline.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Animation.Triangle.Runtime.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'PsdPlugin.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.CollabProxy.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.Rider.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.Mathematics.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Psdimporter.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.InternalAPIEngineBridge.001.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Sprite.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Common.Runtime.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Tilemap.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.SpriteShape.Runtime.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.PixelPerfect.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Animation.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.Mathematics.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.TextMeshPro.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.2D.Common.Editor.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'Unity.InternalAPIEditorBridge.001.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1870,5): Error: The referenced project 'UnityEditor.UI.csproj' does not exist.
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1193,5): Error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: /home/okli/UnityProjects/SampleGame/Assembly-CSharp.csproj
Something seems does not work... However, I can modify and save my c# script (add a new public var by example, the variable is added in the unity interface), but the autocomplete code does not work, when I type public Rigidbod and press ctrl + space there isn't any autocomplete help displayed.
I am unfamiliar with C# / vscode / microsoft technologies, I prefer ask here If I forget something and/or did something wrong before try (bads) solutions
Thanks for some help !
EDIT : I just notified this error on the unity3D interface
I'll do some search about this error...
EDIT after 0xBFE1A8 answer :
I created a new project 'plop'
In the UnityEditor, I changed the Visual Studio Code Editor version to 1.1.3 and click on 'Update 1.1.3' button
the error doesn't disappears, so I continued :
I modified the "com.unity.ide.vscode" to 1.1.3 in "Packages/manifest.json"
In the UnityEditor, the "Generate all .csproj files" checkbox is checked
And then, I click on 'Reimport All' in the menu Assets
After all of that, the autocomplete code in vsecode does not work but the error log is smaller :
Starting OmniSharp server at 4/5/2020, 6:56:52 PM
Target: /home/okli/UnityProjects/plop/plop.sln
OmniSharp server started.
Path: /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/run
PID: 30149
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on ubuntu 19.10 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 16.4 - "/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to '/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 16.4 - "/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin"
CscToolExe = csc.exe
MSBuildToolsPath = /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin
CscToolPath = /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Roslyn
BypassFrameworkInstallChecks = true
MSBuildExtensionsPath = /home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/home/okli/UnityProjects/plop'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in '/home/okli/UnityProjects/plop/plop.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/home/okli/UnityProjects/plop/Assembly-CSharp.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/home/okli/UnityProjects/plop'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/home/okli/UnityProjects/plop' on host 30017.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /home/okli/UnityProjects/plop/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file '/home/okli/UnityProjects/plop/Assembly-CSharp.csproj'.
/home/okli/UnityProjects/plop/Assembly-CSharp.csproj
/home/okli/.vscode/extensions/ms-dotnettools.csharp-1.21.16/.omnisharp/1.34.15/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1193,5): Error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: /home/okli/UnityProjects/plop/Assembly-CSharp.csproj
This warnings is a known Visual Studio Code Editor 1.1.4 bug.
According to this information, it's Omnisharp extension that is causing the error:
This issue is caused by an extension, please file it with the
repository (or contact) the extension has linked in its overview in VS
Code or the marketplace for VS Code. See also our issue reporting
guidelines.
Happy Coding!
For me, downgrading to version 1.1.3 of the package fixed the problems.
In UnityEditor go to: [Window]->[Package manager]->[Visual Studio Code Editor]->: Select 1.1.3 version and click to "Update 1.1.3" Button.
If the errors don't go away after that:
1) Changed "com.unity.ide.vscode": "1.1.3" in "Packages/manifest.json"
2) In UnityEditor go to: [Edit]->[Preferences]->[External Tools]: Set "Generate all .csproj files" CheckBox to true.
3) In UnityEditor go to:[Assets]->[Reimport All]
Some people say that, if you downgrade to 1.1.3 and right after upgrade to 1.2.0 errors should be fixed, but I haven't tried it.
so I found a fix that works for me. The omnisharp website (https://github.com/OmniSharp/omnisharp-vscode) said something about, on linux, you need to set Use Global Mono for Omnisharp to 'never'. The default is 'auto'
Instead, I was able to fix this error by setting Use Global Mono to 'always', and it seems to be working. I no longer get errors, and intellisense is working.
Also, fwiw, I already have mono and dotnet installed.
I had the same problem, but had no relation to the MonoVersion. Downgrading to 1.1.3 and Generating the csproj files did the job. I found it odd because this error is related to the 1.1.4 version and started to investigate further for 1.2.1 of the vscode extension. The problem was in the sln file and I found a simple solution.
In UnityEditor go to: [Edit]->[Preferences]->[External Tools]: Click on checkbox to Generate .csproj files for: Embedded packages, then on Regenerate project files button to solve the autocompletion issue.
It added some lines to the sln file, and autocomplete now works without needing to downgrade the extension.
Hope it helps!
If the vscode unity auto complete are not working, install an older version of the c# extensio, by clicking in the configuration button

Why is my MSbuild command path not reachable if I change my Azure DevOps agent?

A task of my Azure DevOps build fails to find my solution path when I change from "Hosted" Agent to "Hosted VS2017".
Does the folder organisation change from a agent to another ?
My C# solution used to run with .NET framework 4.6, and I reference now 4.7.1 version. That's why I need apparently to use "Hosted VS2017" agent instead of the default "Hosted" agent.
But a task that uses a gulpfile fails when trying to build my solution. I tried to execute the build with diagnostics, but I got no more informations than "The system cannot find the path specified." in my first MSbuild command.
---
[command]C:\npm\prefix\gulp.cmd CI-default --gulpfile D:\a\1\s\source\back-end\gulpfile.js
[‌15:41:53‌] Using gulpfile D:\a\1\s\source\back-end\gulpfile.js‌
[‌15:41:53‌] Starting 'CI-default'...‌
[‌15:41:53‌] Starting 'Publish-All-Projects'...‌
[‌15:41:53‌] Starting 'Build-Solution'...‌
[‌15:41:53‌] Using automatic maxcpucount‌
The system cannot find the path specified.
[‌15:41:53‌] { Error: Command failed: "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\a\1\s\source\back-end\******.sln" "/target:Build" /verbosity:minimal /toolsversion:14.0 /nologo /maxcpucount /property:Configuration="Release"‌
The system cannot find the path specified.
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:970:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
killed: false,
code: 1,
signal: null,
cmd:
'"C:\\Program Files (x86)\\MSBuild\\14.0\\Bin\\MSBuild.exe" "D:\\a\\1\\s\\source\\back-end\\ALE.sln" "/target:Build" /verbosity:minimal /toolsversion:14.0 /nologo /maxcpucount /property:Configuration="Release"' }
---
The build fails at this steps but should execute properly (it does actually when I do it with the default "Hosted" agent or on my local machine with Visual Studio)
Why is my MSbuild command path not reachable if I change my Azure DevOps agent?
That because the Visual Studio 2015 is installed by default on the "Hosted" Agent, and Hosted VS2017 with Visual Studio 2017 by default.
However, the path for the MSBuild 14.0 and 15.0 are different.
The default path for MSBuild 14.0 is C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe.
But the default pathfor the MSBuild 15.0, the path is C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe.
So to resolve this issue, you should change the MSBuild in your CMD scripts:
cmd:
'"C:\\Program Files (x86)\\MSBuild\\14.0\\Bin\\MSBuild.exe"
To
cmd:
C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\Bin\\MSBuild.exe
Hope this helps.

Unity gradle build failed

I can't build another APK in Unity. Always the same error.
CommandInvokationFailure: Gradle build failed.
C:/Program Files/Java/jdk1.8.0_171\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'gradleOut'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 27.0.1].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED in 1s
]
stdout[
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\m-pro\AppData\Local\Android\Sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Checking the license for package Android SDK Build-Tools 27.0.1 in C:\Users\m-pro\AppData\Local\Android\Sdk\licenses
Warning: License for package Android SDK Build-Tools 27.0.1 not accepted.
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error)
UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
My settings and things I've tried:
JDK version 1.8
SDK build tool version 25
I tried to copy "-dontwarn com.google.vr.ndk.base.DaydreamApi" into a proguard file (saw this type of a solution somewhere)
Swap from gradle build to internal build (as internal build a different error comes up)
Reinstall all and restart my computer :D
I had this same issue with my Unity builds after the build tools got an update, so you may just have to update them too.
as it says in the error message you need to accept the TOS using android studio
You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 27.0.1].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Install Android studio on your PC (if you havn't already)
run its SDK manager (configure > SDK manager > SDK tools)
If Android SDK build-tools says "Not installed", click the checkbox right next to it to install it.
if It says "Update available" click the checkbox with the "-" next to it so it shows a "✓"
hit apply, and accept the agreement.
That is what fixed it for me, hope this also works for you!
On OSX, I ran into this after upgrading from Unity 2020.3.24f1 to Unity 2020.3.38f1
What fixed it for me was getting the JDK and SDK paths from the Unity/Preferences/external tools, then in a terminal window:
export JAVA_HOME=<the JDK path Unity is using>
<SDK path Unity is using>/tools/bin/sdkmanager --licenses
for me this was:
export JAVA_HOME=/Applications/Unity/Hub/Editor/2020.3.38f1/PlaybackEngines/AndroidPlayer/OpenJDK
/Applications/Unity/Hub/Editor/2020.3.38f1//PlaybackEngines/AndroidPlayer/SDK/tools/bin/sdkmanager --licenses
This will then prompt to accept several licenses which appear under
/Applications/Unity/Hub/Editor/2020.3.38f1/PlaybackEngines/AndroidPlayer/SDK/licenses
Without the export JAVA_HOME to Unity's version, the sdkmanager --licenses would fail with a Java error.
After I figured this out on my own, I happened to notice the solution in Unity forums as well here: https://forum.unity.com/threads/gradle-build-faled.999773/

Unable to create a Package in Xamarin Studio 4.0.12

I have a code which is developed in Mono framework & I need to do some changes into it; I have made some & now I am trying to make a package so I can deploy it on Mac. But some how its giving me error & I am not able to create a package.
It gives error saying Solution could not be deployed: . An unspecified error occurred while running 'autogen.sh' (the error log is provided below)
ERROR LOG (Tool output):
Creating packages
Package: Tarball
Building Solution: WebDisk.Mono (Debug|x86)
Building: WebDisk.Mono (Debug|x86)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/3.2.1/bin/mcs /noconfig "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/mscorlib.dll" -nostdlib "/out:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/bin/Debug/WebDisk.Mono.exe" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/gtk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/glib-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/gdk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/glade-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/pango-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/atk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Drawing.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Drawing.Design.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Data.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Data.DataSetExtensions.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Web.Services.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Xml.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/Mono.Posix.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/Mono.Cairo.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Configuration.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Windows.Forms.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Client.BusinessLogic.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Client.ObjectModel.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Common.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Client.ServiceGateway.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/UpdateManager.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/ICSharpCode.SharpZipLib.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG" /main:WebDisk.MainClass /t:winexe "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/gui.stetic,gui.stetic" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/FileCheckOut.png,WebDisk.Mono.Assets.FileCheckOut.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/download.ico,WebDisk.Mono.Assets.download.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/ClientMessages.xml,WebDisk.Mono.ClientMessages.xml" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/Theme.config,WebDisk.Mono.DefaultTheme.Theme.config" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/AddNewFile.png,WebDisk.Mono.DefaultTheme.images.AddNewFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CancelCheckout.png,WebDisk.Mono.DefaultTheme.images.CancelCheckout.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckInFile.png,WebDisk.Mono.DefaultTheme.images.CheckInFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckOutFile.png,WebDisk.Mono.DefaultTheme.images.CheckOutFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckoutFileIcon.png,WebDisk.Mono.DefaultTheme.images.CheckoutFileIcon.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckoutList.png,WebDisk.Mono.DefaultTheme.images.CheckoutList.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DeleteFolder.png,WebDisk.Mono.DefaultTheme.images.DeleteFolder.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DeleteFolder1.png,WebDisk.Mono.DefaultTheme.images.DeleteFolder1.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DowloadFolder.png,WebDisk.Mono.DefaultTheme.images.DowloadFolder.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/download.ico,WebDisk.Mono.DefaultTheme.images.download.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DownloadFile.png,WebDisk.Mono.DefaultTheme.images.DownloadFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/EditFileIcon.png,WebDisk.Mono.DefaultTheme.images.EditFileIcon.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/FileCheckOut.png,WebDisk.Mono.DefaultTheme.images.FileCheckOut.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/FileIcon.png,WebDisk.Mono.DefaultTheme.images.FileIcon.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/FolderNormal.png,WebDisk.Mono.DefaultTheme.images.FolderNormal.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/NewFolderAdd.png,WebDisk.Mono.DefaultTheme.images.NewFolderAdd.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/permission.png,WebDisk.Mono.DefaultTheme.images.permission.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Property.png,WebDisk.Mono.DefaultTheme.images.Property.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Refresh.png,WebDisk.Mono.DefaultTheme.images.Refresh.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Rename.png,WebDisk.Mono.DefaultTheme.images.Rename.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/SelectedFolder.png,WebDisk.Mono.DefaultTheme.images.SelectedFolder.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Thumbs.db,WebDisk.Mono.DefaultTheme.images.Thumbs.db" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/View.png,WebDisk.Mono.DefaultTheme.images.View.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-connect.ico,WebDisk.Mono.DefaultTheme.images.webdisk-connect.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-connection.png,WebDisk.Mono.DefaultTheme.images.webdisk-connection.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-disconnect.ico,WebDisk.Mono.DefaultTheme.images.webdisk-disconnect.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-disconnection.png,WebDisk.Mono.DefaultTheme.images.webdisk-disconnection.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/App.icns,WebDisk.Mono.App.icns" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/CommonUtility.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/generated.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/MainWindow.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/MainWindow.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/AssemblyInfo.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/Menubar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/Toolbar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/MainClass.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/WebDiskEvents.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/MyCheckedOutFiles.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/OpenFile.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.OpenFile.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/ButtonData.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/User.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/OpenNewWebDisk.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.OpenNewWebDisk.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/ClientConfiguration.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.ClientConfiguration.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/FolderProperty.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/FolderInfo.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.FolderProperty.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/CustomViews.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/RenameDialog.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.RenameDialog.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/StatusBar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.StatusBar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.MyCheckedOutFiles.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/UploadDownload.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/UserListView.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.UserPermission.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/UserPermission.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/WebDiskStatusBar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/WebDiskTrayIcon.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/CheckinFile.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/OperationQueue.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/About.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.About.cs"
Compilation succeeded - 22 warning(s)
Build complete -- 0 errors, 22 warnings
Generating Autotools files for Solution WebDisk.Mono
Creating Makefile.am for Solution WebDisk.Mono
Creating Makefile.am for Project WebDisk.Mono
Creating autogen.sh
Creating configure.ac
Creating Makefile.include
Adding variables to top-level Makefile
Deploying Solution to Tarball
You must have autoconf installed to compile WebDisk.Mono.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/
You must have automake installed to compile WebDisk.Mono.
Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz
(or a newer version if it is available)
Autotools files were successfully generated.
Solution could not be deployed: . An unspecified error occurred while running 'autogen.sh'
Any solution regarding this will help a lot... Thanks
CONFIGURATIONS:
Xamarin Studio 4.0.12
Mono 3.2.1

Categories

Resources