官术网_书友最值得收藏!

  • Learn C# in 7 days
  • Gaurav Aroraa
  • 229字
  • 2021-07-08 09:51:23

Deep-dive into application using Visual Studio

In the previous section, you learned about various things that our console application can contain. In this section, lets deep-dive to get more insight on this using Visual Studio.

To get started, go to the project properties. Do this from the solution explorer (right-click on project and click on Properties) or from menus (Project | Day02 properties); you will get the project properties window, as shown in the following screenshot:

On the Application tab, we can set the Assembly name, the Default namespace, the Target framework, and the Output type (the output types are Console Application, Windows Application, Class Library).

The following screenshot is that of the Build tab:

From the Build tab, we can set Conditional compilation symbols, Platform target, and other available options.

Conditional compilations are nothing but pre-processors, which we will discuss on day six.

The following screenshot depicts the Package tab:

The Package tab helps us directly create NuGet packages. In the earlier version, we needed a lot of configuration settings to build a NuGet package. In the current version, we just need to provide the information on the Package tab, and Visual Studio will generate the NuGet package according to our options. The Debug tab, Signing, and Resources tabs are self-explanatory and provide us with a way to sign assemblies and support to embed resources in our program.

主站蜘蛛池模板: 璧山县| 隆尧县| 塘沽区| 葵青区| 陵水| 南安市| 嘉黎县| 南城县| 阿勒泰市| 乌兰察布市| 霍城县| 黔江区| 侯马市| 奉新县| 罗江县| 中超| 突泉县| 城口县| 稻城县| 西畴县| 门头沟区| 抚顺市| 类乌齐县| 阜新| 娱乐| 巴楚县| 汉中市| 兰州市| 新安县| 溆浦县| 团风县| 泉州市| 孟村| 富平县| 德化县| 泽普县| 龙泉市| 亳州市| 广河县| 望江县| 大方县|