bootnext
bootnext copied to clipboard
How to build it from command line? (no appveyor)
I tried something like:
-
clone the repo
-
go to
bootnext-master -
launch this:
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" bootnext.slnor
"C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\MSBuild.exe" bootnext.slnand/or
/property:Configuration="Release|x64" -
but it always failed because I don't have the right version:
error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed.
But I already have many versions (more recent) of .NET framework (Developer pack) installed:

Is there a way to automate the install of the dependecies needed to build your project?
Something that can be done 100% from command-line? (I don't have the Visual Studio IDE, I don't use it).
Thanks again!
You need the specific targeting pack for the version you are building for. Alternatively, you can change the target framework version in the build configuration.
I'll try to build with the same tools than you.
Which ms visual studio build tools version did you use ? (2019 ? 2017 ? 2015 ?) And which NET framework version ?
Which command line command would you use:
msbuild.exe /...
Thanks again!
You need to pass msbuild the sln file IIRC.