简体   繁体   中英

How to compile a single project in a solution that has other projects?

I've had the errors shown in the picture and I suspect the first 2 are because it is trying to execute all projects but the last 2 I'm not sure (think it might be just cascade from the other 2)

I have 3 projects in my solution but I just want to compiple ParserTest... is there a way to compile only this project without changing the others to Class Library? (and even to change them to class library, is there an option to change it or do I have to create a new project and copy all files?)

在此处输入图片说明

Any hints/suggestions are appreciated, thanks!

You can change the "Output type" of your project.

Right click the project in the Solution Explorer and go to Properties.

Under the "Application" tab, there is an Output type option:

输出类型

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM