Creating a .net 1.1 project using msbuild

The web project we are working on is built against the .net 1.1 framework. We would like to automate the build process for this project using msbuild. However, MSBuild only targets the environment 2.0. So, how can this be done if we want to use MSBuild or MSBEE (this asks us to convert the web project to a new version by opening in the Visual Studio IDE)? We cannot convert the project in accordance with the 2.0 framework

+3
source share
1 answer

You can use the Exec task to execute any command / executable from MS Build. Thus, in this case, you can use devenv.exe (i.e. VS 2003) or csc.exe (C # compiler from version 1.1). Using devenv would be a lot simpler as you could use one line syntax, for example devenv /build release [solution file name]. See here for the devenv command line link (VS 2003).

+2
source

Source: https://habr.com/ru/post/1778927/


All Articles