projects

Change order of files in solution explorer

邮差的信 提交于 2019-11-28 07:29:34
问题 In Visual Studio, how do you change the order of your source files? By default, it seems that they go in alphabetical order but I want to put them in a more logical order. 回答1: You can't change the order that the Solution Explorer displays your files. If you need a more logical grouping, consider using folders and namespaces. 来源: https://stackoverflow.com/questions/5826975/change-order-of-files-in-solution-explorer

How to compile the finished C# project and then run outside Visual Studio?

走远了吗. 提交于 2019-11-28 06:49:11
I just finished designing a simple code program. I called it a "Guessing Game". The program is so far working fine and I would like to open it without opening my Microsoft Visual Studio. How can I do that? The easiest way is: Find the dropdown box at the top of Visual Studio's window that says "Debug" Select "Release" Hit F6 to build it Switch back to Debug and then close Visual Studio Open Windows Explorer and navigate to your projects folder (My Documents\Visual Studio 200x\Projects\my_project) Now go to bin\Release\ and copy the executable from there to wherever you want to store it. Make

How to manage resources in an F# project?

二次信任 提交于 2019-11-28 02:48:49
问题 Can I use .resx files in F# 2.0 projects? If so, how do I go about adding, and then using these resources. Thanks in advance. 回答1: You can Add existing item a .resx file to an F# project, it should automatically get a BuildAction of EmbeddedResource and work. The VS tooling here isn't as good as the other languages yet, but MSBuild does all the heavy lifting, so it's just a matter of getting the right snippet of XML into the .fsproj file. 回答2: I'm using a .resx in an F# 2.0 project. Feel free

Structure for multiple JSF projects with shared code

空扰寡人 提交于 2019-11-25 22:48:41
问题 I have two JSF projects that share a lot of code - java classes, xhtml files, tag libraries, css and javascript files etc. My dev environment/platform consists mainly of Eclipse, Ant, Perforce and Tomcat. Has anyone found a way to create and organize the shared code so that the common code can stay within one set of folders? Eclipse makes it easy to add external folders for java sources, but falls short on the other file types. I\'d appreciate any ideas. 回答1: Create a new "Java Project" in