English 中文(简体)
根据目标(虚拟演播室)列入/排除档案
原标题:Include/exclude files depending on target (Visual Studio)

根据视觉演播室选定的目标,能否列入/排除某些来源档案? 如果可能的话,如何?

问题回答

在相关来源档案的开头,你可以这样做。 在每个建筑组合中增加一个独特的标识,并将来源档案总结如下:

#if _MY_IDENTIFER
...
#endif

如果你想采取更有力的方式,则通过使用

Yes it is possible. Right click on the file you want to exclude and select Properties. You can now set Action to None according to the target.





相关问题
How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Trouble with VS.PHP installing it s own Apache server

I tried installing VS.PHP some time ago. I was intent on seeing how it works with my current setup. I immediately encountered trouble: none of my sites wanted to render. On windows, I m using WAMP ...

Jquery and Intellisense in VS 2008 with hotfix and SP1

I followed Scott Guthrie s instructions as outlined at http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx but no avail: intellisense still doesn t work. Any tips?

Fixing "error C2065: undeclared identifier"

First off, I m completely out of my depth here. So the question might be the wrong one to ask, but here goes... As per the accepted answer to this question, I m trying to compile the bindings for the ...

View whitespace in VS2008

After Jeph most recent post: http://www.codinghorror.com/blog/archives/001310.html, I thought to myself it would be fun to see if any of my code has those trailing whitespaces. So I open Visual ...

热门标签