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.

Specifying Diff-Only on VB project cause failure

See original GitHub issue

If --Diff-Only is specified the Report can’t be saved because the directory Project.vbproj does not exist. It doesn’t exist because its the Project file not a directory.

This could be related to lack of examples that show how -p and -w are used or my lack of understanding what --diff-only does. Below is the command line I used that worked when I removed --Diff-Only. Without -m it can’t find MSBuild.

try-convert.exe -w "WordFinder\WordFinder.vbproj" -m "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64"

Thanks the tool worked very well and is much simpler then doing it manually.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cartermpcommented, Oct 7, 2019

This should do it: #93

0reactions
paul1956commented, Oct 7, 2019

Without MSBuild but with diff-only

C:\Users\PaulM\Desktop\FindWordApp1>try-convert.exe -w "WordFinder\WordFinder.vbproj" --diff-only
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\PaulM\Desktop\FindWordApp1\WordFinder\WordFinder.vbproj\report.txt'.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents)
   at MSBuild.Conversion.Project.Differ.GenerateReport(String reportFilePath) in C:\Users\PaulM\Source\Repos\try-convert\src\MSBuild.Conversion.Project\Differ.cs:line 115
   at MSBuild.Conversion.Program.Run(String project, String workspace, String msbuildPath, Boolean diffOnly, Boolean noBackup) in try-convert\src\try-convert\Program.cs:line 80
Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio 2015 project builds failed but no errors
Go to View menu -> Select Error List and check if you have any errors. Ideally you should get it in Error List....
Read more >
Troubleshoot .NET Framework targeting errors
To resolve the error, make sure that your application targets a .NET version that's compatible with the version that's targeted by the projects ......
Read more >
Why Projects Fail: 7 Reasons (and Their Solutions) [2023]
7 common causes of project failure (and their solutions) · 1. Unclear objectives · 2. Scope creep · 3. Unrealistic expectations · 4....
Read more >
Top 10 Reasons for Project Failure (And How to Prevent Them)
10 Common Causes of Why Projects Fail · Lack of preparation · Inadequate documentation and tracking · Poor leadership · Failure to define...
Read more >
Untitled
Define delves definition. Artisteer templates wordpress. Ron sompel. ... A project by yale alumni network. ... Diff only show differences side by side....
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