none
Help needed in Building RRS feed

  • Question

  • Hello,

    I would to build the asp.net core solution from command line. for the .net framework, i use the below code which is in .bat file

    @Echo OFF
    Echo "Building solution/project file using batch file"
    SET PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    SET SolutionPath=D:\Test\SampleTestBuild.sln
    Echo Start Time - %Time%
    MSbuild %SolutionPath% /p:Configuration=Debug /p:Platform="Any CPU"
    Echo End Time - %Time%
    Set /p Wait=Build Process Completed...

    i am using .net core 2.2

    Like this, i would need to create one for building/Compiling the .net core solution from command line. please share me the sample code. 


    loving dotnet

    Monday, April 6, 2020 2:55 PM

Answers

All replies