question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.6-Beta5 (and other versions) incompat with old upgraded project

See original GitHub issue

( Moved from https://github.com/dotnet/cli/issues/4999 )

The error has moved a few line numbers but otherwise persists…

Path: C:\Users\mcmonkey\.vscode\extensions\ms-vscode.csharp-1.6.0-beta5\bin\omnisharp\OmniSharp.exe

[WARNING:OmniSharp#MSBuild] Failed to process project file 'c:\Github\FreneticDocs\FreneticDocs.csproj'.
c:\Github\FreneticDocs\FreneticDocs.csproj(1,1)
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at Microsoft.Build.Shared.FileUtilities.MakeRelative(String basePath, String path)
   at Microsoft.Build.Evaluation.Evaluator`4.ThrowForImportedProjectWithSearchPathsNotFound(ProjectImportPathMatch searchPathMatch, ProjectImportElement importElement)
   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.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.Evaluate()
   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.ProjectFile.ProjectFileInfo.Create(String projectFilePath, String solutionDirectory, ILogger logger, MSBuildOptions options, ICollection`1 diagnostics) in C:\Projects\omnisharp-roslyn\src\OmniSharp.MSBuild\ProjectFile\ProjectFileInfo.cs:line 108
   at OmniSharp.MSBuild.MSBuildProjectSystem.CreateProjectFileInfo(String projectFilePath) in C:\Projects\omnisharp-roslyn\src\OmniSharp.MSBuild\MSBuildProjectSystem.cs:line 282

For a bit of background, the project was started on a public release of .NET Core CLI (I believe 1.0.0 Preview 2-1), with a project.json file, then upgraded to .NET Core CLI 1.0.0 Preview 5 to .csproj via dotnet migrate.

It’s an ASP.NET MVC setup. the Csproj file is posted for the original issue at http://pastebin.com/VBxaXzwA

OS is a standard and regularly updated installation of Windows 10.

dotnet --info:

.NET Command Line Tools (1.0.0-preview5-004232)

Product Information:
 Version:            1.0.0-preview5-004232
 Commit SHA-1 hash:  355b6233cb

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.0-preview5-004232

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DustinCampbellcommented, Dec 17, 2016

I verified that my fix is properly in 1.6-beta6 this time.

0reactions
DustinCampbellcommented, Dec 17, 2016

Awesome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ChangesInOpenvpn1x - OpenVPN Community
Fixed bug in Windows version introduced in 1.6-rc1, where DHCP timeout would be set to 0 seconds if --ifconfig option was used and ......
Read more >
Malformed breadcrumb on taxonomy/term override pages
The taxonomy_breadcrumb module stopped working when I started using the taxonomy/term override. It seems to work only when you load the node. However,...
Read more >
android-openvpn/ChangeLog at master · pia-foss/android-openvpn ...
Fix windows build on older mingw versions. New approach to handle peer-id related changes to link-mtu. Print remote IPv4 address on a dual-stack...
Read more >
openvpn-announce Mailing List for OpenVPN (Page 5) - SourceForge
2004.02.01 -- Version 1.6-beta5 * Added Socks5 proxy support (Christof Meerwald). ... Fixed --tls-auth incompatibility with 1.4.x and earlier versions of ...
Read more >
OpenVPN: ChangeLog - Fossies
1760 Fix windows build on older mingw versions. 1761 New approach to handle peer-id related changes to link-mtu.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found