I've cloned the official YamlDotNet git repository.
https://github.com/aaubry/YamlDotNet
However I'm unable to compile the solution
Failed in Visual Studio 2017
Failed using the build.ps1 script in the repo
I get the same error.
Predefined type 'System.Object' is not defined or imported
Predefined type 'System.Void' is not defined or imported
I've already tried...
doing a git clean -xfd, and recompiling to no avail
I've also tried only deleting the bin/ obj/ folders and attempt recompiling to no avail
Additional Details
I have a bunch of different .net framework's installed, including 4.5
I also have installed .net core SDK 2.2
Is anyone else getting this issue?
Related
I just installed Android Studio 3.1.4 on Windows 10, and upon creating an empty test project, and building it, I'm getting the error:
Cannot find JAR 'aws-java-sdk-kms-1.11.6.jar' required by module 'gradle-resources-s3' using classpath or distribution directory
It is referencing gradle 4.4 in my documents\.gradle folder. Anyone has any idea how to go about this problem?
This turned out to be a blockage for an internet security suite. The suite scans all incoming jar dependencies while they are extracted from the global gradle zip file. For some reason, a select few packages are flagged, and thus gradle syncing fails.
When installing the Nuget package for M2MQTT 4.3 to my Xamarin.iOS project, I get the following error:
Could not install package 'M2Mqtt 4.3.0'. You are trying to install
this package into a project that targets 'Xamarin.iOS,Version=v1.0',
but the package does not contain any assembly references or content
files that are compatible with that framework.
However, 4.2 works fine. I have seen this error pop up for some other packages too, and my Nuget is up to date. This error shows up when I try to install in VS2017 on Windows and also on Visual Studio for Mac.
Should it be possible to build the package myself from source, and if so, what do I need to change to make it compatible (assuming that the library doesn't actually use part of .NET that Xamarin.iOS doesn't support)?
The reason I need to update is that on 4.2 I get the following error when trying to create a MqttClient:
The type 'IPAddress' is defined in an assembly that is not referenced.
You must add a reference to assembly 'System, Version=3.9.0.0...'
and my hope is that this error will be resolved in the newest version.
I'm trying to test if cloudscribe is appropriate for a project I am starting and I'm having challenges getting a cloudscribe instance running.
I'm new to .NET Core 2 and not quite sure how to make it work.
I loaded the VSIX template into VisualStudio 2017, started a new project and got the initial configuration dialogs, but when the project is created, it's getting errors:
Severity Code Description Project File Line Suppression State
Error NU1102 Unable to find package cloudscribe.Core.IdentityServerIntegration with version (>= 2.0.0-preview20170927)
- Found 20 version(s) in nuget.org [ Nearest version: 2.0.0-preview20170828 ]
- Found 0 version(s) in Microsoft Visual Studio Offline Packages cloudscribe c:\My Documents\Visual Studio 2017\Projects\cloudscribe\cloudscribe\cloudscribe.csproj 1
I really would like a robust identity & authentication, so I though the IdentityServer 4(fork) option was the way to go.
If I don't select Identity Server (and using NoDB), the project launches, but the login of admin#admin / admin doesn't work...likely because the database isn't populated.
What am I missing?
There was a missing package on nuget that was causing that error. Sorry for the inconvenience. It should be fine now. To make usre you have the latest nuget packages, open a command window in the root of the solution and run the command:
dotnet restore --no-cache
After updating to VS 2015 Update 1 (including Typescript 1.7) and the Azure SDK 2.8, I am unable to package my Azure application for deployment because of an error in the path the packager is trying to copy the js output file to:
Error Unable to copy file "D:\X\XX\XXX\App\services\editor\ruler-manager.js" to "D:\X\XX\XXX\obj\Debug\PE.Web\D:\X\XX\XXX\App\services\editor\ruler-manager.js". The given path's format is not supported. PE.Architecture C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.8\Microsoft.WindowsAzure.targets 2787
Note that the directory has been included twice, causing an illegal colon in the middle of the output path.
It seems likely this is related to TFS Build error after installing Visual Studio 2015 Update 1 and https://social.msdn.microsoft.com/Forums/en-US/300a59bc-0f23-41a4-927a-05ae9978f3a4/unable-to-build-project-with-tyepscript-since-upgrading-to-vs-2015-update-1?forum=msbuild&prof=required and https://github.com/Microsoft/TypeScript/issues/5894
Update:
The following workaround has been suggested, but we were still unable to publish after implementing it:
We worked around it by manually adding ContinueOnError="WarnAndContinue" to the Copy task within the CopyWebRoleFiles target, within Microsoft.WindowsAzure.targets.
(Source: https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-162261090)
Does anyone have any workarounds or fixes other than the ones suggested in the linked threads?
This was a bug in the Typescript 1.7 tooling. Fixes have been released:
For VS 2015 (TS 1.7.6)
For VS 2013 (TS 1.7.5)
Details here: https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-163798025
I am trying to build TSVN using Visual Studio and have followed all the steps of the build.txt but I am getting the following errors:
*****ERRORS********* Error 50 fatal error LNK1181: cannot open input file '../../ext/Subversion\release_win32\libsvn_repos.lib' TortoiseProc TortoiseProc
Error 1 fatal error LNK1181: cannot open input file '../../ext/Subversion\release_win32\libsvn_wc-nonet.lib' SubWCRevCOM SubWCRevCOM
The error messages suggest that you don't have all the required libraries. A few variants as to how yo got here:
you either misstyped the path to the include folder (where the .lib files are) - try searching for the files that are not found and adjust the include paths
OR
you have to build the project(s) in a certain order to avoid getting this error messages. Build the projects that output libsvn_repos.lib and libsvn_wc-nonet.lib first. Check the dependencies for each project and build first the projects that do not have dependencies on the other projects in the sollution
I haven't built TSVN myself so these are just guesses. But why don't you just use the install kit and avoid all this trouble ?
TortoiseSVN is a GUI front-end for Subversion, and it uses Subversion libraries as the back-end. Thus, you must compile Subversion or obtain the compiled binaries for your version of Visual Studio before compiling TortoiseSVN. After that, modify the paths that point to Subversion libraries to reflect your setup.