Building in Visual Studio
See original GitHub issueFrom @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:
- Created 5 years ago
- Comments:29 (15 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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\
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.