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.

Building in Visual Studio

See original GitHub issue

From @terrajobst on Mar 26

On a clean machine, opening the solution file and building in VS fails as the Tools folder doesn’t exist. Just running init-tools.cmd doesn’t fix it either as it now fails with malformed AssemblyInfo.cs files. I’m still trying to get build working from the command line (where I get mostly actionable error messages, like Install CMake) this feels like the sort of thing that discourages contributors quickly. Ideally, you should be able to clone the repo, open the solution in VS, and building immediately. Thoughts?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:29 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
eerhardtcommented, Apr 8, 2019

Just a shot a in the dark - but can you try a folder without a space in it? We’ve had issues with having spaces in the repo path before:

C:\My Data.net sample code\MachineLearning\

try

C:\MyDataSampleCode\MachineLearning\

0reactions
eerhardtcommented, Apr 9, 2019

Is the space in repo path obstructing CMake?

Yeah, we probably have some build logic that isn’t quoting the path correctly. CMake does support spaces in the path name, if you do it right.

https://github.com/dotnet/machinelearning/pull/2925 is an example of fixing such a build logic error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build and clean projects and solutions in Visual Studio
To build, rebuild, or clean an entire solution · Choose Build or Build Solution, or press Ctrl+Shift+B, to compile only those project files...
Read more >
Compiling building - Visual Studio (Windows)
Overview of building from the IDE · Understand build configurations · Configure projects to target platforms · Manage project and solution ...
Read more >
Tutorial: Build an application - Visual Studio (Windows)
On the menu bar, choose Build > Build Solution, or press Ctrl+Shift+B. The Output window displays the results of the build. The build...
Read more >
Introduction to projects and solutions - Visual Studio
Open Visual Studio, and on the start window, select Create a new project. · On the Create a new project page, type blank...
Read more >
Build and run a C++ console app project
Build and run your code in Visual Studio ... To build your project, choose Build Solution from the Build menu. The Output window...
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